anthropic is vulnerable to Exposure of Sensitive Information
53
CVE Score
Medium
Exposure of Sensitive Information
The credential providers in the anthropic SDK held API keys, tokens, and other credential material as plain strings while reading, parsing, and refreshing credentials for workload identity federation, OAuth, and auth profiles. When an exception was raised in those code paths, the secret values remained in the traceback frame locals, so any traceback capture such as error logging or crash/error-reporting integrations could persist them outside the process. The fix wraps secret fields in a SecretStr type and strips secret material from traceback frames so credentials are redacted in error output. This prevents inadvertent disclosure of sensitive credential data through tracebacks.
Upgrade the anthropic library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.98.0 - 0.116.0
Fixed in 0.117.0anthropic is vulnerable to Exposure of Sensitive Information in versions 0.98.0 - 0.116.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.