Advisory record · GHSA-w6j9-vw59-27wv

Gogs has an Authentication Bypass via Unvalidated Reverse Proxy Headers

CVSS 7.7 HighEPSS 0.0086 · 59th percentile

Published by the GitHub Advisory Database at 22 Jun 2026, 17:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gogs.io/gogsGo<0.14.30.14.3
Identifiers
GHSA-w6j9-vw59-27wv · CVE-2026-25119 · GO-2026-5695
Weakness (CWE)
CWE-290
Published
22 Jun 2026
Updated
21 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gogs versions before 0.14.3 are affected when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled. The application trusts the authentication header (default X-WEBAUTH-USER) from any client, so a remote attacker who can reach the Gogs service can forge it to impersonate any user, including administrators, or trigger automatic account creation. Upgrade to Gogs 0.14.3 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.7 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0086, the 59th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:05 UTC First seen by agentprime
  2. 31 Oct 2026, 15:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.