What’s Vulnerable › Vulnerabilities
CVE-2025-66508: 1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-09 · updated 2026-10-14
- Weakness: CWE-290
Description
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.
Affected products
- 1Panel-dev 1Panel: before 2.0.14 — fixed in 2.0.14
How to fix
Upgrade to a fixed version: 1Panel-dev 1Panel 2.0.14. Check the vendor advisory for mitigations.
References
- https://github.com/1Panel-dev/1Panel/commit/94f7d78cc9768ee244da33e09408017d1f68b5ed
- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-7cqv-qcq2-r765
Get alerted when CVE-2025-66508 or the next vulnerability affects your stack