Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/gogs/gogs/commit/0089c4c8e5b8d99eb6e5c8727f8f40d765f1f58a
- https://github.com/gogs/gogs/pull/8264
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-w6j9-vw59-27wv
- https://github.com/gogs/gogs/security/advisories/GHSA-w6j9-vw59-27wv
FAQ
What is CVE-2026-25119?
CVE-2026-25119 is a documented vulnerability. 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) direct...
How severe is CVE-2026-25119?
CVSS scoring is not yet available for CVE-2026-25119. Check NVD for updates.
Is there a patch for CVE-2026-25119?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.