Loading advisory.
Loading advisory.
1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers
The server trusts all reverse-proxy headers by default, so any remote client can spoof X-Forwarded-For to bypass IP-based protections (AllowIPs, API IP whitelist, “localhost-only” checks). All IP-based access control becomes ineffective.
Published 2025-12-08 17:56 UTC · Modified 2026-03-03 04:57 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/1Panel-dev/1Panel | Go | < 2.0.14 < 2.0.14+incompatible | 2.0.14, 2.0.14+incompatible | go get github.com/1Panel-dev/1Panel@v2.0.14go get github.com/1Panel-dev/1Panel@v2.0.14+incompatible |
| github.com/1Panel-dev/1Panel/agent | Go | < 0.0.0-20251201063338-94f7d78cc976 | 0.0.0-20251201063338-94f7d78cc976 | go get github.com/1Panel-dev/1Panel/agent@v0.0.0-20251201063338-94f7d78cc976 |
The server trusts all reverse-proxy headers by default, so any remote client can spoof X-Forwarded-For to bypass IP-based protections (AllowIPs, API IP whitelist, “localhost-only” checks). All IP-based access control becomes ineffective.
Gin is created with defaults (gin.Default()), which sets TrustedProxies = 0.0.0.0/0 and uses X-Forwarded-For/X-Real-IP to compute ClientIP().
IP-based controls rely on ClientIP():
AllowIPs / BindDomain (core/middleware/ip_limit.go, core/utils/security/security.go).
API IP whitelist (core/middleware/api_auth.go).
"localhost-only" checks that depend on ClientIP().
Because no trusted-proxy range is enforced, any client can send X-Forwarded-For: 127.0.0.1 (or a whitelisted IP) and be treated as coming from that address.
All IP-based access control is rendered ineffective: remote clients can masquerade as localhost or any whitelisted IP, defeating AllowIPs, API IP whitelists, and “localhost-only” protections.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |