Use of Incorrectly-Resolved Name or Reference Affecting starlette package, versions [,1.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-STARLETTE-17342519
  • published16 Jun 2026
  • disclosed15 Jun 2026
  • creditNicolas Lamoureux

Introduced: 15 Jun 2026

CVE-2026-54282  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

Upgrade starlette to version 1.3.0 or higher.

Overview

starlette is a The little ASGI library that shines.

Affected versions of this package are vulnerable to Use of Incorrectly-Resolved Name or Reference in the reconstruction of request.url when the HTTP request path does not begin with /. An attacker can mislead the application into trusting an attacker-controlled hostname by sending a specially crafted request path that manipulates the authority component of the URL.

Note: This is only exploitable if the ASGI server forwards a request-target lacking a leading / into scope["path"], and the application uses request.url, request.url.netloc, or request.url.hostname for security-sensitive decisions before routing or in 404/exception handlers.

CVSS Base Scores

version 4.0
version 3.1