Skip to content

chore(deps): update dependency langgraph-sdk to v0.4.6 [security] - #70

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pypi-langgraph-sdk-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pypi-langgraph-sdk-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
langgraph-sdk (source) 0.4.2 → 0.4.6 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


LangGraph SDK custom auth silently ignores actions= on resource decorators

CVE-2026-104873 / GHSA-fvww-7h3r-vfhp

More information

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

  • CVSS Score: 7.6 / 10 (High)
  • Vector String: 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

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests

CVE-2026-118667 / GHSA-3fx2-cqw9-xr3c

More information

Details

Summary

The LangGraph Python SDK v3 streaming client interpolates caller-supplied thread_id and assistant_id values into request paths without encoding them at four synchronous and asynchronous call sites. Relative path segments can therefore redirect an authenticated GET request to another path on the same configured server.

Details

The affected get_tree and _fetch_state implementations build request paths from raw identifiers rather than passing each identifier through the SDK's existing _quote_path_param helper. HTTP path normalization can collapse values containing relative segments before dispatch while retaining the client's authentication headers.

langgraph-sdk versions 0.4.0 through 0.4.5 are affected. The v3 stream module is not present in the 0.3.x release line.

RemoteGraph v3 streaming in langgraph 1.2.3 and later is also affected when used with a vulnerable langgraph-sdk version. It passes config["configurable"]["thread_id"] into threads.stream(...), and its dependency range permits affected SDK versions.

Impact

An application is affected only if it passes attacker-controlled text as a streaming thread_id or assistant_id. In that configuration, an attacker may select another readable path on the configured server and cause the SDK to return that response to the application. Through thread_id, the attacker can also control the query string, for example by targeting /store/items?namespace=...&key=...; assistant_id controls only the path. The affected requests are GET operations, so this issue does not provide a write primitive.

The LangGraph Platform is not exposed to this issue.

Remediation

Upgrade langgraph-sdk to version 0.4.6 or later. The fix encodes assistant_id in get_tree and thread_id in _fetch_state with _quote_path_param in both synchronous and asynchronous stream modules.

If you use RemoteGraph, also upgrade langgraph to version 1.2.14 or later, which requires langgraph-sdk>=0.4.6.

Severity

  • CVSS Score: 4.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

langchain-ai/langgraph (langgraph-sdk)

v0.4.6

Compare Source

Changes since 0.4.5

  • 0.4.6
  • Fix
  • Lint
  • Add sync test
  • Fix
  • Fix exception handling for imperative tasks
  • prebuilt: release 0.2.1 (#​4801)
  • prebuilt: release 0.2.0 (#​4793)
  • Code review
  • feat(langgraph): push_messages should directly write to the state
  • feat(graph): add push_message method to push manually to messages / message-tuple stream (#​4722)
  • Add message state test
  • Apply same condition for stream_mode=values in suppress interrupt
  • Remove redundant cast
  • feat(graph): add push_message method to push manually to messages / message-tuple stream
  • Last uv.lock?
  • Only emit stream values chunks when the output channels have changed (#​4774)
  • docs: fix example pregel reducer (#​4740)
  • prebuilts hitl: fix branching logic + add structural snapshot tests (#​4767)
  • docs: deferred nodes (#​4759)
  • Remove local_write utility (#​4751)
  • Print output for cached @​task functions (#​4750)
  • Print output for cached @​task functions
  • sqlite: Add test for search with list filters (#​4747)
  • sqlite: update list_namespaces with max_depth (#​4746)
  • Update lockfile
  • docs: Clean up adjective use in readme (#​4734)
  • SqliteStore (#​3608)
  • ci: fix benchmark command (#​4729)
  • docs: document tuples in streaming guides (#​4690)
  • ci: migrate to uv! (#​4698)

v0.4.5

Compare Source

Changes since 0.4.4

  • langgraph: release 0.4.5 (#​4709)
  • Improve how we match cached writes for async imperative tasks (#​4691)
  • Lint
  • Improve how we match cached writes for async imperative tasks

v0.4.4

Compare Source

Changes since 0.4.3

  • langgraph: release 0.4.4 (#​4704)
  • update for consistency
  • lint again
  • use list
  • lint + update
  • update
  • update
  • update
  • langgraph: fix drawing graph with root channel
  • langgraph: fix graph drawing for self-loops
  • Merge branch 'main' into clean
  • [Proposal] add gitmcp badge for simple LLM-accessible documentation (#​4502)
  • Change LG Cloud > Platform
  • Fix invalid channels error message (#​4357)
  • docs: remove unused annotation comments in readmes (#​4656)
  • docs: General language cleanup (#​4649)
  • [docs] LangGraph / LangGraph Platform docs updates (#​4479)
  • Port checkpointer/store fixtures in langgraph-prebuilt to idiomatic pattern (#​4629)
  • Extend all tests using InMemorySaver to use all available checkpointers (#​4627)
  • Implement update_state for functional api (#​4626)
  • More idiomatic sync/async checkpointer fixtures in pytest (#​4624)
  • More idiomatic sync/async store fixtures in pytest (#​4617)
  • Overload clear method to delete all when called without args
  • Limit depth
  • Extend all tests using InMemorySaver to use all available checkpointers
  • Implement update_state for functional api
  • Fix
  • More idiomatic sync/async checkpointer fixtures in pytest
  • Move to sep file
  • More idiomatic sync/async store fixtures in pytest
  • Lint
  • Lint
  • Move FileCache to sqlite package, add InMemoryCache
  • Add clear cache methods
  • Remove refresh
  • Add namespace to cache keys
  • Lint
  • Lint
  • Lint
  • Lint
  • Lint
  • Lint
  • Lint
  • Finish implementation, add tests
  • Lint
  • Lint
  • Accept default cache_policy for graph/entrypoint/pregel
  • Fix
  • Fix
  • Output cached writes
  • Lint
  • Rename
  • Fix type annotation
  • Fixes
  • Re-do with separate cache interface
  • WIP
  • Deferred Node (#​4269)
  • Start dev server externally (#​4604)

v0.4.3

Compare Source

Changes since 0.4.2

  • release: 0.4.3 (#​4592)
  • langgraph: use tuples for streamed message events in RemoteGraph (#​4589)
  • Fix remote streaming of subgraphs (#​4590)
  • Add a limit to Pregel.draw (#​4575)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants