# CVE-2025-64726: External Control of System or Configuration Setting and Uncontrolled Search Path Element in sfw

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-15, CWE-427
- **Published:** 2025-11-13T19:55:57.970Z
- **Modified:** 2026-10-18T20:10:00.110Z

## Who should check

- Anyone running SocketDev firewall-release \< 0.15.5

## 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.

## Affected and fixed versions

- SocketDev firewall-release: \< 0.15.5 (cvelist)

## Mitigation

- Upgrade firewall-release to 0.15.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-64726. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-64726.md
Affected: SocketDev firewall-release < 0.15.5
Fixed in: SocketDev firewall-release 0.15.5

Steps:
1. Search this machine and project for SocketDev firewall-release: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-64726 being exploited?

There is no confirmed exploitation: CVE-2025-64726 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-64726?

High: CVSS 7.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-64726?

SocketDev firewall-release \< 0.15.5.

### Is there a fix for CVE-2025-64726?

Yes. Fixed in SocketDev firewall-release 0.15.5. Upgrade firewall-release to 0.15.5 or later.

### How do I check if I'm affected by CVE-2025-64726?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/SocketDev/firewall-release/security/advisories/GHSA-6c5p-vqrh-h6fp>
- other: <https://bsky.app/profile/evilpacket.net/post/3m4iylwxtns2t>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-64726>

HTML: <https://flawdb.com/CVE-2025-64726> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-64726>
