Skip to content

Bump FastAPI/Starlette for PYSEC-2026-161 #5812

Description

@mitchedmunds-MadeTech

The web and lsp extras exact-pin fastapi==0.120.1, which transitively pulls in starlette 0.49.3 (via FastAPI 0.120.1's starlette<0.50,>=0.40.0). starlette 0.49.3 is affected by PYSEC-2026-161 / GHSA-86qp-5c8j-p5mr — missing Host header validation poisons request.url.path, bypassing path-based security checks. Fixed in starlette 1.0.1.

Because the FastAPI pin is ==, downstream uv lock --upgrade cannot pull the patched starlette. FastAPI 0.136.3 (latest) only requires starlette>=0.46.0 with no upper cap, so bumping the pin unblocks the fix.

References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions