CVE-2026-66005: Permissive List of Allowed Inputs in janhq jan
Jan through 0.8.4, fixed in commit 3e1c1e7, contains a CORS misconfiguration vulnerability in its local API server that allows network-adjacent attackers to bypass trusted host restrictions by exploiting the server's replacement of user-configured trusted hosts with a wildcard that reflects arbitrary origins with credentials. Attackers on the local network or using DNS rebinding can reach the unauthenticated OpenAI-compatible API to perform inference, enumerate models, invoke MCP tools, and read cross-origin responses.
AI Analysis
Technical Summary
CVE-2026-66005 describes a CORS misconfiguration vulnerability in the Jan local API server affecting versions up to 0.8.4. The server replaces user-configured trusted hosts with a wildcard that reflects arbitrary origins along with credentials, enabling network-adjacent attackers or those using DNS rebinding to bypass trusted host restrictions. This allows unauthorized access to the OpenAI-compatible API without authentication, enabling actions such as model enumeration, inference execution, invocation of MCP tools, and reading of cross-origin responses. The vulnerability is addressed in a fix committed as 3e1c1e7.
Potential Impact
An attacker on the local network or leveraging DNS rebinding can bypass trusted host restrictions and access the unauthenticated API. This can lead to unauthorized inference requests, model enumeration, execution of MCP tools, and exposure of cross-origin API responses. The vulnerability impacts confidentiality and integrity of the API interactions but does not require prior authentication or privileges.
Mitigation Recommendations
A fix is available in the commit identified as 3e1c1e7 that corrects the CORS misconfiguration. Users should upgrade to a version that includes this fix. Since the vendor advisory does not explicitly state the availability of an official patch version, verify the vendor repository or release notes for the fixed version. Until patched, restrict network access to the local API server to trusted hosts only and consider network-level controls to prevent DNS rebinding attacks.
CVE-2026-66005: Permissive List of Allowed Inputs in janhq jan
Description
Jan through 0.8.4, fixed in commit 3e1c1e7, contains a CORS misconfiguration vulnerability in its local API server that allows network-adjacent attackers to bypass trusted host restrictions by exploiting the server's replacement of user-configured trusted hosts with a wildcard that reflects arbitrary origins with credentials. Attackers on the local network or using DNS rebinding can reach the unauthenticated OpenAI-compatible API to perform inference, enumerate models, invoke MCP tools, and read cross-origin responses.
CVSS v4.0
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-66005 describes a CORS misconfiguration vulnerability in the Jan local API server affecting versions up to 0.8.4. The server replaces user-configured trusted hosts with a wildcard that reflects arbitrary origins along with credentials, enabling network-adjacent attackers or those using DNS rebinding to bypass trusted host restrictions. This allows unauthorized access to the OpenAI-compatible API without authentication, enabling actions such as model enumeration, inference execution, invocation of MCP tools, and reading of cross-origin responses. The vulnerability is addressed in a fix committed as 3e1c1e7.
Potential Impact
An attacker on the local network or leveraging DNS rebinding can bypass trusted host restrictions and access the unauthenticated API. This can lead to unauthorized inference requests, model enumeration, execution of MCP tools, and exposure of cross-origin API responses. The vulnerability impacts confidentiality and integrity of the API interactions but does not require prior authentication or privileges.
Mitigation Recommendations
A fix is available in the commit identified as 3e1c1e7 that corrects the CORS misconfiguration. Users should upgrade to a version that includes this fix. Since the vendor advisory does not explicitly state the availability of an official patch version, verify the vendor repository or release notes for the fixed version. Until patched, restrict network access to the local API server to trusted hosts only and consider network-level controls to prevent DNS rebinding attacks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-23T19:22:30.643Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a637ffa9c2644c7f8203e43
Added to database: 07/24/2026, 15:08:42 UTC
Last enriched: 07/24/2026, 15:22:49 UTC
Last updated: 07/24/2026, 18:44:57 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.