EncodeのStarletteにおける誤って解決された名前や参照の使用に関する脆弱性
タイトル EncodeのStarletteにおける誤って解決された名前や参照の使用に関する脆弱性
概要

Starletteは軽量なASGIフレームワークおよびツールキットです。バージョン1.3.0以前では、HTTPリクエストパスがrequest.urlの再構築前に検証されていませんでした。request.urlは{scheme}://{host}{path}を連結して再解析することで再構築されるため、先頭が/で始まらないパス(例えば@google.com)は再解析時に権限境界を移動させ、その結果request.url.hostnameおよびrequest.url.netlocが攻撃者によって制御される可能性があります。したがって、Hostヘッダーやscopeではなくrequest.url.hostnameを参照するコードは攻撃者が提供したホストを誤って信頼してしまう恐れがあります。この脆弱性はバージョン1.3.0で修正されました。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月22日0:00
登録日 2026年6月29日11:12
最終更新日 2026年6月29日11:12
CVSS3.0 : 警告
スコア 5.3
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
影響を受けるシステム
Encode
Starlette 1.3.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年06月29日]
  掲載
2026年6月29日11:12

NVD脆弱性情報
CVE-2026-54282
概要

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.

公表日 2026年6月23日3:16
登録日 2026年6月27日4:11
最終更新日 2026年6月27日4:18
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:encode:starlette:*:*:*:*:*:python:*:* 1.3.0
関連情報、対策とツール
共通脆弱性一覧