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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 83.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/1Panel-dev/1Panel2.0.14GHSA-7cqv-qcq2-r765
Gogithub.com/1Panel-dev/1Panel2.0.14+incompatibleGO-2025-4207
Gogithub.com/1Panel-dev/1Panel/agent0.0.0-20251201063338-94f7d78cc976GHSA-7cqv-qcq2-r765
Gogithub.com/1Panel-dev/1Panel/agent0.0.0-20251201063338-94f7d78cc976GO-2025-4207

Affected products (as reported)

VendorProductVersions
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

References