Cyber Resilience

CVE-2024-36858

CriticalPublic PoC

Published: 04 June 2024

Published
04 June 2024
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.7359 98.8th percentile
Risk Priority 64 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-36858 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Homebrew Jan. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked in the top 1.2% 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 Mobile/Edge AI; in the Other ATLAS/OWASP Terms risk domain; MITRE ATLAS techniques in scope: AML.T0033.

Deeper analysis

CVE-2024-36858 is an arbitrary file upload vulnerability in the /v1/app/writeFileSync interface of Jan version 0.4.12. Classified under CWE-434, the flaw allows attackers to upload crafted files that result in arbitrary code execution and carries a CVSS 3.1 base score of 9.8 reflecting network-accessible attack vectors with no required authentication or user interaction.

Unauthenticated remote attackers can exploit the issue to upload and execute malicious files, achieving full control over confidentiality, integrity, and availability on the target system.

The listed references consist of GitHub repositories that document the Jan arbitrary file upload vulnerability but contain no advisory statements, patch details, or mitigation recommendations. The EPSS score is reported at a current and peak value of 0.7359 with no material change indicated.

EU & UK References

Vulnerability details

An arbitrary file upload vulnerability in the /v1/app/writeFileSync interface of Jan v0.4.12 allows attackers to execute arbitrary code via uploading a crafted file.

CWE(s)

AI Security AnalysisAI

AI Category
Mobile/Edge AI
Risk Domain
Other ATLAS/OWASP Terms
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Jan is an open-source desktop application for running AI models locally (edge AI inference), serving as an offline ChatGPT alternative. The vulnerability affects its local API interface, confirming it as an edge AI platform.

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Why these techniques?

Arbitrary file upload vulnerability in Jan application enables attackers to upload crafted files leading to arbitrary code execution, matching Exploitation for Client Execution.

MITRE ATLAS TechniquesAI

MITRE ATLAS techniques

AML.T0033

Affected Assets

homebrew
jan
0.4.12

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

References