# CVE-2025-66508: 1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-12-08T17:56:57.000Z
- Modified: 2026-10-14T21:10:00.183Z
- Also known as: GHSA-7cqv-qcq2-r765, GO-2025-4207
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 1Panel-dev 1Panel: < 2.0.14
- github.com/1Panel-dev/1Panel (Go): before 2.0.14; before 2.0.14+incompatible
- github.com/1Panel-dev/1Panel/agent (Go): before 0.0.0-20251201063338-94f7d78cc976
- fit2cloud 1panel: before 2.0.14

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-7cqv-qcq2-r765> (advisory, vendor-advisory, web)
- <https://github.com/1Panel-dev/1Panel/commit/94f7d78cc9768ee244da33e09408017d1f68b5ed> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66508> (advisory)
- <https://github.com/1Panel-dev/1Panel> (package)

## Sources

- CVE List: [CVE-2025-66508](https://www.cve.org/CVERecord?id=CVE-2025-66508), CVE Terms of Use, modified 2025-12-09
- GitHub Advisory Database: [GHSA-7cqv-qcq2-r765](https://github.com/advisories/GHSA-7cqv-qcq2-r765), CC-BY-4.0, modified 2025-12-17
- Go Vulnerability Database: [GO-2025-4207](https://pkg.go.dev/vuln/GO-2025-4207), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-66508](https://nvd.nist.gov/vuln/detail/CVE-2025-66508), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-66508 · Whole record: https://cve.day/CVE-2025-66508.json · Rebuilt by cve.day 2026-11-25T22:59:08.536Z
