Python

anthropic

Latest secure version 0.102.0

The official Python library for the anthropic API

All Versions

Vulnerabilities (Public)

Known vulnerabilities and security issues detected in the extension's dependencies and code.

Vulnerability IDAdvisoryAffected Versions
CVE-2026-34452Affected versions of the anthropic package are vulnerable to a Time-of-Check Time-of-Use Race Condition due to the async local filesystem memory tool validating that model-supplied paths resolve insid…
Medium
>=0.86.0,<0.87.0
CVE-2026-34450Affected versions of the anthropic package are vulnerable to Incorrect Default Permissions due to the local filesystem memory tool creating memory files with overly permissive mode 0o666. Both the syn…
Medium
>=0.86.0,<0.87.0
CVE-2022-23491Anthropic 0.3.2 updates its dependency 'certifi' to version '2023.5.7' to include a security fix. https://github.com/anthropics/anthropic-sdk-python/pull/51
Medium
<0.3.2

Safety Discovered Vulnerabilities

Additional security issues found by Safety, exclusive to our platform.

Safety discovered vulnerability data is available for Enterprise customers

Book a call with us to see Safety in action.

Vulnerable Functions

Functions linked to known vulnerabilities in this package.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.