fix(deps): bump starlette and fastapi to address CVE-2026-48710#5894
Closed
luis5tb wants to merge 2 commits into
Closed
fix(deps): bump starlette and fastapi to address CVE-2026-48710#5894luis5tb wants to merge 2 commits into
luis5tb wants to merge 2 commits into
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Starlette prior to 1.0.1 did not validate the HTTP Host header before reconstructing request.url, allowing a malformed header to bypass security restrictions based on request.url.path. Bump starlette to >=1.0.1 and fastapi to >=0.133.0 (the minimum version compatible with starlette >=1.0.1). Fixes google#5893
cc3992f to
363a8d9
Compare
Collaborator
|
Hi @luis5tb , Thank you for your contribution! We appreciate you taking the time to submit this pull request. Can you please fix the formatting errors. |
copybara-service Bot
pushed a commit
that referenced
this pull request
May 29, 2026
Starlette prior to 1.0.1 did not validate the HTTP Host header before reconstructing request.url, allowing a malformed header to bypass security restrictions based on request.url.path. Bump starlette to >=1.0.1 and fastapi to >=0.133.0 (the minimum version compatible with starlette >=1.0.1). Fixes #5893 Merge #5894 Change-Id: If7743e53d95740452c9e562e9bba98d132ae049e
Collaborator
settler-av
pushed a commit
to settler-av/adk-python
that referenced
this pull request
Jun 1, 2026
Starlette prior to 1.0.1 did not validate the HTTP Host header before reconstructing request.url, allowing a malformed header to bypass security restrictions based on request.url.path. Bump starlette to >=1.0.1 and fastapi to >=0.133.0 (the minimum version compatible with starlette >=1.0.1). Fixes google#5893 Merge google#5894 Change-Id: If7743e53d95740452c9e562e9bba98d132ae049e
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.
Starlette prior to 1.0.1 did not validate the HTTP Host header before reconstructing request.url, allowing a malformed header to bypass security restrictions based on request.url.path. Bump starlette to >=1.0.1 and fastapi to >=0.133.0 (the minimum version compatible with starlette >=1.0.1).
Closes: #5893
Testing Plan
Unit Tests:
No new tests required — this is a dependency version bump only. All existing unit tests pass (0 failures) with the updated starlette (1.2.0) and fastapi (0.136.3). The 31 xfailed and 9 xpassed are pre-existing
@pytest.mark.xfailtests unrelated to this change.Checklist