Advisory

GHSA-fvww-7h3r-vfhp

Also known as: CVE-2026-104873, PYSEC-2026-4240

Summary

LangGraph SDK custom auth silently ignores actions= on resource decorators

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-10-05 22:49 UTC
Modified
2026-10-15 14:55 UTC

Affected packages and fixes

langgraph-sdk

PyPI · All systems

Affected

  • introduced 0.1.45, fixed 0.4.4 (ecosystem)

Fixed versions

0.4.4

Fix

  • Fixed version 0.4.4
    pip install --upgrade langgraph-sdk==0.4.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences