Skip to main content
EPSS 0.3%top 82%

Starlette: Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. (CVE-2026-54282)

0
Medium
Published: 06/22/2026 (06/22/2026, 18:16:00 UTC)
Source: GCVE Database
Product: starlette

Description

Starlette versions prior to 1.3.0 contain a vulnerability where the HTTP request path is not properly validated before being used to reconstruct the request URL. This flaw allows an attacker to supply a request path that does not start with a slash, causing the URL parser to misinterpret the path as part of the hostname. This can lead to an attacker-controlled hostname in request.url.hostname, potentially misleading security-sensitive logic relying on this value. The vulnerability is addressed by upgrading to a fixed version that correctly validates and reconstructs the URL.

CVSS v3.1

Score 5.3medium

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

Affected software

Alpineghsa
litellm-database
Affected versions
<1.96.0-r0=1.96.0-r0
Homebrewmore threats →ghsa
kimi-cli
pkg:brew/kimi-cli
Affected versions
>=0.40 <1.47.0_1
Homebrewmore threats →ghsa
theharvester
pkg:brew/theharvester
Affected versions
<4.11.1_1
Homebrewmore threats →ghsa
glances
pkg:brew/glances
Affected versions
<4.5.6
Homebrewmore threats →ghsa
gptme
pkg:brew/gptme
Affected versions
>=0.28.0 <0.31.0_12
Ubuntu:22.04:LTSmore threats →ghsa
starlette
pkg:deb/ubuntu/starlette?arch=source&distro=jammy
Affected versions
=0.14.1-1=0.16.0-1=0.18.0-1
Ubuntu:24.04:LTSmore threats →ghsa
starlette
pkg:deb/ubuntu/starlette?arch=source&distro=noble
Affected versions
=0.30.0-1=0.31.1-1
Ubuntu:25.10more threats →ghsa
starlette
pkg:deb/ubuntu/starlette?arch=source&distro=questing
Affected versions
=0.46.1-2=0.46.1-3
Ubuntu:26.10more threats →ghsa
starlette
pkg:deb/ubuntu/starlette?arch=source&distro=stonking
Affected versions
=0.50.0-1=1.1.0-1=1.3.1-1=1.7.0-2
Ubuntu:26.04:LTSmore threats →ghsa
starlette
pkg:deb/ubuntu/starlette?arch=source&distro=resolute
Affected versions
=0.46.1-3=0.50.0-1

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: 10/18/2026, 04:57:51 UTC

Technical Analysis

CVE-2026-54282 describes a vulnerability in the Starlette framework component used by kimi-cli, where the HTTP request path is not validated before reconstructing the request URL. Specifically, if the request path does not start with a slash, the URL parser treats the path as part of the authority section, resulting in an attacker-controlled hostname in request.url.hostname. This can mislead security mechanisms that depend on the hostname for authorization or redirects. The issue is resolved by upgrading to a patched version that performs proper validation.

Potential Impact

The vulnerability allows an attacker to manipulate the hostname portion of the reconstructed request URL by crafting a request path without a leading slash. This can cause security-sensitive code relying on request.url.hostname for host-based authorization or redirects to be misled, potentially bypassing security controls. There is no indication of confidentiality or availability impact, and no known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade to Starlette version 1.3.0 or later, where the vulnerability is fixed by proper validation of the request path before URL reconstruction. No other mitigations are indicated or required.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
CLEANSTART-2026-AL63130
Osv Schema Version
1.7.3
Ecosystems
["Alpine"]
State
PUBLISHED

Threat ID: 6a98455bacd9273b496ab80f

Added to database: 09/02/2026, 15:48:43 UTC

Last enriched: 10/18/2026, 04:57:51 UTC

Last updated: 10/18/2026, 18:48:21 UTC

Views: 55

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