Skip to content
MediumVulnerabilityLLM-specific

GHSA-p7fg-763f-g4gf: Claude SDK for TypeScript has Insecure Default File Permissions in Local Filesystem Memory Tool

Published
Record updated
View JSON
Affected
  • @anthropic-ai/sdk >= 0.79.0, < 0.91.1
Fixed in
0.91.1
  • released April 24, 2026, 5 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%

Summary

The Anthropic TypeScript SDK's `BetaLocalFilesystemMemoryTool` created memory files and directories with the Node.js default modes (`0o666` for files, `0o777` for directories). On hosts with a standard umask these are world-readable, and under a permissive umask, such as many Docker base images, they are world-writable. A local attacker on a shared host could read persisted agent state, and in containers could modify memory files to influence later model behavior.

Mitigation

Users on the affected versions are advised to update to the latest version.