Intel

AIKIDO-2026-451947

anthropic is vulnerable to Exposure of Sensitive Information

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026
July 20, 2026

53

CVE Score

Medium

Exposure of Sensitive Information

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the anthropic library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.98.0 - 0.116.0

Fixed in 0.117.0

Background info

anthropic is vulnerable to Exposure of Sensitive Information in versions 0.98.0 - 0.116.0.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea