{"id":"CVE-2025-66508","published":"2025-12-09T01:37:10Z","modified":"2025-12-09T16:03:08Z","title":"1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers","vendor":"1Panel-dev","product":"1Panel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00271,"percentile":0.19789,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-7cqv-qcq2-r765","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/1Panel-dev/1Panel/commit/94f7d78cc9768ee244da33e09408017d1f68b5ed","tags":["x_refsource_MISC"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.96},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"1panel-dev","affectedVersions":[{"vendor":"1Panel-dev","product":"1Panel","versions":["< 2.0.14"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-09T14:17:08.188962Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/1Panel-dev/1Panel","vulnerableRanges":["<2.0.14","<2.0.14+incompatible"],"patched":["2.0.14","2.0.14+incompatible"],"from":["GHSA-7cqv-qcq2-r765","GO-2025-4207"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/1Panel-dev/1Panel/agent","vulnerableRanges":["<0.0.0-20251201063338-94f7d78cc976"],"patched":["0.0.0-20251201063338-94f7d78cc976"],"from":["GHSA-7cqv-qcq2-r765","GO-2025-4207"],"provenance":"source"}],"summary":{"text":"1Panel, an open-source web-based Linux server control panel, trusts all client-supplied X-Forwarded-For headers in versions 2.0.14 and below because Gin's default configuration treats every IP address as a trusted proxy, so IP-based access controls such as AllowIPs, API whitelists and localhost-only checks rely on a spoofable client IP. An unauthenticated remote attacker can bypass these IP-based protections by sending a crafted X-Forwarded-For header (for example, 127.0.0.1 or a whitelisted address), requiring no privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:08Z"},"euvd":{"id":"EUVD-2025-201792","exploited":false,"provenance":"source"}}