Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to host or container
-
DeliveryIdentify BetaLocalFilesystemMemoryTool memory directory
-
ExploitRead world-readable memory files (all environments)
-
ExecutionOverwrite world-writable memory files (permissive-umask environments)
-
ImpactInfluence subsequent agent model behavior via injected state
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
|
| Exploitation Conditions | Exploitation requires that: (1) the application instantiates |
| Impact | The CVSS 4.0 base score of 4.8 (Medium) with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N accurately reflects a low-barrier local attack with bounded impact. The EPSS score of 0.01% (2nd percentile) is consistent with the absence of public exploit code and the SSVC assessment of exploitation: none, automatable: no, technical impact: partial - meaning this is not a commodity attack candidate. The real-world risk bifurcates sharply by deployment context: on a standard single-user host with umask 022, impact is confidentiality-only (agent state readable by co-resident local users); in Docker environments with permissive umasks, integrity impact is added because memory files become world-writable, allowing an attacker to inject false memories and influence subsequent agent decisions. The latter scenario - prompt-injection via filesystem - is the more serious threat model for AI-agent pipelines, though it requires local access within the container. No signals of active exploitation exist. The primary priority signal for patching is deployment environment, not CVSS score. |
| Exploit ScenarioDerived | A local attacker with shell access to a shared host or to the same Docker container where a Claude agent is running locates the memory directory created by |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Insecure default file permissions in the Anthropic TypeScript SDK's BetaLocalFilesystemMemoryTool expose persisted agent state to local read access and, in Docker deployments with permissive umasks, enable local users to overwrite memory files and manipulate subsequent model behavior. Affected versions span @anthropic-ai/sdk 0.79.0 through 0.91.0; a fix is available in 0.91.1. No public exploit exists and exploitation has not been observed (SSVC: none), with an EPSS score of 0.01% placing this in the 2nd percentile - risk is real but narrowly scoped to shared-host or containerized deployments.
RemediationAI
Update @anthropic-ai/sdk to version 0.91.1 or later, which applies explicit restrictive permission modes when creating memory files and directories. The fix can be applied via npm install @anthropic-ai/sdk@^0.91.1 or equivalent. The GitHub Security Advisory is at https://github.com/anthropics/anthropic-sdk-typescript/security/advisories/GHSA-p7fg-763f-g4gf. If an immediate upgrade is not possible, restrict access to the directory used by BetaLocalFilesystemMemoryTool by manually applying chmod 700 to the memory directory after creation - this removes world-read and world-write access but requires re-application whenever the directory is recreated. In Docker deployments, explicitly set umask 0027 or stricter in the container entrypoint to mitigate the world-writable directory condition; note this affects all file creation in the process, not only SDK memory. Do not rely on Docker network isolation alone, as the threat model involves intra-container local access.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The BetaLocalFilesystemMemoryTool is a beta component in the @anthropic-ai/sdk npm package (CPE: pkg:npm/@anthropic-ai_sdk) that provides Claude agents with persistent local filesystem memory. The tool called Node.js filesystem APIs without specifying explicit permission modes, causing created files to inherit the Node.js platform defaults - 0o666 for files and 0o777 for directories. CWE-732 (Incorrect Permission Assignment for Critical Resource) describes this class of flaw precisely: permissions are assigned without regard for the sensitivity of the resource. On systems with a standard umask of 0022, files resolve to 0o644 (world-readable); in Docker base images that commonly set umask 0000 (or similarly permissive values), files resolve to 0o666 and directories to 0o777, making agent memory both globally readable and writable by any process or user in the container. This is particularly significant in multi-tenant or shared-pid-namespace container environments.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Local vector and low privileges required to access filesystem; low C and I reflecting readable and (in permissive-umask environments) writable agent state; no availability impact.
Primary rating from Vendor (https://github.com/anthropics/anthropic-sdk-typescript).
CVSS VectorVendor: https://github.com/anthropics/anthropic-sdk-typescript
Lifecycle Timeline
3DescriptionCVE.org
The BetaLocalFilesystemMemoryTool in the Anthropic TypeScript SDK created memory files and directories using the Node.js default modes (0o666 for files, 0o777 for directories), leaving them world-readable on systems with a standard umask and world-writable in environments with a permissive umask such as many Docker base images. A local attacker on a shared host could read persisted agent state, and in containerized deployments could modify memory files to influence subsequent model behavior.
Users on the affected versions are advised to update to the latest version.
Claude SDK thanks lucasfutures for the report.
Blast Radius
ecosystem impact- 47 npm packages depend on @anthropic-ai/sdk (46 direct, 1 indirect)
Ecosystem-wide dependent count for version 0.79.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-27087
GHSA-p7fg-763f-g4gf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB