CVE-2025-66508
MEDIUM 6.5CVSS 3.11Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers
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.
- Published
- 9 Dec 2025
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-290
- Also known as
- GHSA-7cqv-qcq2-r765GO-2025-4207
- Sources
- NVDJSONOSV GHSA-7cqv-qcq2-r765JSONOSV GO-2025-4207JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fit2cloud | 1panelcpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:* |
< 2.0.14 | 2.0.14 |
| OSV | Go | github.com/1Panel-dev/1Panel | < 2.0.14 | 2.0.14 |
| OSV | Go | github.com/1Panel-dev/1Panel/agent | < 0.0.0-20251201063338-94f7d78cc976 | 0.0.0-20251201063338-94f7d78cc976 |
| OSV | Go | github.com/1Panel-dev/1Panel | < 2.0.14+incompatible | 2.0.14+incompatible |
References
- https://github.com/1Panel-dev/1Panel/commit/94f7d78cc9768ee244da33e09408017d1f68b5ed · Patch, WEB, FIX
- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-7cqv-qcq2-r765 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-66508 · ADVISORY
- https://github.com/1Panel-dev/1Panel · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Dec 2025)