{"answers":{"affected":"6 open source packages ship an affected version, including github.com/1Panel-dev/1Panel and github.com/1Panel-dev/1Panel/agent. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-66508 in the wild and no public exploit code.","fix":"Upgrade github.com/1Panel-dev/1Panel to a fixed version for your release line: 2.0.14 or 2.0.14+incompatible.","what":"CVE-2025-66508 is a medium-severity authentication bypass vulnerability in 1Panel-dev 1Panel, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-66508 and fix it if it is affected.\n\nWhat it is: CVE-2025-66508 is a medium-severity authentication bypass vulnerability in 1Panel-dev 1Panel, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-66508 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/1Panel-dev/1Panel (Go): affected all versions; fixed in 2.0.14\n- github.com/1Panel-dev/1Panel (Go): affected all versions; fixed in 2.0.14\n- github.com/1Panel-dev/1Panel (Go): affected all versions; fixed in 2.0.14+incompatible\n- github.com/1Panel-dev/1Panel/agent (Go): affected all versions; fixed in 0.0.0-20251201063338-94f7d78cc976\n- github.com/1Panel-dev/1Panel/agent (Go): affected all versions; fixed in 0.0.0-20251201063338-94f7d78cc976\n- github.com/1Panel-dev/1Panel/agent (Go): affected all versions; fixed in 0.0.0-20251201063338-94f7d78cc976\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-66508/ (Markdown: https://insights.sbomify.com/CVE-2025-66508/index.md)","id":"CVE-2025-66508","markdown":"https://insights.sbomify.com/CVE-2025-66508/index.md","name":"CVE-2025-66508","record":{"aliases":["GHSA-7cqv-qcq2-r765","GO-2025-4207"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux server control panel","requires_auth":"none","summary":"Attackers can bypass IP-based access controls in 1Panel by spoofing the X-Forwarded-For header due to insecure proxy trust settings.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"1panel","vendor":"fit2cloud"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers","id":"CVE-2025-66508","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":6,"n_references":2,"next":{"headline":"LaraDashboard: 1-Click Pre-Auth RCE via Host Header + Module Installation Chain","id":"CVE-2025-66509"},"packages":[{"ecosystem":"Go","fixed":["2.0.14"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel","purl":null,"source":"GHSA-7cqv-qcq2-r765"},{"ecosystem":"Go","fixed":["2.0.14"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","source":"GHSA-7cqv-qcq2-r765"},{"ecosystem":"Go","fixed":["2.0.14+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","source":"GO-2025-4207"},{"ecosystem":"Go","fixed":["0.0.0-20251201063338-94f7d78cc976"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel/agent","purl":null,"source":"GHSA-7cqv-qcq2-r765"},{"ecosystem":"Go","fixed":["0.0.0-20251201063338-94f7d78cc976"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel/agent","purl":"pkg:golang/github.com/1Panel-dev/1Panel/agent","source":"GHSA-7cqv-qcq2-r765"},{"ecosystem":"Go","fixed":["0.0.0-20251201063338-94f7d78cc976"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel/agent","purl":"pkg:golang/github.com/1Panel-dev/1Panel/agent","source":"GO-2025-4207"}],"prev":{"headline":"1Panel – CAPTCHA Bypass via Client-Controlled Flag","id":"CVE-2025-66507"},"products":["1Panel"],"published":"2025-12-09","related":[{"cvss_score":10,"headline":"1Panel SQL injection","id":"CVE-2024-39911","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":9.8,"headline":"a sqlinjection in 1Panel","id":"CVE-2024-39907","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2025-56413","kev_date_added":null,"published":"2025-09-10"},{"cvss_score":8.1,"headline":"1Panel Agent Bypasses Certificate Verification Leading to Arbitrary Command Execution","id":"CVE-2025-54424","kev_date_added":null,"published":"2025-08-01"},{"cvss_score":7.5,"headline":"1Panel – CAPTCHA Bypass via Client-Controlled Flag","id":"CVE-2025-66507","kev_date_added":null,"published":"2025-12-09"},{"cvss_score":7.5,"headline":"1Panel O\u0026M management panel has a background arbitrary file reading vulnerability","id":"CVE-2023-39964","kev_date_added":null,"published":"2023-08-10"},{"cvss_score":7.5,"headline":"1Panel arbitrary file write vulnerability exists in the background","id":"CVE-2023-39966","kev_date_added":null,"published":"2023-08-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-09","vendors":["1Panel-dev"]},"summary":"Attackers can bypass IP-based access controls in 1Panel by spoofing the X-Forwarded-For header due to insecure proxy trust settings.","url":"https://insights.sbomify.com/CVE-2025-66508/"}