Skip to content

CVE-2026-25119 Gogs: Authentication Bypass via Unvalidated Reverse Proxy Headers

HighCVSS 7.7 EPSS 0.86%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
gogs.io/gogs(Go) < 0.14.3; <= 0.14.2; All versions 0.14.3 Partially fixed
gogs = < 0.14.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gogs.io/gogs(Go) < 0.14.3 0.14.3
gogs.io/gogs(Go) All versions No fix listed
gogs = < 0.14.3 No fix listed
gogs.io/gogs(Go) <= 0.14.2 No fix listed

References