CVE-2024-36857
Published: 04 June 2024
Summary
CVE-2024-36857 is a high-severity Path Traversal: 'dir\..\..\filename' (CWE-31) vulnerability in Homebrew Jan. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 2.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
This vulnerability is AI-related — categorised as Enterprise AI Assistants; in the Privacy and Disclosure risk domain; MITRE ATLAS techniques in scope: Obtain Capabilities (AML.T0016), Exfiltration via AI Inference API (AML.T0024).
Deeper analysis
Jan v0.4.12 contains an arbitrary file read vulnerability in the /v1/app/readFileSync interface. The flaw is tracked as CVE-2024-36857 with a CVSS 3.1 base score of 7.5, reflecting network-accessible attack conditions that require no authentication or user interaction and result in high confidentiality impact without affecting integrity or availability. The affected component is the Jan application, which exposes this interface to external callers.
Unauthenticated remote attackers can invoke the readFileSync endpoint to retrieve the contents of arbitrary files on the underlying system. Successful exploitation grants direct access to sensitive data such as configuration files, credentials, or source code without any additional privileges.
Public references consist of GitHub repositories documenting the Jan arbitrary-file-read issue, but no vendor advisory, patch release, or mitigation guidance is provided in the available sources. The EPSS score has reached a peak of 0.5611 with a current value of 0.5147; no trajectory data from a low baseline is supplied.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-1932
Vulnerability details
Jan v0.4.12 was discovered to contain an arbitrary file read vulnerability via the /v1/app/readFileSync interface.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Enterprise AI Assistants
- Risk Domain
- Privacy and Disclosure
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Jan.ai is an open-source desktop AI assistant application that runs LLMs locally and offline as a ChatGPT alternative, fitting the Enterprise AI Assistants category as an AI chat platform with API interfaces.
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Arbitrary file read vulnerability via the /v1/app/readFileSync API enables exploitation of a public-facing application (T1190), collection of data from local system files (T1005), and theft of unsecured credentials stored in files (T1552.001).
MITRE ATLAS TechniquesAI
MITRE ATLAS techniques
Affected Assets
Mitigating Controls
No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.