Anonymous View
Skip to content

fix(deps): bump starlette to >=1.0.1 on Python 3.10+ to fix PYSEC-202…#423

Merged
taeold merged 2 commits into
GoogleCloudPlatform:mainfrom
SpielerNogard:fix/starlette-pysec-2026-161
Jun 17, 2026
Merged

fix(deps): bump starlette to >=1.0.1 on Python 3.10+ to fix PYSEC-202…#423
taeold merged 2 commits into
GoogleCloudPlatform:mainfrom
SpielerNogard:fix/starlette-pysec-2026-161

Conversation

@SpielerNogard

Copy link
Copy Markdown
Contributor

…6-161

Starlette <=1.0.0 is vulnerable to a missing Host header validation that poisons request.url.path and bypasses path-based security checks (GHSA-86qp-5c8j-p5mr / PYSEC-2026-161). The fix only landed in 1.0.1, which requires Python >=3.10.

Constraint is split by interpreter version so Python 3.8/3.9 users keep the existing 0.x line (no upstream fix available) while Python 3.10+ pulls the patched 1.x line.

…6-161

Starlette <=1.0.0 is vulnerable to a missing Host header validation
that poisons request.url.path and bypasses path-based security checks
(GHSA-86qp-5c8j-p5mr / PYSEC-2026-161). The fix only landed in 1.0.1,
which requires Python >=3.10.

Constraint is split by interpreter version so Python 3.8/3.9 users
keep the existing 0.x line (no upstream fix available) while Python
3.10+ pulls the patched 1.x line.
@SpielerNogard

Copy link
Copy Markdown
Contributor Author

fixes #425
Can someone pls have a look?

@psalaberria002

Copy link
Copy Markdown

Anyone around for a review?

@cdco-busunkim

Copy link
Copy Markdown

@taeold Is this something you'd be able to review?

@pablo-diaz-devoteam

Copy link
Copy Markdown

Hi @taeold @di @KaylaNguyen @matthewrobertson,

Is this something you can support with?

The current version of starlette is triggering alerts for CVE-2026-54283

Thanks

@taeold

taeold commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR. We will prioritize getting a new release cut to include this change.

@taeold taeold merged commit c650171 into GoogleCloudPlatform:main Jun 17, 2026
51 checks passed
@pablo-diaz-devoteam

Copy link
Copy Markdown

Much appreciated @taeold , issue with the vulnerabilities solved!

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.

5 participants