Update dependency starlette to v1 [SECURITY]#1921
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
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.49.1→==1.0.1Missing Host header validation poisons request.url.path, bypassing path-based security checks
GHSA-86qp-5c8j-p5mr / PYSEC-2026-161
More information
Details
Starlette reconstructs the requested URL based on the HTTP Host request header and requested path, but does not perform any validation of the Host header value. This allows attackers to inject paths into the host part, prepending the actual path. However, routing in Starlette is based on the actual request path. This inconsistent interpretation of HTTP requests may lead to issues such as authentication bypass when the authentication depends on the reconstructed URL’s path.
Severity
Unknown
References
This data is provided by OSV and the PyPI Advisory Database (CC-BY 4.0).
Release Notes
Kludex/starlette (starlette)
v1.0.1: Version 1.0.1Compare Source
What's Changed
Hostheader when constructingrequest.urlby @Kludex in #3279Full Changelog: Kludex/starlette@1.0.0...1.0.1
v1.0.0: Version 1.0.0Compare Source
Starlette 1.0 is here! 🎉
After nearly eight years since its creation, Starlette has reached its first stable release.
A special thank you to @lovelydinosaur, the creator of Starlette, Uvicorn, HTTPX and MkDocs, whose work helped to lay the foundation for the modern async Python ecosystem. 🙏
Thank you to @adriangb, @graingert, @agronholm, @florimondmanca, @aminalaee, @tiangolo, @alex-oleshkevich, @abersheeran, and @uSpike for helping make Starlette what it is today. And to all my sponsors - especially @tiangolo, @huggingface, and @elevenlabs - thank you for your support!
Thank you to all 290+ contributors who have shaped Starlette over the years! ❤️
Read more on the blog post.
Check out the full release notes at https://www.starlette.io/release-notes/#100-march-22-2026
Full Changelog: Kludex/starlette@1.0.0rc1...1.0.0
v0.52.1: Version 0.52.1Compare Source
What's Changed
typing_extensionsin older Python versions by @Kludex in #3109Full Changelog: Kludex/starlette@0.52.0...0.52.1
v0.52.0: Version 0.52.0Compare Source
In this release,
Statecan be accessed using dictionary-style syntax for improved type safety (#3036).See Accessing State for more details.
Full Changelog: Kludex/starlette@0.51.0...0.52.0
v0.51.0: Version 0.51.0Compare Source
Added
allow_private_networkinCORSMiddleware#3065.Changed
DeprecationWarningfor wsgi module #3082.New Contributors
Full Changelog: Kludex/starlette@0.50.0...0.51.0
v0.50.0: Version 0.50.0Compare Source
Removed
Full Changelog: Kludex/starlette@0.49.3...0.50.0
v0.49.3: Version 0.49.3Compare Source
Fixed
Middlewaretype #3059.Full Changelog: Kludex/starlette@0.49.2...0.49.3
v0.49.2: Version 0.49.2Compare Source
Fixed
if-modified-sinceheader ifif-none-matchis present inStaticFiles#3044.Full Changelog: Kludex/starlette@0.49.1...0.49.2
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.