Intel

AIKIDO-2026-447650

langgraph-sdk is vulnerable to Incorrect Authorization

Incorrect AuthorizationGHSA-fvww-7h3r-vfhp Published 2 days ago

76

High Risk

This Affects:

PYTHONlanggraph-sdk
0.1.45 - 0.4.3
Fixed in 0.4.4
Are you affected? Scan for Free

TL;DR

The langgraph-sdk custom authorization layer registers resource scoped handlers incorrectly. When the actions= parameter is passed to decorators @auth.on.threads, @auth.on.assistants, or @auth.on.crons, the handler is registered as a wildcard for every action on the resource instead of only the selected actions. Authenticated users can reach resource operations that the intended scope should have restricted, depending on how the handler is implemented. The fix validates action selectors, rejects invalid or duplicate registrations, and registers handlers only for the explicitly selected actions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you pass actions= to resource-scoped authorization decorators @auth.on.threads, @auth.on.assistants, or @auth.on.crons in a custom auth configuration.

Background info

langgraph-sdk is vulnerable to Incorrect Authorization in versions 0.1.45 - 0.4.3.

How to fix this

Upgrade the langgraph-sdk library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform