CVE-2024-36857
JavaScript vulnerability analysis and mitigation

Overview

Jan v0.4.12 contains an arbitrary file read vulnerability in the /v1/app/readFileSync interface. The vulnerability was disclosed on June 4, 2024, and affects the Jan application, which is an open-source alternative to ChatGPT that runs offline on computers (NVD, GitHub).

Technical details

The vulnerability exists due to insufficient parameter filtering in the /v1/app/readFileSync API interface. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating network accessibility, low attack complexity, no privileges required, and high confidentiality impact (NVD).

Impact

This vulnerability allows attackers to read and download arbitrary files from the affected system through the /v1/app/readFileSync interface. The high confidentiality impact rating indicates that the vulnerability can lead to the exposure of sensitive information stored on the system (NVD).

Mitigation and workarounds

Users should upgrade from version 0.4.12 to a patched version of the Jan application when available. In the meantime, it is recommended to restrict access to the affected API endpoints and monitor for any unauthorized access attempts (GitHub).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59145HIGH8.8
  • JavaScriptJavaScript
  • color-name
NoYesSep 15, 2025
CVE-2025-59331HIGH8.8
  • JavaScriptJavaScript
  • is-arrayish
NoYesSep 15, 2025
CVE-2025-59330HIGH8.8
  • JavaScriptJavaScript
  • error-ex
NoYesSep 15, 2025
CVE-2025-59162HIGH8.8
  • JavaScriptJavaScript
  • color-convert
NoYesSep 15, 2025
CVE-2025-9862MEDIUM6.1
  • JavaScriptJavaScript
  • ghost
NoYesSep 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management