CVE-2022-31267
CRITICAL 9.8CVSS 3.1Unescaped control characters in Gitblit
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.
- Published
- 21 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-fh55-vwjc-69c7
- Sources
- NVDJSONOSV GHSA-fh55-vwjc-69c7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitblit | gitblitcpe:2.3:a:gitblit:gitblit:1.9.2:*:*:*:*:*:*:* |
= 1.9.2 | |
| OSV | Maven | com.gitblit:gitblit | < 1.9.3 | 1.9.3 |
References
- https://github.com/gitblit/gitblit/issues/1410 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/gitblit/gitblit/releases/tag/v1.9.3 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31267 · ADVISORY
- https://github.com/gitblit/gitblit/commit/9b4afad6f4be212474809533ec2c280cce86501a · WEB
- https://github.com/gitblit/gitblit · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 May 2022)