CVE-2025-66508
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.
- CVSS 3.1
- 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 16% of CVEs (scores of 2026-10-25)
- CWE
- CWE-290
- Published
- Modified
- Record from
- the NVD, synced
Affected
- fit2cloud:1panel
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7cqv-qcq2-r765 | Go | github.com/1Panel-dev/1Panel | <2.0.14 | 2.0.14 |
| GHSA-7cqv-qcq2-r765 | Go | github.com/1Panel-dev/1Panel/agent | <0.0.0-20251201063338-94f7d78cc976 | 0.0.0-20251201063338-94f7d78cc976 |
| GO-2025-4207 | Go | github.com/1Panel-dev/1Panel | <2.0.14+incompatible | 2.0.14+incompatible |
| GO-2025-4207 | Go | github.com/1Panel-dev/1Panel/agent | <0.0.0-20251201063338-94f7d78cc976 | 0.0.0-20251201063338-94f7d78cc976 |