INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2026-41686

Claude SDK for TypeScript has Insecure Default File Permissions in Local Filesystem Memory Tool

CVE-2026-41686 ยท 2026-04-29 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Information exposure
Also involves
Sensitive Data Disclosure, Agent Context and Memory Poisoning
Affected
@anthropic-ai/sdk (npm)
CVSS
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
EPSS
0.1% chance of exploitation in 30 days

How it works, in short

The local filesystem memory tool creates agent memory files with permissive default modes, so other local users can read them and in containers may modify them. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.