Skip to content

Update dependency @anthropic-ai/sdk to ^0.81.0 [SECURITY]#739

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-anthropic-ai-sdk-vulnerability
Open

Update dependency @anthropic-ai/sdk to ^0.81.0 [SECURITY]#739
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-anthropic-ai-sdk-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 8, 2026

This PR contains the following updates:

Package Change Age Confidence
@anthropic-ai/sdk ^0.80.0^0.81.0 age confidence

GitHub Vulnerability Alerts

CVE-2026-34451

The local filesystem memory tool in the Anthropic TypeScript SDK validated model-supplied paths using a string prefix check that did not append a trailing path separator. A model steered by prompt injection could supply a crafted path that resolved to a sibling directory sharing the memory root's name as a prefix, allowing reads and writes outside the sandboxed memory directory.

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

Claude SDK for TypeScript thanks hackerone.com/nicksim for reporting this issue!

Severity
  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Release Notes

anthropics/anthropic-sdk-typescript (@​anthropic-ai/sdk)

v0.81.0

Full Changelog: sdk-v0.80.0...sdk-v0.81.0

Features
  • add .type field to APIError for error kind identification (#​790) (4bf637d)
Bug Fixes
  • memory: append path separator in validatePath prefix check (0ac69b3)
Chores
  • ci: run builds on CI even if only spec metadata changed (70b657a)
  • ci: skip lint on metadata-only changes (69bdc94)
  • internal: codegen related update (7ff7390)
  • internal: update gitignore (46d6667)
  • internal: update multipart form array serialization (d55b07d)
  • tests: bump steady to v0.19.4 (4957a5e)
  • tests: bump steady to v0.19.5 (c511ae0)
  • tests: bump steady to v0.19.6 (6d2b4b9)
  • tests: bump steady to v0.19.7 (d6cff9d)
  • tests: bump steady to v0.20.1 (284561f)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update dependency @anthropic-ai/sdk to ^0.81.0 [security] Update dependency @anthropic-ai/sdk to ^0.81.0 [SECURITY] Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants