CVE-2024-36858 Jan path traversal vulnerability

Critical 9.8 Published Updated

Attackers can execute arbitrary code by uploading crafted files via the writeFileSync interface in the Jan desktop application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-36858?

CVE-2024-36858 is a critical vulnerability in n/a, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-434

Which versions are affected by CVE-2024-36858?

2 open source packages ship an affected version, including @janhq/core. It affects 1 product.

PackageAffectedFixed in
@janhq/core npmAll versions to 0.1.11None
@janhq/core npmAll versions to 0.1.11None

Products include Homebrew Jan.

How do I fix CVE-2024-36858?

No fix has been published for CVE-2024-36858 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-36858 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36858 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-qfjh-mvq6-c5p8.

Is CVE-2024-36858 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free