{"id":"CVE-2022-31268","aliases":["EUVD-2022-1958","GHSA-2c65-rq62-fqhq"],"status":"published","title":"Path traversal in Gitblit","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.10694,"percentile":0.95876,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2022-05-21T20:35:09Z","modified":"2026-10-28T02:30:50Z","exploits":[{"source":"nuclei","id":"CVE-2022-31268","title":"Gitblit 1.9.3 - Local File Inclusion","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31268.yaml"}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.gitblit:gitblit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.9.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.gitblit:gitblit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.9.3"}]}]}],"products":[{"vendor":"gitblit","product":"gitblit"}],"references":[{"url":"https://github.com/metaStor/Vuls/blob/main/gitblit/gitblit%20V1.9.3%20path%20traversal/gitblit%20V1.9.3%20path%20traversal.md","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31268","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2c65-rq62-fqhq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31268.json","tags":["advisory"]},{"url":"https://github.com/gitblit/gitblit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31268","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","status":"published","published":"2022-05-21T20:35:09Z","modified":"2024-08-03T07:11:39.893Z","updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-1958","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","status":"published","published":"2022-05-21T20:35:09Z","modified":"2024-08-03T07:11:39Z","updated_at":"2026-11-03T03:25:34.735493Z"}],"ghsa":[{"id":"GHSA-2c65-rq62-fqhq","title":"Path traversal in Gitblit","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","status":"published","published":"2022-05-22T00:00:32Z","modified":"2023-01-27T05:08:13Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:22.592333Z"}],"nvd":[{"id":"CVE-2022-31268","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","status":"published","published":"2022-05-21T21:15:52.057Z","modified":"2026-06-17T04:45:15.713Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:21.261605Z"}],"osv":[{"id":"GHSA-2c65-rq62-fqhq","title":"Path traversal in Gitblit","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","status":"published","published":"2022-05-22T00:00:32Z","modified":"2023-11-08T04:09:30.358794Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"CVE-2022-31268","description":"A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).","status":"published","published":"2022-05-21T20:35:09Z","modified":"2026-10-28T02:30:50.367270684Z","updated_at":"2026-11-02T15:44:25.516981Z"}]}}
