Skip to main content
VulnerabilityPublished Updated

CVE-2026-20896: Gitea Open Source Git Server · Improper Access Control

Affects Gitea Open Source Git ServerSource CVE Database V5

0
Compare

Not known to be exploited · public detection template (Nuclei) · CVSS 9.8 Critical.

Data as of 15 Nov 2026, 20:25 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.7% chance of exploitation in 30 days – higher than 86% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Jul 2026

  2. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
GiteaGitea Open Source Git ServerAffected
  • <=1.26.2
Fixed in–
GitHubgo-gitea/giteapkg:github/go-gitea/giteaOther threatsAffected
  • <=1.26.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, users should avoid enabling reverse-proxy authentication headers or restrict the REVERSE_PROXY_TRUSTED_PROXIES setting to trusted IP addresses only to prevent unauthorized user impersonation.

Description

Gitea Docker image versions up to and including 1.26.2 have a default configuration that trusts all source IPs for reverse-proxy authentication headers. This allows any source IP to impersonate a user when headers like X-WEBAUTH-USER are enabled, leading to a critical security vulnerability.

References

Community reviews

Loading reviews…