Every CVE Search/ Get API key

CVE-2022-31267

Unescaped control characters in Gitblit

9.8 CriticalFix available

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 '[email protected]\n\trole = "#admin"' value.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

17.5%Up 16.7 points since May 22, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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 '[email protected]\n\trole = "#admin"' value.

Record
CVE-2022-31267
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-269
Updated
2026-11-02
CVE List No score

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 '[email protected]\n\trole = "#admin"' value.

Record
CVE-2022-31267
Updated
2026-11-02
EUVDEUVD-2022-3782 No score

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 '[email protected]\n\trole = "#admin"' value.

Record
EUVD-2022-3782
Updated
2026-11-03
GitHub AdvisoriesGHSA-fh55-vwjc-69c7 9.8

Unescaped 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 '[email protected]\n\trole = "#admin"' value.

Record
GHSA-fh55-vwjc-69c7
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Updated
2026-11-02
OSVGHSA-fh55-vwjc-69c7 9.8

Unescaped 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 '[email protected]\n\trole = "#admin"' value.

Record
GHSA-fh55-vwjc-69c7
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Updated
2026-11-02
OSV No score

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 '[email protected]\n\trole = "#admin"' value.

Record
CVE-2022-31267
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.gitblit:gitblit
Maven
before 1.9.3
1.9.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-31267 is a critical vulnerability (CVSS 9.8) in Gitblit, published May 21, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.5%, the 97th percentile. Fixed in com.gitblit:gitblit 1.9.3.

References

MoveEnter Open