Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41686: CWE-732: Incorrect Permission Assignment for Critical Resource in anthropics anthropic-sdk-typescript

0
Medium
VulnerabilityCVE-2026-41686cvecve-2026-41686cwe-732
Published: Mon May 04 2026 (05/04/2026, 18:41:40 UTC)
Source: CVE Database V5
Vendor/Project: anthropics
Product: anthropic-sdk-typescript

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/04/2026, 19:07:25 UTC

Technical Analysis

CVE-2026-41686 is a vulnerability in the anthropic-sdk-typescript package affecting versions 0.79.0 through 0.91.0. The BetaLocalFilesystemMemoryTool component used Node.js default file and directory modes (0o666 for files, 0o777 for directories), which are too permissive on systems with standard or permissive umasks. This incorrect permission assignment (CWE-732) can lead to unauthorized local read access to agent state and unauthorized modification in containerized deployments. The vulnerability is patched in version 0.91.1.

Potential Impact

Local attackers on shared hosts can read sensitive persisted agent state due to world-readable files. In containerized environments with permissive umasks, attackers can modify memory files, potentially influencing the behavior of the AI model. There is no indication of remote exploitation or privilege escalation beyond local access. The CVSS 4.8 (medium severity) reflects the local attack vector and required privileges.

Mitigation Recommendations

Upgrade to anthropic-sdk-typescript version 0.91.1 or later, where the issue is patched. No other mitigation is indicated or necessary as the vulnerability is resolved in the fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-22T03:53:24.406Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69f8eaaecbff5d8610415ae9

Added to database: 5/4/2026, 6:51:26 PM

Last enriched: 5/4/2026, 7:07:25 PM

Last updated: 5/5/2026, 5:55:01 AM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses