{"id":"CVE-2025-66508","state":"PUBLISHED","title":"1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers","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.","publishedAt":"2025-12-09T01:37:10.219Z","updatedAt":"2025-12-09T16:03:08.608Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["1Panel-dev 1Panel"],"affected":[{"vendor":"1Panel-dev","product":"1Panel","versions":[{"version":"< 2.0.14","status":"affected"}]}],"references":["https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-7cqv-qcq2-r765","https://github.com/1Panel-dev/1Panel/commit/94f7d78cc9768ee244da33e09408017d1f68b5ed"],"weaknesses":["CWE-290"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66508.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66508","state":"PUBLISHED","datePublished":"2025-12-09T01:37:10.219Z","dateUpdated":"2025-12-09T16:03:08.608Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-03T15:12:22.978Z"},"containers":{"cna":{"title":"1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers","descriptions":[{"lang":"en","value":"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":[{"vendor":"1Panel-dev","product":"1Panel","versions":[{"version":"< 2.0.14","status":"affected"}]}],"references":[{"url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-7cqv-qcq2-r765","name":"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","name":"https://github.com/1Panel-dev/1Panel/commit/94f7d78cc9768ee244da33e09408017d1f68b5ed","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-290","lang":"en","description":"CWE-290: Authentication Bypass by Spoofing","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-09T01:37:10.219Z"},"source":{"advisory":"GHSA-7cqv-qcq2-r765","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-09T14:17:08.188962Z","id":"CVE-2025-66508","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-09T16:03:08.608Z"}}]}}}