{"id":"CVE-2026-104873","aliases":["CVE-2026-104873","GHSA-fvww-7h3r-vfhp","PYSEC-2026-4240"],"related":[],"kind":"vulnerability","state":"published","title":"LangGraph SDK custom auth silently ignores actions= on resource decorators","summary":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From 0.1.45 until 0.4.4, the langgraph-sdk resource-scoped authorization decorators @auth.on.threads, @auth.on.assistants, and @auth.on.crons ignore the actions argument and register the selected handler for every action on the resource. Because that wildcard resource handler is selected before broader fallback handlers, an authenticated user may bypass fallback action, ownership, or permission checks and read, update, or delete another user's resource. Only Python deployments using actions on the affected decorators are vulnerable, and a deployment remains protected when the selected handler independently enforces all required checks for every action it receives. This issue is fixed in version 0.4.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From 0.1.45 until 0.4.4, the langgraph-sdk resource-scoped authorization decorators @auth.on.threads, @auth.on.assistants, and @auth.on.crons ignore the actions argument and register the selected handler for every action on the resource. Because that wildcard resource handler is selected before broader fallback handlers, an authenticated user may bypass fallback action, ownership, or permission checks and read, update, or delete another user's resource. Only Python deployments using actions on the affected decorators are vulnerable, and a deployment remains protected when the selected handler independently enforces all required checks for every action it receives. This issue is fixed in version 0.4.4.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n`langgraph-sdk` incorrectly applies the `actions=` argument on resource-scoped authorization decorators, including `@auth.on.threads`, `@auth.on.assistants`, and `@auth.on.crons`.\n\nIn affected versions, a decorator such as:\n\n```python\n@auth.on.threads(actions=[\"create\"])\nasync def allow_thread_create(ctx, value):\n    return None\n```\nintended 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.\n\nAn 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.\n\nOnly Python deployments using `actions=` on the affected resource-scoped decorators are affected.\n\n### Patches\n\n0.4.4\n\n### Workarounds\n\nNo.\n\n### References\n\nN/A","format":"markdown","source":"ghsa"}],"published":"2026-10-02T20:06:07.090Z","modified":"2026-10-15T14:55:53.373Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 0.1.45, < 0.4.4","status":"affected"}],"vendor":"langchain-ai","product":"langgraph","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.1.45","status":"affected","fixed":"0.4.4"}],"ecosystem":"PyPI","package":"langgraph-sdk","purl":"pkg:pypi/langgraph-sdk","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.1.45","status":"affected","fixed":"0.4.4"}],"ecosystem":"PyPI","package":"langgraph-sdk","purl":"pkg:pypi/langgraph-sdk","source":"pysec"}],"references":[{"url":"https://github.com/langchain-ai/langgraph/security/advisories/GHSA-fvww-7h3r-vfhp","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/langchain-ai/langgraph/commit/5a77be5e8bec1600ad0a865638d88c1368497559","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/langchain-ai/langgraph/releases/tag/sdk==0.4.4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104873","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langgraph","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/langgraph-sdk","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-fvww-7h3r-vfhp","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-05T14:46:58.849Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-104873","url":"https://www.cve.org/CVERecord?id=CVE-2026-104873","licence":"CVE Terms of Use","modified":"2026-10-05T15:32:10.019Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fvww-7h3r-vfhp","url":"https://github.com/advisories/GHSA-fvww-7h3r-vfhp","licence":"CC-BY-4.0","modified":"2026-10-15T14:55:53.373Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-104873","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104873","licence":"Public domain","modified":"2026-10-06T15:08:38.397Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4240","url":"https://osv.dev/vulnerability/PYSEC-2026-4240","licence":"CC-BY-4.0","modified":"2026-10-15T14:45:12.944Z"}],"updatedAt":"2026-11-25T22:59:42.001Z","epss":{"score":0.00253,"percentile":0.17921,"date":"2026-12-01T12:00:22.000Z"}}