esm.sh versions 136 and earlier contain a path-traversal vulnerability in handling of the X-Zone-Id HTTP header. The header value is incorporated into a filesystem path without adequate canonicalization or enforcement that the resulting path remains beneath the intended storage directory. An attacker can use traversal sequences to cause writes outside the designated storage location. Version 136.1 fixes the flaw.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a proof-of-concept exploit for CVE-2025-59342, a path traversal vulnerability in esm.sh (esm-dev) version 136 and earlier. The exploit is implemented in C (exploit.c) and uses libcurl to send HTTP requests to the target's /transform endpoint. The vulnerability is triggered by injecting specially crafted path traversal payloads into the X-Zone-Id HTTP header, allowing the attacker to escape the intended storage directory and potentially write files elsewhere on the server. The exploit supports various options, including verbose mode, custom cookies, payload injection, and WAF bypass techniques. The README provides build and usage instructions, and the LICENSE is MIT. No hardcoded IPs or domains are present; the target is specified at runtime. The exploit is a standalone POC and not part of a larger framework.
11 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.