---
title: "CVE-2024-36858: Jan path traversal vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-36858/
description: "CVE-2024-36858 (@janhq/core (npm)): An arbitrary file upload vulnerability in the /v1/app/writeFileSync interface of Jan v0.4.12 allows attackers to execute…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-06-04
date_modified: 2025-02-13
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-36858"
kev: false
cvss: 9.8
epss: 0.03035
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-36858: Jan path traversal vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 3.0% , percentile 87: FIRST’s model estimates a 3.0% chance of exploitation activity in the next 30 days, higher than 87% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes @janhq/core (npm) <= 0.1.11, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `@janhq/core` <= 0.1.11 → fixed: none listed

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 3.03% probability of exploitation activity in the next 30 days; percentile 87.

## Sources

- [GitHub Advisory GHSA-qfjh-mvq6-c5p8](https://github.com/advisories/GHSA-qfjh-mvq6-c5p8)
- [CVE.org record CVE-2024-36858](https://www.cve.org/CVERecord?id=CVE-2024-36858)
- [NVD entry CVE-2024-36858](https://nvd.nist.gov/vuln/detail/CVE-2024-36858)
- [github.com](https://github.com/HackAllSec/CVEs/tree/main/Jan%20Arbitrary%20File%20Upload%20vulnerability)
- [github.com](https://github.com/janhq/jan/pull/3152)

---
Source page: https://erroneo.us/security/cve/CVE-2024-36858/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
