CVE-2024-36858
JSON

9.8critical

Jan path traversal vulnerability

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
3.03% (higher than 87% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-qfjh-mvq6-c5p8

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
homebrew jan0.4.12CVE List, NVD
@janhq/core (npm)up to 0.1.11GitHub Advisory Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-434

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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. @janhq/core has been deprecated in favor of janhq/jan, this vulnerability has been patched there in v0.5.2.

NVD (es)

Una vulnerabilidad de carga de archivos arbitrarios en la interfaz /v1/app/writeFileSync de Jan v0.4.12 permite a los atacantes ejecutar código arbitrario cargando un archivo manipulado.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36858 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-qfjh-mvq6-c5p8 changed 2024-07-17CC-BY-4.0
NVDCVE-2024-36858 changed 2026-06-17Public domain