WaratekVRT Sign in

CVE-2022-31268 Gitblit

Affected softwareGitblit
Severity7.5 High CVSS 3.1 2 scores
WeaknessPath traversal (CWE-22)
Published21 May 2022
Updated17 Jun 2026

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

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 11% chance in 30 days A model's forecast, not a report of exploitation. Higher than 96% of all scored CVEs.
IndexArtifactStarsFirst seen
Nuclei Gitblit 1.9.3 - Local File Inclusion

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2022-31268

Apply the vendor's fix for Gitblit. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.gitblit:gitblit 0 none 1.9.3

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.gitblit gitblit generic ≤ 1.9.3
nvd gitblit gitblit generic 1.9.3

References

URLTags
https://github.com/gitblit/gitblit PACKAGE
https://github.com/metaStor/Vuls/blob/main/gitblit/gitblit%20V1.9.3%20path%20traversal/gitblit%20V1.9.3%20path%20traversal.md WEB

Timeline

Published2022-05-21By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.