All reports
High

LangGraph SDK custom auth silently ignores actions= on resource decorators

Affected versions

Version ranges need review.

Affected versions
>= 0.1.45, <= 0.4.3
Fixed version
0.4.4
Affected versions
>=0.1.45 <0.4.4 || =0.1.45 || =0.1.46 || =0.1.47 || =0.1.48 || =0.1.50 || =0.1.51 || =0.1.53 || =0.1.55 || =0.1.56 || =0.1.57 || =0.1.58 || =0.1.59 || =0.1.60 || =0.1.61 || =0.1.62 || =0.1.63 || =0.1.64 || =0.1.65 || =0.1.66 || =0.1.69 || =0.1.70 || =0.1.71 || =0.1.72 || =0.1.73 || =0.1.74 || =0.2.0 || =0.2.0a1 || =0.2.1 || =0.2.10 || =0.2.12 || =0.2.14 || =0.2.15 || =0.2.2 || =0.2.3 || =0.2.4 || =0.2.5 || =0.2.6 || =0.2.7 || =0.2.8 || =0.2.9 || =0.3.0 || =0.3.1 || =0.3.10 || =0.3.11 || =0.3.12 || =0.3.13 || =0.3.14 || =0.3.15 || =0.3.2 || =0.3.3 || =0.3.4 || =0.3.5 || =0.3.6 || =0.3.7 || =0.3.8 || =0.3.9 || =0.4.0 || =0.4.1 || =0.4.2 || =0.4.3
Fixed version
0.4.4
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-104873

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-23

Description

Impact

What kind of vulnerability is it? Who is impacted? langgraph-sdk incorrectly applies the actions= argument on resource-scoped authorization decorators, including @auth.on.threads, @auth.on.assistants, and @auth.on.crons.

In affected versions, a decorator such as:

@auth.on.threads(actions=["create"])
async def allow_thread_create(ctx, value):
    return None

intended to register a handler for selected actions instead registers that handler for every action on the resource. Because the resource-wide handler is selected before broader fallback handlers, authorization checks implemented in those fallback handlers may not run.

An authenticated user may therefore be able to perform actions the application intended to deny, such as reading, updating, or deleting another user's resource. Exploitability and impact depend on the affected handler's behavior: deployments remain protected if that handler independently enforces the necessary action, ownership, or permission checks for every request it receives.

Only Python deployments using actions= on the affected resource-scoped decorators are affected.

Patches

0.4.4

Workarounds

No.

References

N/A

Links

Credits

  • Grg0rry