{"id":"CVE-2026-25119","published":"2026-06-24T20:07:32Z","modified":"2026-06-25T17:12:31Z","title":"Gogs: Authentication Bypass via Unvalidated Reverse Proxy Headers","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled, Gogs accepts the configured authentication header (default: X-WEBAUTH-USER) directly from client requests without validating that the request originated from a trusted reverse proxy. Any remote attacker who can reach the Gogs service can forge this header to impersonate any user or trigger automatic account creation, completely bypassing authentication. This vulnerability is fixed in 0.14.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00863,"percentile":0.56142,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-w6j9-vw59-27wv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8264","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/0089c4c8e5b8d99eb6e5c8727f8f40d765f1f58a","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":11.23},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-25T17:12:08.716478Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.3","all versions"],"patched":["0.14.3"],"from":["GHSA-w6j9-vw59-27wv","GO-2026-5695"],"provenance":"source"}],"summary":{"text":"Gogs, the open source self-hosted Git service, fails to validate the authentication header (default X-WEBAUTH-USER) when reverse proxy authentication is enabled, so it trusts that header from any client rather than only from a trusted reverse proxy. An attacker with network access to the Gogs service and no credentials or user interaction required can forge that header to impersonate any user or trigger automatic account creation, bypassing authentication entirely; the flaw applies only when ENABLE_REVERSE_PROXY_AUTHENTICATION is turned on.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:37Z"},"euvd":{"id":"EUVD-2026-39063","exploited":false,"provenance":"source"}}