CVE Catalog

CVE-2025-66508

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

1Panel 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. This enables bypassing all IP-based access controls such as AllowIPs, API whitelists, and localhost-only checks.

Risk Assessment

An attacker can bypass IP-based security controls to access protected resources or APIs. This could lead to unauthorized access to the server management panel.

Recommendation

Upgrade 1Panel to version 2.0.14, which fixes this vulnerability. Additionally, configure TrustedProxies to trusted proxy addresses and do not rely solely on IP-based controls.

Other vulnerabilities in 1Panel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS