Live threats

All CVEs / Gitblit

CVE-2022-31267Gitblit

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
May 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-269
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitblit.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.gitblit:gitblit < 1.9.3 1.9.3 —

Per OSV / GitHub Advisories (GHSA-fh55-vwjc-69c7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gitblitgitblit1.9.2

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Third Party Advisory
  • github.com Release Notes Third Party Advisory