# CVE-2026-41686: Claude SDK for TypeScript has Insecure Default File Permissions in Local Filesystem Memory Tool

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-29T22:28:12.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-p7fg-763f-g4gf
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- anthropics anthropic-sdk-typescript: >= 0.79.0, < 0.91.1
- @anthropic-ai/sdk (npm): from 0.79.0 before 0.91.1
- anthropic claude_sdk_for_typescript: from 0.79.0 before 0.91.1

## Every score

- GitHub_M: CVSS:4.0 4.8 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/anthropics/anthropic-sdk-typescript/security/advisories/GHSA-p7fg-763f-g4gf> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41686> (advisory)
- <https://github.com/anthropics/anthropic-sdk-typescript> (package)

## Sources

- CVE List: [CVE-2026-41686](https://www.cve.org/CVERecord?id=CVE-2026-41686), CVE Terms of Use, modified 2026-05-05
- GitHub Advisory Database: [GHSA-p7fg-763f-g4gf](https://github.com/advisories/GHSA-p7fg-763f-g4gf), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-41686](https://nvd.nist.gov/vuln/detail/CVE-2026-41686), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41686 · Whole record: https://cve.day/CVE-2026-41686.json · Rebuilt by cve.day 2026-11-25T22:59:20.545Z
