Skip to main content
← All vulnerabilities
CVE-2026-25119GO-2026-5695GHSA-W6J9-VW59-27WV

Gogs: Authentication Bypass via Unvalidated Reverse Proxy Headers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.14.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.3

  • gogs.io/gogsGo

    All versions

  • gogs.io/gogsGo

    fixed in 0.14.3

References 4

GitHub · gogs/gogs