Node.js Permission Model file descriptor write bypass via fs.fchown/fs.fchmod
CVE-2024-36137 is a vulnerability in Node.js affecting the experimental Permission Model when filesystem write permissions are configured with the --allow-fs-write flag. The issue arises because the Permission Model does not enforce permissions on file descriptor-based operations. As a result, functions such as fs.fchown() and fs.fchmod() can operate on an already-open file descriptor, including one opened in read-only mode, to modify file ownership or file mode bits without the expected write-permission enforcement. This creates a gap between path-based permission checks and descriptor-based filesystem mutation APIs, allowing unauthorized metadata changes to files that should be protected by the Permission Model.
Are you exposed to this one?
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.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
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.