Repository navigation
chore(deps): update dependency langgraph-sdk to v0.4.4 [security] - #2803
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/pypi-langgraph-sdk-vulnerability
branch
from
November 16, 2026 21:47
b1e6ffd to
cb7cc70
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.3.8→0.4.4LangGraph SDK has unsafe URL path construction
CVE-2026-48776 / GHSA-w39p-vh2g-g8g5 / PYSEC-2026-2194 / PYSEC-2026-2575
More information
Details
Summary
langgraph-sdkconstructs HTTP request paths for resource operations by interpolating caller-supplied identifier values into URL templates. Without sanitization of those values, identifiers that contain characters with special meaning in URL paths could cause the resulting request to address a different resource (and potentially a different resource type) than the SDK method's call site indicates. In deployments where the SDK receives identifier values that originate from untrusted sources, this could result in unintended access, modification, or deletion of resources beyond the calling user's authorization scope.This issue is most consequential in deployments that:
There have no evidence of this behavior being triggered in the wild. This change is intended to reduce the surface available when caller-supplied identifier values originate from untrusted sources.
Affected users / systems
You may be affected if you:
langgraph-sdk(Python) to address resources by identifier, andApplications that validate identifier values (for example, by parsing them as UUIDs and rejecting anything that does not parse) before passing them to SDK methods are not affected. Validated UUIDs round-trip through the SDK request path unchanged.
Impact
Patches / mitigation
The SDK now applies path-segment encoding to identifier values before they are interpolated into request URL templates. After this change, identifier values that contain characters with special meaning in URL paths are transmitted as encoded byte sequences and routed to the resource the SDK method's call site indicates.
Compatibility
Identifier values that match the standard UUID format, or any other format that contains only characters safe to transmit unencoded in URL path segments, round-trip through the SDK request path unchanged. Applications that already validate identifier inputs see no behavioral change.
Operational guidance
LangSmith / hosted deployments note
This issue affects the SDK that runs in caller applications. The LangGraph server runtime, including LangSmith-hosted deployments, receives ordinary HTTP requests on documented routes and is not itself affected by this issue. Applications that consume LangSmith-hosted services via
langgraph-sdkand pass untrusted identifier values to SDK methods should upgrade.First reported by: pucagit (CyStack).
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
LangGraph SDK has unsafe URL path construction
CVE-2026-48776 / GHSA-w39p-vh2g-g8g5 / PYSEC-2026-2194 / PYSEC-2026-2575
More information
Details
Summary
langgraph-sdkconstructs HTTP request paths for resource operations by interpolating caller-supplied identifier values into URL templates. Without sanitization of those values, identifiers that contain characters with special meaning in URL paths could cause the resulting request to address a different resource (and potentially a different resource type) than the SDK method's call site indicates. In deployments where the SDK receives identifier values that originate from untrusted sources, this could result in unintended access, modification, or deletion of resources beyond the calling user's authorization scope.This issue is most consequential in deployments that:
There have no evidence of this behavior being triggered in the wild. This change is intended to reduce the surface available when caller-supplied identifier values originate from untrusted sources.
Affected users / systems
You may be affected if you:
langgraph-sdk(Python) to address resources by identifier, andApplications that validate identifier values (for example, by parsing them as UUIDs and rejecting anything that does not parse) before passing them to SDK methods are not affected. Validated UUIDs round-trip through the SDK request path unchanged.
Impact
Patches / mitigation
The SDK now applies path-segment encoding to identifier values before they are interpolated into request URL templates. After this change, identifier values that contain characters with special meaning in URL paths are transmitted as encoded byte sequences and routed to the resource the SDK method's call site indicates.
Compatibility
Identifier values that match the standard UUID format, or any other format that contains only characters safe to transmit unencoded in URL path segments, round-trip through the SDK request path unchanged. Applications that already validate identifier inputs see no behavioral change.
Operational guidance
LangSmith / hosted deployments note
This issue affects the SDK that runs in caller applications. The LangGraph server runtime, including LangSmith-hosted deployments, receives ordinary HTTP requests on documented routes and is not itself affected by this issue. Applications that consume LangSmith-hosted services via
langgraph-sdkand pass untrusted identifier values to SDK methods should upgrade.First reported by: pucagit (CyStack).
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NReferences
This data is provided by OSV and the PyPI Advisory Database (CC-BY 4.0).
LangGraph SDK custom auth silently ignores actions= on resource decorators
CVE-2026-104873 / GHSA-fvww-7h3r-vfhp / PYSEC-2026-4240
More information
Details
Impact
What kind of vulnerability is it? Who is impacted?
langgraph-sdkincorrectly applies theactions=argument on resource-scoped authorization decorators, including@auth.on.threads,@auth.on.assistants, and@auth.on.crons.In affected versions, a decorator such as:
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:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
LangGraph SDK custom auth silently ignores actions= on resource decorators
CVE-2026-104873 / GHSA-fvww-7h3r-vfhp / PYSEC-2026-4240
More information
Details
Impact
What kind of vulnerability is it? Who is impacted?
langgraph-sdkincorrectly applies theactions=argument on resource-scoped authorization decorators, including@auth.on.threads,@auth.on.assistants, and@auth.on.crons.In affected versions, a decorator such as:
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:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the PyPI Advisory Database (CC-BY 4.0).
Release Notes
langchain-ai/langgraph (langgraph-sdk)
v0.4.4Compare Source
Changes since 0.4.3
v0.4.3Compare Source
Changes since 0.4.2
v0.4.2Compare Source
Changes since 0.4.1
v0.4.1Compare Source
Removed
PrioritySettings.fairness_weight— removed. The server stores onlypriorityandfairness_groupon the thread; it ignores afairness_weightand logs a warning. Remove it from your callback.Changed
PrioritySettings.priority— now says -5 runs first and 5 runs last,matching how the server orders runs. 0.4.9 to 0.4.11 said the reverse, and
their example gave premium users 3, which runs them after everyone at the
default 0. Check any callback written from those docs.
v0.4.0Compare Source
langgraph 0.4.0
Summary of Changes
"values"stream mode #4374Detailed Changes
langgraph.types.Interrupt
interrupt_idproperty that generates a unique ID for the interrupt based on its namespace #4406|as a separator between namespace elements for better uniqueness #4406langgraph.types.StreamMode
"values"mode emits all values including interrupts after each step #4374langgraph.types.StateSnapshot
interruptsfield to track interrupts that occurred in a step and are pending resolution #4406langgraph.types.Command
resumeparameter to support mapping interrupt IDs to resume values #4406resumeparameter #4406langgraph.pregel.Pregel
invokeandainvokemethods to properly collect and handle interrupts in streamed output #4374"values"and"updates"stream modes #4374langgraph.graph.branch.Writer
langgraph.pregel.loop.PregelLoop
langgraph.pregel.draw
add_edgeutility function to prevent duplicate edges in graph visualization #4409v0.3.15Compare Source
langgraph 0.3.15
Summary of Changes
is_available()method on all channel types #3890Detailed Changes
langgraph.channels.base.BaseChannel
is_available()method to check if a channel has values without having to catch exceptions #3890All Channel Types
MISSINGsentinel value instead of attribute errors for tracking empty state #3890is_available()implementations to:AnyValueBinaryOperatorAggregateDynamicBarrierValueEphemeralValueLastValueNamedBarrierValueTopicUntrackedValuelanggraph.graph.state.StateGraph
branch:to:{node}instead of complex channel names #3891langgraph.pregel.algo
checkpoint_null_version()and_triggers()helper functions #3893binascii.unhexlifyinstead ofUUIDparsing #3893is_available()method instead of exception handling #3890langgraph.pregel.io
return_exceptionparameter fromread_channel()as it's no longer needed with the new availability checking #3890langgraph.types
PregelExecutableTask.triggerstype fromlist[str]to more flexibleSequence[str]for better performance #3893v0.3.14Compare Source
langgraph 0.3.14
Summary of Changes
Interruptclass by hiding thewhenfield from display outputs (#3889)Detailed Changes
langgraph.types.PregelScratchpad
null_resumestorage with aget_null_resumefunction that takes aconsumeparameter (#3888)null_resume,_consume_null_resumeproperties, and theconsume_null_resume()method, replacing them with a cleaner and more versatileget_null_resume(bool)callable (#3888)langgraph.pregel.algo.prepare_single_task
_scratchpadfunction to take aconfigparameter, allowing it to access the parent scratchpad's resume values (#3889)langgraph.types.Interrupt
Interruptclass by hiding thewhenfield when printing instances (#3889)langgraph.pregel.loop.PregelLoop
get_null_resumefunctionality (#3889)v0.3.13Compare Source
langgraph 0.3.13
Summary of Changes
Detailed Changes
langgraph.graph.graph.CompiledGraph
asyncio.gather()(#3879)RemoteGraphvisualization in both sync and async methods (#3879)_draw_graph()method to reduce duplication (#3879)langgraph.pregel.loop.PregelLoop
langgraph.pregel.runner.PregelRunner
langgraph.pregel.debug
langgraph.pregel.io
v0.3.12Compare Source
langgraph 0.3.12
Summary of Changes
StateGraph.add_nodeto catchNameErrorexceptionsDetailed Changes
langgraph.graph.state.StateGraph
add_nodemethod by addingNameErrorto the list of caught exceptions, ensuring more robust error handling when processing node destinationsv0.3.11Compare Source
langgraph 0.3.11
Summary of Changes
Detailed Changes
This release only adds a development dependency (
pycryptodome) and does not include any changes to the library's public API or functionality.v0.3.10langgraph 0.3.10
Summary of Changes
SchemaCoercionMapperclass to efficiently handle schema coercion with caching (#3806)PregelTaskto better handle return values and results (#3839)LANGGRAPH_DEFAULT_RECURSION_LIMIT(#3812, #3813)Detailed Changes
langgraph.graph.schema_utils.SchemaCoercionMapperlanggraph.graph.state.StateGraphSchemaCoercionMapperlanggraph.pregel.write.ChannelWriterequire_at_least_one_ofparameter and validation logiclanggraph.types.PregelTaskresultfield to acceptAnytype instead of only dictionarieslanggraph.pregel.debugmap_debug_task_resultsto includeRETURNvalues in resultstasks_w_writesfor better handling of task resultsConfiguration
LANGGRAPH_DEFAULT_RECURSION_LIMITto control recursion depth (default: 25)Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.