CVE-2025-64726: SocketDev firewall-release · External Control of System or Configuration Setting
Affects SocketDev firewall-releaseSource CVE Database V5
Not known to be exploited · CVSS 7.3 High : upgrade to 0.15.5 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.15.5
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade socketdev/firewall-release to 0.15.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsocketdev/firewall-releasepkg:github/socketdev/firewall-releaseOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade all Socket Firewall installations to version 0.15.5 or later immediately to apply the patch that isolates configuration values from subprocess environments. 2. For users who manually installed the binary and cannot upgrade immediately, strictly avoid running Socket Firewall commands in untrusted or unknown project directories. 3. Implement a policy to inspect .sfw.config and .env.local files in all project directories before running Socket Firewall commands, specifically looking for suspicious NODE_OPTIONS or environment variable definitions that could load local malicious scripts. 4. Prefer global installation of Socket Firewall via npm (e.g., npm install -g sfw) to benefit from automatic updates and wrapper protections. 5. Educate developers about the risks of running commands in untrusted directories and encourage use of isolated or sandboxed environments for untrusted projects. 6. Integrate file integrity monitoring on configuration files within development environments to detect unauthorized changes. 7. Employ endpoint detection and response (EDR) solutions to monitor for suspicious Node.js process behaviors indicative of exploitation attempts. 8. Review and tighten access controls on developer workstations to limit the ability of attackers to place malicious configuration files. 9. Incorporate this vulnerability into supply chain risk assessments and incident response plans to ensure rapid detection and remediation if exploited.
Description
Socket Firewall is an HTTP/HTTPS proxy server that intercepts package manager requests and enforces security policies by blocking dangerous packages. Socket Firewall binary versions (separate from installers) prior to 0.15.5 are vulnerable to arbitrary code execution when run in untrusted project directories. The vulnerability allows an attacker to execute arbitrary code by placing a malicious `.sfw.config` file in a project directory. When a developer runs Socket Firewall commands (e.g., `sfw npm install`) in that directory, the tool loads the `.sfw.config` file and populates environment variables directly into the Node.js process. An attacker can exploit this by setting `NODE_OPTIONS` with a `--require` directive to execute malicious JavaScript code before Socket Firewall's security controls are initialized, effectively bypassing the tool's malicious package detection. The attack vector is indirect and requires a developer to install dependencies for an untrusted project and execute a command within the context of the untrusted project. The vulnerability has been patched in Socket Firewall version 0.15.5. Users should upgrade to version 0.15.5 or later. The fix isolates configuration file values from subprocess environments. Look at `sfw --version` for version information. If users rely on the recommended installation mechanism (e.g.global installation via `npm install -g sfw`) then no workaround is necessary. This wrapper package automatically ensures that users are running the latest version of Socket Firewall. Users who have manually installed the binary and cannot immediately upgrade should avoid running Socket Firewall in untrusted project directories. Before running Socket Firewall in any new project, inspect `.sfw.config` and `.env.local` files for suspicious `NODE_OPTIONS` or other environment variable definitions that reference local files.