LangGraph SDK resource decorator actions parameter is ignored
Start here
LangGraph SDK resource-level authorization decorators (including @auth.on.threads, @auth.on.assistants, and @auth.on.crons) incorrectly ignore the actions= parameter, registering handlers that should only be registered for specific actions to all actions of that resource. Because resource-level handlers take precedence over broader fallback handlers, authorization checks in fallback handlers may no longer execute, and authenticated users may be able to read, update, or delete other users' resources. The impact is limited to scenarios that use actions= on the affected decorators.
Generated by AI from reports · Updated 5 days ago
Progress timeline
- GitHub 安全公告SelectedLangGraph SDK fixes authorization vulnerability where resource decorators silently ignore the actions parameter
LangGraph SDK resource-level authorization decorators (including @auth.on.threads, @auth.on.assistants, and @auth.on.crons) incorrectly ignore the actions= parameter, registering handlers that should only be registered for specific actions to all actions of that resource. Because resource-level handlers take precedence over broader fallback handlers, authorization checks in fallback handlers may no longer execute, and authenticated users may be able to read, update, or delete other users' resources. The impact is limited to Python deployments that use actions= on the affected decorators; if the handler itself independently performs action, ownership, or permission checks on every request, it remains protected. This vulnerability was fixed in version 0.4.4, and no temporary mitigation is available.
Related discussion
Attention trend
New sources per day
- Oct 6: 1 new sources (1 outlets, 0 accounts)
- Oct 7: 0 new sources (0 outlets, 0 accounts)
- Oct 8: 0 new sources (0 outlets, 0 accounts)
- Oct 9: 0 new sources (0 outlets, 0 accounts)
- Oct 10: 0 new sources (0 outlets, 0 accounts)
- Oct 11: 0 new sources (0 outlets, 0 accounts)
- Oct 12: 0 new sources (0 outlets, 0 accounts)
- Oct 13: 0 new sources (0 outlets, 0 accounts)
- Oct 14: 0 new sources (0 outlets, 0 accounts)