CVE-2022-31267 in the critical feed json
Unescaped control characters in Gitblit
published 2022-05-21 4 y ago modified 2026-06-17 4 mo ago also GHSA-fh55-vwjc-69c7 , EUVD-2022-3782
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 17.5%
- EPSS 17.5% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\n\trole = "#admin"' value.
Patch / fix
- maven com.gitblit:gitblit 1.9.3
Exploit prediction
17.54% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gitblit/gitblit/issues/1410 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.gitblit:gitblit | <1.9.3 |
1.9.3 |
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
github.com
/gitblit/gitblit/commit/9b4afad6f4be212474809533ec2c280cce86501a
web
-
github.com
/gitblit/gitblit/issues/1410
web, exploit, issue-tracking, third-party-advisory
-
github.com
/gitblit/gitblit/releases/tag/v1.9.3
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31267
advisory
-
github.com
/gitblit/gitblit
web
Sources
- CVE List CVE-2022-31267
- GitHub Advisory GHSA-fh55-vwjc-69c7
- NVD CVE-2022-31267
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.