Vulnerability · Published Dec 9, 2025 · Assigned by GitHub_M
CVE-2025-665081Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers
Medium 6.5
In plain English
A medium-severity authentication bypass by spoofing in 1Panel from 1Panel-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/1Panel-dev/1Panel | 2.0.14 | GHSA-7cqv-qcq2-r765 |
| Go | github.com/1Panel-dev/1Panel | 2.0.14+incompatible | GO-2025-4207 |
| Go | github.com/1Panel-dev/1Panel/agent | 0.0.0-20251201063338-94f7d78cc976 | GHSA-7cqv-qcq2-r765 |
| Go | github.com/1Panel-dev/1Panel/agent | 0.0.0-20251201063338-94f7d78cc976 | GO-2025-4207 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 1Panel-dev | 1Panel | < 2.0.14 |
Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N