CVE-2024-36858Homebrew Jan
Critical 9.8 No auth needed
Follow: this CVE · Homebrew · Homebrew Jan We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.1% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jun 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Jan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @janhq/core |
≤ 0.1.11 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-qfjh-mvq6-c5p8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| homebrew | jan | 0.4.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory