Skip to main content
← All vulnerabilities
CVE-2025-66508GO-2025-4207GHSA-7CQV-QCQ2-R765

1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.14, 2.0.14+incompatible, 0.0.0-20251201063338-94f7d78cc976
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

1Panel is an open-source, web-based control panel for Linux server management. Versions 2.0.14 and below use Gin's default configuration which trusts all IP addresses as proxies (TrustedProxies = 0.0.0.0/0), allowing any client to spoof the X-Forwarded-For header. Since all IP-based access controls (AllowIPs, API whitelists, localhost-only checks) rely on ClientIP(), attackers can bypass these protections by simply sending X-Forwarded-For: 127.0.0.1 or any whitelisted IP. This renders all IP-based security controls ineffective. This issue is fixed in version 2.0.14.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • 1Panel-dev 1Panel

    fixed in 2.0.14

  • github.com/1Panel-dev/1PanelGo

    fixed in 2.0.14+incompatible

  • github.com/1Panel-dev/1Panel/agentGo

    fixed in 0.0.0-20251201063338-94f7d78cc976

  • github.com/1Panel-dev/1PanelGo

    fixed in 2.0.14

References 2

GitHub · 1Panel-dev/1Panel