# CVE-2022-31268: Path traversal in Gitblit

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.4%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-21T20:35:09.000Z
- Modified: 2026-06-17T04:45:15.713Z
- Also known as: GHSA-2c65-rq62-fqhq
- Weaknesses: CWE-22
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.gitblit:gitblit (Maven): up to 1.9.3
- gitblit gitblit: 1.9.3

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/metaStor/Vuls/blob/main/gitblit/gitblit%20V1.9.3%20path%20traversal/gitblit%20V1.9.3%20path%20traversal.md> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31268> (advisory)
- <https://github.com/gitblit/gitblit> (package)

## Sources

- CVE List: [CVE-2022-31268](https://www.cve.org/CVERecord?id=CVE-2022-31268), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2c65-rq62-fqhq](https://github.com/advisories/GHSA-2c65-rq62-fqhq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-31268](https://nvd.nist.gov/vuln/detail/CVE-2022-31268), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31268 · Whole record: https://cve.day/CVE-2022-31268.json · Rebuilt by cve.day 2026-11-25T22:58:11.887Z
