You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependency constraint prevents patched Starlette release for CVE-2026-48710 #425
A security issue tracked as CVE-2026-48710 has been fixed in Starlette 1.0.1, but the current upper bound prevents downstream users from upgrading to a patched version through normal dependency resolution.
Reacted by Tim May, Blake Gilmore, Gustav Westling, Jackson Kolling, Hieu Dao, Jon Denly, Lucas Melchior, Tobias Flühmann, Paul Salaberria, Daniel de Cloet and 8 more
Summary: "BadHost" — starlette fails to validate the HTTP Host request header before using it to reconstruct request.url.path, allowing attackers to inject path components that prepend the actual request path. This can lead to authentication bypass when authentication depends on the reconstructed URL path.
Found 2 known vulnerabilities in 1 package
Name Version ID Fix Versions
starlette 0.52.1 PYSEC-2026-161 1.0.1
starlette 0.52.1 PYSEC-2026-161 1.0.1
Attempting to manually upgrade starlette fails due to a dependency conflict:
pip install "starlette>=1.0.1"# ERROR: Cannot install requirements.txt and starlette==1.3.0 because these package versions have conflicting dependencies.
Expected behaviour
functions-framework should pin starlette>=1.0.1 to resolve this CVE. Users running pip-audit against their frozen requirements will receive security warnings they cannot resolve without breaking their installation.
Activity
afeld commentedon Jun 11, 2026
Additional reference: https://osv.dev/vulnerability/PYSEC-2026-161
HelloVet-Luke commentedon Jun 11, 2026
Title: Transitive dependency starlette==0.52.1 contains known vulnerability PYSEC-2026-161 (CVE-2026-48710)
Describe the issue
functions-framework==3.10.1pinsstarlette==0.52.1as a transitive dependency. This version of starlette contains a known vulnerability:Hostrequest header before using it to reconstructrequest.url.path, allowing attackers to inject path components that prepend the actual request path. This can lead to authentication bypass when authentication depends on the reconstructed URL path.Steps to reproduce
pip install functions-framework==3.10.1 pip freeze > requirements.txt pip-audit -r requirements.txtOutput:
Attempting to manually upgrade starlette fails due to a dependency conflict:
Expected behaviour
functions-frameworkshould pinstarlette>=1.0.1to resolve this CVE. Users runningpip-auditagainst their frozen requirements will receive security warnings they cannot resolve without breaking their installation.Environment
functions-framework==3.10.1starlette==0.52.1(pinned by functions-framework)References
afeld commentedon Jun 16, 2026
Full list of relevant vulnerabilities.
afeld commentedon Jun 17, 2026
Fix being released in v3.10.2 👀