Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. anthropic
  4. ›
  5. CVE-2026-34450

CVE-2026-34450: Claude SDK for Python has Insecure Default File Permissions in Local Filesystem Memory Tool

April 1, 2026

The local filesystem memory tool in the Anthropic Python SDK created memory files with mode 0o666, 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. Both the synchronous and asynchronous memory tool implementations were affected.

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

Claude SDK for Python thanks lucasfutures on HackerOne for the report.

References

  • github.com/advisories/GHSA-q5f5-3gjm-7mfm
  • github.com/anthropics/anthropic-sdk-python
  • github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255
  • github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0
  • github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm
  • nvd.nist.gov/vuln/detail/CVE-2026-34450

Code Behaviors & Features

Detect and mitigate CVE-2026-34450 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.86.0 before 0.87.0

Fixed versions

  • 0.87.0

Solution

Upgrade to version 0.87.0 or above.

Impact 4.4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions
  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

pypi/anthropic/CVE-2026-34450.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:24 +0000.