Code execution via inherited NODE_OPTIONS configuration
Published Nov 13, 2025 · Updated Nov 13, 2025
Code injection in Socket Firewall before 0.15.5 allows attackers to execute JavaScript through a crafted project configuration file. The sfw wrapper imports values from an untrusted .sfw.config file into its Node.js environment, allowing NODE_OPTIONS with --require to load attacker-controlled code before security controls start. Exploitation requires a developer to run an sfw command inside the attacker-controlled project, after which the code runs with that developer's access.
Summary
What happened
Code injection in Socket Firewall before 0.15.5 allows attackers to execute JavaScript through a crafted project configuration file. The sfw wrapper imports values from an untrusted .sfw.config file into its Node.js environment, allowing NODE_OPTIONS with --require to load attacker-controlled code before security controls start. Exploitation requires a developer to run an sfw command inside the attacker-controlled project, after which the code runs with that developer's access.
The record
- CVE
- CVE-2025-64726
- Published
- Nov 13, 2025
- Updated
- Nov 13, 2025
- Vendor
- Socket
- Product
- Socket Firewall
- Classifications
- CWE-15, CWE-427, T1204.002, T1059.007
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 13, 2025CVE publishedPublication date reported by the CVE source.
- Nov 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.15.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo