Skip to content

Fix to update Starlette vulnerability [HIGH] CVE-2026-48710 - Host Header Validation Bypass #5893

Closed

Description

@luis5tb

As reported in CVE-2026-48710, Starlette has a HIGH severity vulnerability (Host Header Validation Bypass) in versions prior to 1.0.1.

The HTTP Host request header was not validated before being used to reconstruct request.url. Because the routing algorithm relies on the raw HTTP path while request.url is rebuilt from the Host header, a malformed header could make request.url.path differ from the path that was actually requested. Middleware and endpoints that apply security restrictions based on request.url (rather than the raw scope path) could therefore be bypassed.

The Issue

The current google-adk dependency constraints allow installing vulnerable versions of starlette.
google-adk restricts starlette to >=0.49.1,<1 (as seen in the pyproject.toml).

"starlette>=0.49.1,<1",

This constraint allows any starlette version from 0.49.1 up to (but not including) 1.0.0, all of which are vulnerable to CVE-2026-48710.
Consequently, there is no guarantee that users will have starlette >= 1.0.1 (which contains the fix that validates the Host header against the grammar of RFC 9112 §3.2 / RFC 3986 §3.2.2) installed alongside google-adk.

Proposed Fix

Please update the starlette dependency constraint in pyproject.toml to require the patched version (e.g., >=1.0.1).
Note: The fastapi dependency (currently >=0.124.1,<1) may also need to be updated to a version that supports starlette >= 1.0.1.

google-adk
  └── starlette (>=0.49.1,<1)  <-- Allows vulnerable versions
  └── fastapi (>=0.124.1,<1)
       └── starlette (<1.0.1?)  <-- May also constrain to vulnerable versions

Activity

  1. added
    web[Component] This issue will be transferred to adk-web
    on May 29, 2026
  2. added theissue type on May 29, 2026
  3. added a commit that references this issue on May 29, 2026
    363a8d9
  4. added a commit that references this issue on May 29, 2026
    81add39
  5. added a commit that references this issue on Jun 1, 2026
    f33dbf8
  6. IlonaShishov commented on Jun 3, 2026

    @IlonaShishov

    @llalitkumarrr @rohityan @boyangsvl Hello,
    Could you please provide an estimate on when we can expect a release including this fix?
    We are standing by to resolve this issue in our project as well, as it is dependent on the google-adk package.

  7. added a commit that references this issue on Aug 11, 2026
    a68ff77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

web[Component] This issue will be transferred to adk-web

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions