← back
CVE-2026-25119

Gogs: Authentication Bypass via Unvalidated Reverse Proxy Headers

CVSS 7.7 HIGHEPSS 0.9%CWE-290
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.
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
Affected products
gogs · gogs

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →