PYSEC-2026-4240
Vulnerability from pysec - Published: 2026-10-15 10:22 - Updated: 2026-10-15 14:37Impact
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
| Name | purl | langgraph-sdk | pkg:pypi/langgraph-sdk |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "langgraph-sdk",
"purl": "pkg:pypi/langgraph-sdk"
},
"ranges": [
{
"events": [
{
"introduced": "0.1.45"
},
{
"fixed": "0.4.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [
"CVE-2026-104873",
"GHSA-fvww-7h3r-vfhp"
],
"details": "### 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\u0027s resource. Exploitability and impact depend on the affected handler\u0027s 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",
"id": "PYSEC-2026-4240",
"modified": "2026-10-15T14:37:45.605910Z",
"published": "2026-10-15T10:22:44.441452Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langgraph/security/advisories/GHSA-fvww-7h3r-vfhp"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104873"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langgraph/commit/5a77be5e8bec1600ad0a865638d88c1368497559"
},
{
"type": "PACKAGE",
"url": "https://github.com/langchain-ai/langgraph"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langgraph/releases/tag/sdk==0.4.4"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/langgraph-sdk"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-fvww-7h3r-vfhp"
}
],
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "LangGraph SDK custom auth silently ignores actions= on resource decorators"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.