{"id":"CVE-2026-41686","published":"2026-05-04T18:41:40Z","modified":"2026-05-05T14:38:23Z","title":"Claude SDK for TypeScript has Insecure Default File Permissions in Local Filesystem Memory Tool","vendor":"anthropics","product":"anthropic-sdk-typescript","tier":"tail","description":{"text":"Claude SDK for TypeScript provides access to the Claude API from server-side TypeScript or JavaScript applications. From version 0.79.0 to before version 0.91.1, 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. This issue has been patched in version 0.91.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00119,"percentile":0.01826,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/anthropics/anthropic-sdk-typescript/security/advisories/GHSA-p7fg-763f-g4gf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":0.37},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"anthropic-sdk-typescript","versions":[">= 0.79.0, < 0.91.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T14:35:10.745726Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/sdk","vulnerableRanges":[">=0.79.0, <0.91.1"],"patched":["0.91.1"],"from":["GHSA-p7fg-763f-g4gf"],"provenance":"source"}],"summary":{"text":"The BetaLocalFilesystemMemoryTool in the anthropic-sdk-typescript package (Claude SDK for TypeScript) creates memory files and directories with Node.js default permissions (0o666 for files, 0o777 for directories) in versions from 0.79.0 before 0.91.1. A local user with access to the same host can read persisted agent state under a standard umask, and can modify it under permissive umasks such as those in many Docker base images, which can alter subsequent model behavior.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:19Z"},"euvd":{"id":"EUVD-2026-27087","exploited":false,"provenance":"source"}}