The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34450

CVE-2026-34450: Claude SDK Python Information Disclosure Flaw

CVE-2026-34450 is an information disclosure vulnerability in Claude SDK for Python versions 0.86.0 to 0.87.0 that exposes memory files with insecure permissions, allowing local attackers to read or modify agent state. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 2, 2026

CVE-2026-34450 Overview

A vulnerability has been identified in the Anthropic Python SDK affecting the local filesystem memory tool. From version 0.86.0 to before version 0.87.0, memory files were created with insecure permissions (mode 0o666), making them world-readable on systems with a standard umask and world-writable in environments with permissive umask settings such as many Docker base images. This insecure permissions vulnerability (CWE-276) allows local attackers on shared hosts to read persisted agent state, and in containerized deployments, to modify memory files to influence subsequent model behavior.

Critical Impact

Local attackers can read sensitive persisted agent state and potentially modify memory files to manipulate AI model behavior in shared or containerized environments.

Affected Products

  • Anthropic Python SDK versions >= 0.86.0 and < 0.87.0
  • Both synchronous and asynchronous memory tool implementations

Discovery Timeline

  • 2026-03-31 - CVE CVE-2026-34450 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34450

Vulnerability Analysis

The vulnerability exists in the local filesystem memory tool implementation within the Anthropic Python SDK. When the SDK creates memory files for persisting agent state, it uses mode 0o666, which grants read and write permissions to all users on the system. This behavior bypasses the protective effects of a properly configured umask on standard systems and becomes particularly dangerous in containerized environments where default umask settings are often more permissive.

The issue affects both the synchronous and asynchronous implementations of the memory tool, meaning any application using either API pattern to persist agent state is vulnerable. In shared hosting environments, this allows any local user to read potentially sensitive agent conversation history, context, and state information. In Docker deployments—where base images frequently ship with permissive umask configurations—attackers can not only read but also write to these memory files, potentially injecting malicious context that could influence subsequent model responses.

Root Cause

The root cause is the use of overly permissive file creation mode (0o666) when writing memory files to the local filesystem. Instead of respecting system umask settings or using restrictive permissions such as 0o600 (owner read/write only), the SDK explicitly sets world-readable and potentially world-writable permissions on sensitive data files.

Attack Vector

This vulnerability requires local access to the system where the Anthropic Python SDK is running. An attacker with local user privileges on a shared host or within the same container environment can exploit this vulnerability through direct filesystem access. The attack does not require any user interaction and can be performed with low privilege levels. In read-only scenarios, the attacker gains access to persisted agent state which may contain sensitive conversation data. In write-enabled scenarios (permissive umask environments), the attacker can modify memory files to inject malicious context that may influence future model behavior, potentially leading to prompt injection or manipulation of AI agent actions.

The vulnerability mechanism involves the memory tool creating files with explicit 0o666 permissions when persisting agent state to the local filesystem. For detailed technical information, see the GitHub Security Advisory GHSA-q5f5-3gjm-7mfm.

Detection Methods for CVE-2026-34450

Indicators of Compromise

  • Memory files in the SDK storage directory with world-readable permissions (-rw-rw-rw- or similar)
  • Unexpected access patterns to memory files from non-owner user accounts
  • Modified timestamps on memory files that don't correlate with legitimate application activity
  • Anomalous agent behavior suggesting external modification of persisted state

Detection Strategies

  • Monitor file permission audits for files created by applications using the Anthropic Python SDK
  • Implement file integrity monitoring on directories containing agent memory files
  • Review access logs for unauthorized reads or writes to SDK memory storage locations
  • Deploy auditd rules to track access to memory file directories by non-owner processes

Monitoring Recommendations

  • Enable filesystem access auditing on directories used by the Anthropic Python SDK for memory storage
  • Configure alerts for permission changes or unexpected access to memory files
  • Monitor container environments for umask misconfigurations that could exacerbate the vulnerability
  • Track SDK version deployments across your infrastructure to identify vulnerable installations

How to Mitigate CVE-2026-34450

Immediate Actions Required

  • Upgrade the Anthropic Python SDK to version 0.87.0 or later immediately
  • Audit existing memory files and reset permissions to 0o600 (owner read/write only)
  • Review containerized deployments for permissive umask configurations
  • Assess whether any sensitive agent state may have been exposed or modified

Patch Information

The vulnerability has been patched in version 0.87.0 of the Anthropic Python SDK. The fix addresses the insecure file permissions by implementing proper file mode settings when creating memory files. For technical details on the fix, see the GitHub Commit. The patched version is available via the GitHub Release v0.87.0.

Workarounds

  • Manually correct file permissions on existing memory files using chmod 600
  • Configure a restrictive umask (0077) for processes running the SDK
  • Isolate SDK deployments in dedicated containers or environments without shared user access
  • Implement filesystem access controls or SELinux/AppArmor policies to restrict access to memory directories
bash
# Fix permissions on existing memory files
find /path/to/sdk/memory -type f -exec chmod 600 {} \;

# Set restrictive umask before running SDK applications
umask 0077

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechAnthropic

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-276
  • Technical References
  • GitHub Commit Update

  • GitHub Release v0.87.0

  • GitHub Security Advisory GHSA-q5f5-3gjm-7mfm
  • Related CVEs
  • CVE-2026-35021: Claude Code CLI OS Command Injection RCE

  • CVE-2026-34452: Claude SDK Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English