Vulnerabilities in pkg:npm/@anthropic-ai/sandbox-runtime

PACKAGE
Advisory Identifier: GHSA-9gqj-5w7c-vx47
Advisory Summary

CVE-2025-66479 is a LOW anthropic sandbox runtime incorrectly implemented vulnerability (CWE-693: Protection Mechanism Failure) affecting @anthropic ai/sandbox runtime libraries in the npm ecosystem. The issue involves anthropic sandbox runtime incorrectly implemented network sandboxing. Remediation is available by upgrading affected packages to version 0.0.16.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@anthropic-ai/sandbox-runtime

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@anthropic-ai/sandbox-runtime. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9gqj-5w7c-vx47 CVE-2025-66479 LOW Anthropic Sandbox Runtime Incorrectly Implemented Network Sandboxing

CVE-2025-66479 at a Glance

CVE Identifier CVE-2025-66479
GHSA Identifier GHSA-9gqj-5w7c-vx47
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-693: Protection Mechanism Failure
Affected Product @anthropic ai/sandbox runtime
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2025-66479

To remediate this vulnerability, upgrade all affected @anthropic ai/sandbox runtime dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@anthropic-ai/sandbox-runtime fixed: 0.0.16
npm install @anthropic-ai/sandbox-runtime@0.0.16
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @anthropic-ai/sandbox-runtime

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-66479, inspect your project dependencies using npm:

npm ls @anthropic-ai/sandbox-runtime

Analyze the terminal output to locate any version of @anthropic ai/sandbox runtime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.16), your application is affected.

Note: The npm ls @anthropic-ai/sandbox-runtime command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. In @anthropic ai/sandbox runtime, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Due to a bug in sandboxing logic, `sandbox-runtime` did not properly enforce a network sandbox if the sandbox policy did not configure any allowed domains. This could allow sandboxed code to make network requests outside of the sandbox. A patch for this was released in v0.0.16. Thank you to https://github.com/bendrucker for reporting this issue!

CVE-2025-66479 Affected @anthropic ai/sandbox runtime Versions

1 component(s)
Fixed Versions:
0.0.16
Product / Package Ecosystem Affected Versions Fixed Version
@anthropic-ai/sandbox-runtime
npm
< 0.0.16
0.0.16

References

Frequently Asked Questions

What is CVE-2025-66479?
CVE-2025-66479 is a security vulnerability in @anthropic ai/sandbox runtime involving Anthropic Sandbox Runtime Incorrectly Implemented Network Sandboxing under CWE-693: Protection Mechanism Failure.
Which @anthropic ai/sandbox runtime versions are affected?
Affected versions include releases prior to 0.0.16 across affected packages: @anthropic-ai/sandbox-runtime.
What version fixes CVE-2025-66479?
Upgrading to 0.0.16 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @anthropic-ai/sandbox-runtime affected?
Yes, @anthropic-ai/sandbox-runtime is affected in releases prior to 0.0.16. Upgrade your dependency to 0.0.16 or later.
What CWE is associated with CVE-2025-66479?
CVE-2025-66479 is classified under CWE-693: Protection Mechanism Failure (The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.).
How can I check npm dependencies for CVE-2025-66479?
Run the dependency tree command: 'npm ls @anthropic-ai/sandbox-runtime'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9gqj-5w7c-vx47",
  "modified" : "2025-12-04T22:50:11Z",
  "published" : "2025-12-04T16:55:06Z",
  "aliases" : [ "CVE-2025-66479" ],
  "summary" : "Anthropic Sandbox Runtime Incorrectly Implemented Network Sandboxing ",
  "details" : "Due to a bug in sandboxing logic, `sandbox-runtime` did not properly enforce a network sandbox if the sandbox policy did not configure any allowed domains. This could allow sandboxed code to make network requests outside of the sandbox. A patch for this was released in v0.0.16. \n\nThank you to https://github.com/bendrucker for reporting this issue!",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@anthropic-ai/sandbox-runtime"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.16"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/anthropic-experimental/sandbox-runtime/security/advisories/GHSA-9gqj-5w7c-vx47"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66479"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/anthropic-experimental/sandbox-runtime/commit/bea2930cc1db9c73a1b15acf6dc19c5261aec1f3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/anthropic-experimental/sandbox-runtime"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-693" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-04T16:55:06Z",
    "nvd_published_at" : "2025-12-04T21:16:09Z"
  }
}