CVE-2026-25119
HIGH
7.7
CVSS 4.0
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.
Metadata
Severity & Metrics
7.7
HIGH CVSS 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
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| gogs | gogs | — | < 0.14.3 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-290 | cna | CWE-290: Authentication Bypass by Spoofing |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.7 | HIGH | 4.0 | cna | 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 |
References (4)
- https://github.com/gogs/gogs/security/advisories/GHSA-w6j9-vw59-27wv https://github.com/gogs/gogs/security/advisories/GHSA-w6j9-vw59-27wv
- https://github.com/gogs/gogs/pull/8264 https://github.com/gogs/gogs/pull/8264
- https://github.com/gogs/gogs/commit/0089c4c8e5b8d99eb6e5c8727f8f40d765f1f58a https://github.com/gogs/gogs/commit/0089c4c8e5b8d99eb6e5c8727f8f40d765f1f58a
- https://github.com/gogs/gogs/releases/tag/v0.14.3 https://github.com/gogs/gogs/releases/tag/v0.14.3