Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54282: CWE-706: Use of Incorrectly-Resolved Name or Reference in Kludex starlette

0
Low
VulnerabilityCVE-2026-54282cvecve-2026-54282cwe-706
Published: 06/22/2026 (06/22/2026, 16:45:01 UTC)
Source: CVE Database V5
Vendor/Project: Kludex
Product: starlette

Description

Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.

CVSS v3.1

Score 3.7low

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

starlette
pkg:pypi/starlette
Affected versions
<1.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 17:55:09 UTC

Technical Analysis

In Starlette, a lightweight ASGI framework, versions before 1.3.0 do not validate the HTTP request path before rebuilding request.url by concatenating scheme, host, and path and then re-parsing. If the path does not start with a slash (e.g., '@google.com'), the re-parsing shifts the authority boundary, making request.url.hostname and request.url.netloc attacker-controlled. This can cause downstream code that relies on request.url.hostname for host validation to trust attacker-supplied values. The vulnerability is identified as CWE-706 (Use of Incorrectly-Resolved Name or Reference) and is resolved in Starlette 1.3.0.

Potential Impact

The vulnerability allows an attacker to manipulate the hostname and network location components of the reconstructed request URL by supplying a crafted path. This can mislead application logic that trusts request.url.hostname for host validation, potentially causing incorrect authorization or routing decisions. The CVSS score is 3.7 (low severity), indicating limited impact with no confidentiality or availability effects, but some integrity impact due to misleading host information.

Mitigation Recommendations

Upgrade Starlette to version 1.3.0 or later, where this issue is fixed. There is no official patch link provided, but the vendor has resolved the vulnerability in 1.3.0. Until upgraded, avoid relying on request.url.hostname for security decisions; instead, use the Host header or ASGI scope information for host validation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T17:46:37.292Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735ceed863c81e39629b

Added to database: 06/22/2026, 17:39:40 UTC

Last enriched: 06/22/2026, 17:55:09 UTC

Last updated: 06/22/2026, 20:05:34 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses