Skip to content

Translation in progress Some entries still include text in the original language.

GitHub 安全公告·Indexed by this site · Originally publishedSelectedAttention55

LangGraph SDK fixes authorization vulnerability where resource decorators silently ignore the actions parameter

LangGraph SDK custom auth silently ignores actions= on resource decorators

AI summary

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.

Why it was selected

LangGraph SDK 的授权装饰器静默忽略 actions 参数,使用该 SDK 的 Python 部署可据此检查自己的资源级权限配置。

Read originalgithub.com