CVE-2026-20896

Gitea Docker image trusts spoofable reverse-proxy headers by default

CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 2.76 % · percentile 86 ()
State
PUBLISHED
Published
Updated
Assigner
Gitea
NVD status
Deferred

Description

Gitea Docker image versions up to and including 1.26.2 use REVERSE_PROXY_TRUSTED_PROXIES=* by default, allowing any source IP to impersonate a user when reverse-proxy authentication headers such as X-WEBAUTH-USER are enabled.

Weaknesses (CWE)

  • CWE-284 — Improper Access Control

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitea
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 88ee5874-cf24-4952-aea0-31affedb7ff2 (Secondary)

Advisories

European references

Affected products

ProductVersions
Gitea · Gitea Open Source Git Serveraffected 0 ≤ 1.26.2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD