1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-290.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| 1Panel-dev | 1Panel | before 2.0.14 | 2.0.14 | Patch available | CNA |
| — | github.com/1Panel-dev/1Panel (Go) | before 2.0.14 | 2.0.14 | Patch available | GHSA-7cqv-qcq2-r765 |
| — | github.com/1Panel-dev/1Panel/agent (Go) | before 0.0.0-20251201063338-94f7d78cc976 | 0.0.0-20251201063338-94f7d78cc976 | Patch available | GHSA-7cqv-qcq2-r765 |
- 1Panel Vendor1Panel-dev Affected before 2.0.14 Fixed in 2.0.14 Patch available CNA
- github.com/1Panel-dev/1Panel (Go) Vendor— Affected before 2.0.14 Fixed in 2.0.14 Patch available GHSA-7cqv-qcq2-r765
- github.com/1Panel-dev/1Panel/agent (Go) Vendor— Affected before 0.0.0-20251201063338-94f7d78cc976 Fixed in 0.0.0-20251201063338-94f7d78cc976 Patch available GHSA-7cqv-qcq2-r765
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:* | before 2.0.14 | Vulnerable | 1Panel-dev |
- cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:* Versions before 2.0.14 Vulnerable ·1Panel-dev
Remediation
- Fix · CNA 1Panel (1Panel-dev) Fixed in 2.0.14
- Fix · GHSA-7cqv-qcq2-r765 github.com/1Panel-dev/1Panel (Go) Fixed in 2.0.14 Advisory →
- Fix · GHSA-7cqv-qcq2-r765 github.com/1Panel-dev/1Panel/agent (Go) Fixed in 0.0.0-20251201063338-94f7d78cc976 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-66508
- 2026-10-03 Alias added: GHSA-7cqv-qcq2-r765
References
More 1Panel-dev 1panel vulnerabilities
- TI-2024-26801 a sqlinjection in 1Panel CVSS 3.1CRITICAL 9.8
- TI-2023-20859 1Panel arbitrary file write vulnerability exists in the background CVSS 3.1CRITICAL 9.8
- TI-2025-34229 1Panel Agent Bypasses Certificate Verification Leading to Arbitrary Command Execution CVSS 3.1CRITICAL 9.8
- TI-2024-02187 1Panel swap baseApi.UpdateDeviceSwap command injection CVSS 3.1CRITICAL 9.8
- TI-2025-35333 OS Command injection vulnerability in function OperateSSH in 1panel 2.0.8 allowing… CVSS 3.1HIGH 8.8
- TI-2023-19085 Command injection in firewall ip functionality in 1Panel CVSS 3.1HIGH 8.8
Sources
- CVE-2025-66508 · CVE Program
- CVE-2025-66508 · NVD
- FIRST EPSS
- GHSA-7cqv-qcq2-r765 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences