CVE-2022-31267

CRITICAL

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 = "#ad...

Affects 1 product across 1 vendor.

CVSS 3.19.8
EPSS17.5%
Percentile97th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
CWE Weakness Definitions
CWE-269: Improper Privilege Management

Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.

Related Attack Patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation
via CWE-269
CAPEC-122 Privilege Abuse
via CWE-269
CAPEC-233 Privilege Escalation
via CWE-269

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

Gitblit 1.9.2 is vulnerable to privilege escalation through the Config User Service, where a control character can be inserted into a profile data field to assign administrative roles to unauthorized users.

BSID: BS-2022-GLOBAL-319315-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2022-31267?
Gitblit 1.9.2 is vulnerable to privilege escalation through the Config User Service, where a control character can be inserted into a profile data field to assign administrative roles to unauthorized users.
What is the CVSS score for CVE-2022-31267?
CVE-2022-31267 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 17.5%.
Is CVE-2022-31267 actively exploited?
No confirmed active exploitation of CVE-2022-31267 as of 2026-09-25.
How do I remediate CVE-2022-31267?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-31267?
CVE-2022-31267 affects Gitblit Gitblit.
Vulnerability Details
CVE IDCVE-2022-31267
BSIDBS-2022-GLOBAL-319315-C BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-05-21
Last Modified2026-06-17
ICS Relevance15%
Weakness (CWE)
SourceNVD
Official Description

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.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

An attacker can exploit this vulnerability by injecting a control character into the emailAddress field of a user profile, specifically using a newline and tab character to append 'role = "#admin"' to the profile data. This allows the attacker to gain administrative privileges.

Exploitation Likelihood: CRITICAL

Affected Products
VendorProductAffected Versions
Gitblit Gitblit 1.9.2
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 1608 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceHIGH
Enriched At2026-05-24
SHA-512 Audit Hash19dc4b86940a4fc5b44548854e2bf604c85601ffc29d25b60eefc53d26dafd7402a650528cf1ae88c3bac518205e936c9ae288f5170c39325c408fc97e7788ea
Related CVEs affecting Gitblit
CVE-2022-31268 7.5 A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website f... CVE-2025-50978 6.1 In Gitblit v1.7.1, a reflected cross-site scripting (XSS) vulnerability exist... CVE-2025-50977 6.1 A template injection vulnerability leading to reflected cross-site scripting ...
View all Gitblit CVEs →

Critical Severity - Know Your Exposure

A CVSS 9.8 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.

Create a free account →