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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| homebrew jan | 0.4.12 | CVE List, NVD |
| @janhq/core (npm) | up to 0.1.11 | GitHub Advisory Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://github.com/HackAllSec/CVEs/tree/main/Jan%20Arbitrary%20File%20Upload%20vulnerability | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-36858 | advisory | |
| https://github.com/janhq/jan/pull/3152 | web | |
| https://github.com/janhq/jan | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-36858 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qfjh-mvq6-c5p8 changed 2024-07-17 | CC-BY-4.0 |
| NVD | CVE-2024-36858 changed 2026-06-17 | Public domain |