{"id":"CVE-2024-36858","aliases":["EUVD-2024-2143","GHSA-qfjh-mvq6-c5p8"],"status":"published","title":"Jan path traversal vulnerability","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.03035,"percentile":0.87612,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-434"],"published":"2024-06-04T18:26:06Z","modified":"2026-06-17T07:37:15Z","exploits":[{"source":"nuclei","id":"CVE-2024-36858","title":"Jan v0.4.12 - Arbitrary File Upload","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-36858.yaml"}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@janhq/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.11"}]}]},{"source":"osv","ecosystem":"npm","package":"@janhq/core","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.11"}]}]}],"products":[{"vendor":"homebrew","product":"jan"}],"references":[{"url":"https://github.com/HackAllSec/CVEs/tree/main/Jan%20Arbitrary%20File%20Upload%20vulnerability","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36858","tags":["advisory"]},{"url":"https://github.com/janhq/jan/pull/3152","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qfjh-mvq6-c5p8"},{"url":"https://github.com/janhq/jan","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-36858","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.","status":"published","published":"2024-06-04T18:26:06.014Z","modified":"2025-02-13T15:59:45.923Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:34:14.649724Z"}],"euvd":[{"id":"EUVD-2024-2143","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.","status":"published","published":"2024-06-04T18:26:06Z","modified":"2025-02-13T15:59:45Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:03:53.726571Z"}],"ghsa":[{"id":"GHSA-qfjh-mvq6-c5p8","title":"Jan path traversal vulnerability","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. @janhq/core has been deprecated in favor of janhq/jan, this vulnerability has been patched there in v0.5.2.","status":"published","published":"2024-06-04T21:32:20Z","modified":"2024-07-17T16:23:09Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:37:56.530214Z"}],"nvd":[{"id":"CVE-2024-36858","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.","status":"published","published":"2024-06-04T19:20:14.15Z","modified":"2026-06-17T07:37:15.4Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:10:03.465199Z"}],"osv":[{"id":"GHSA-qfjh-mvq6-c5p8","title":"Jan path traversal vulnerability","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. @janhq/core has been deprecated in favor of janhq/jan, this vulnerability has been patched there in v0.5.2.","status":"published","published":"2024-06-04T21:32:20Z","modified":"2024-07-17T16:23:05Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:54.40888Z"}]}}
