fix(deps): pin patched Starlette for CVE-2026-48710 - #35068
EvolvingSoftwareAgent wants to merge 1 commit into
Conversation
Pin Starlette 1.2.0 for extras that expose FastAPI/MCP surfaces so installs do not resolve a vulnerable pre-1.0.1 Starlette for CVE-2026-48710 (BadHost). Regenerate uv.lock.
|
Superseded by #35118 (merged as 0437137), which closes the same CVE-2026-48710 (BadHost) — thanks for catching this and filing both the issue (#35067) and a fix so fast, @EvolvingSoftwareAgent. We landed #35118 as the canonical fix because it carries the same Starlette pin across all four server-surface extras (web/mcp/computer-use/dev) plus two things this PR didn't: it mirrors the pin into On the version: we pinned Closing as superseded — the substance of your fix shipped. |
Summary
web,mcp,computer-use, anddevextras.uv.lockso locked installs resolve Starlette 1.2.0 instead of the vulnerable pre-1.0.1 line.Security context
Starlette versions before 1.0.1 are affected by CVE-2026-48710 ("BadHost"), where crafted Host headers can poison reconstructed URL paths used by path-based authorization checks. Hermes already has Host-header and defense-in-depth work in the dashboard path, but installs should also avoid vulnerable Starlette versions at dependency resolution time.
References:
Closes #35067
Test plan
uv lock --checkstarlette==1.2.0indev,mcp,computer-use, andwebextrasscripts/run_tests.sh tests/hermes_cli/test_web_server_host_header.py