Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter.
http://www.openwall.com/lists/oss-security/2013/05/27/3
http://secunia.com/advisories/54186
http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html
http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html
http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html
http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6