CVE-2026-48710
Kludex Starlette HTTP Request/Response Smuggling Vulnerability
Kludex · Starlette
列入日期: 2026-09-02美國聯邦機關修補期限: 2026-09-16
解析與對策(積穗 HMMA)
說明:「解析與對策」由積穗地端 AI(HMMA)依 CISA 公開原文自動生成,未加入 CISA 以外的資訊;受影響版本與修補方式請以廠商公告為準。
這個漏洞是什麼
Kludex Starlette 存在 HTTP Request/Response Smuggling 漏洞(CWE-444)。當應用程式使用 request.url 重建 URL 進行安全判斷時,攻擊者可透過在 Host Header 中注入非法字元(如 /、?、#)使重建後的 URL 路徑與實際路由路徑不一致。這會導致中介軟體(Middleware)誤判請求路徑,進而繞過存取控制。此漏洞與 CVE-2026-42271 相關聯,兩者共同影響 URL 重建的安全性。
下列條件全部成立才會中
- 應用程式執行於 Kludex Starlette 0.8.3 至 1.0.0 版本(含)
- 應用程式的安全性決策(如許可權檢查)依賴於 request.url 或 request.url.path 欄位而非原始 scope['path']
- 應用程式部署於無法過濾非法 Host Header 的網路環境,或前端代理未進行 URL 正規化
修補版本
1.0.1
對企業的風險
此漏洞屬於中等風險(CVSS 6.5),主要威脅資訊揭露與資料完整性。台灣企業若使用 Starlette 構建 API 或管理後台,攻擊者可能透過惡意 Host Header 繞過 URL 路徑授權檢查,存取未授權的敏感資料。目前已知被勒索軟體利用的資訊為「未知」,但此類 URL 走私漏洞常被用作攻擊鏈的初始進入點。建議企業立即盤點所有使用 Starlette 框架的服務,特別是涉及身份驗證與資料存取控制的場景。
怎麼確認自己有沒有中
- 檢查專案的 Python 依賴清單(如 requirements.txt 或 pyproject.toml),確認 starlette 版本是否在 0.8.3 至 1.0.0 之間。
- 審查程式碼中是否有使用 request.url 或 request.url.path 作為路由授權、許可權檢查或存取控制判斷依據的邏輯。
- 檢查前端負載平衡器(如 Nginx、HAProxy)的設定,確認是否已啟用 Host Header 驗證與正規化功能。
誰需要處理
資訊安全部門(負責風險評估與監控)、開發團隊(負責修補與程式碼審查)、IT 基礎設施團隊(負責代理伺服器設定)。
建議對策
- 立即升級 Starlette 至 1.0.1 或更高版本,此版本已將 Host Header 驗證納入 URL 重建流程,符合 RFC 9112 與 RFC 3986 規範。
- 若無法立即升級,應在前端負載平衡器或反向代理層啟用 Host Header 嚴格驗證,拒絕包含非法字元(如 /、?、#)的 Host 請求。
- 針對無法修補的服務,應將安全判斷邏輯從 URL 重建欄位(request.url)遷移至原始請求資訊(如 scope['path']),以確保判斷基準的一致性。
- 部署 WAF(Web Application Firewall)並啟用 URL 走私(URL Smuggling)防護規則,攔截異常格式的 HTTP Host Header。
- 建立日誌監控機制,針對異常 Host Header(包含特殊字元或不符合 RFC 規範的格式)觸發告警,並定期審查 API 存取日誌中的 URL 異常模式。
解析依據
解析時間: 2026-11-13 02:08 UTC · winners-zh-summary
CISA 官方原文
- 廠商
- Kludex
- 產品
- Starlette
- 漏洞名稱
- Kludex Starlette HTTP Request/Response Smuggling Vulnerability
- CISA 描述
- Kludex Starlette contains a HTTP request/response smuggling vulnerability that could allow attackers to inject paths into the host part, prepending the actual path leading to issues such as authentication bypass when the authentication depends on the reconstructed URL’s path. This vulnerability could be chaned with CVE-2026-42271.
- CISA 要求措施
- Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
- CWE
- CWE-444
- 需鑑識分流
- No
官方參考連結
- CISA KEV Catalog
- NVD 漏洞資料
- https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
