BadHost: One Char Bypasses Host-Based Security Across the Python AI Stack
A critical security vulnerability known as BadHost has been identified in the Starlette framework, affecting many Python AI tools. The flaw allows a single character in the HTTP Host header to bypass authorization checks, posing significant risks to self-hosted and local LLM infrastructures. A patch has been released, but the severity of the issue may be understated according to its discoverers.
- ▪The vulnerability is tracked as CVE-2026-48710 and affects various Python AI tooling ecosystems.
- ▪A single character can exploit the flaw, making it trivial to automate and suitable for mass scanning.
- ▪The patch for the vulnerability is Starlette 1.0.1, which was released quietly.
Hacker News (AI / LLM) files mainly under ai. We currently carry 3,311 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | secwest.net - secure virtual engagement |
| Canonical URL | https://www.secwest.net/starlette |
| Publication time | Tue, 26 May 2026 20:44:48 +0000 |
| Retrieval time | 2026-05-26T21:12:54.503Z |
| Last seen | 2026-05-26T21:12:54.503Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | ZtPdCQXFcaXB |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
.fe-6a153c3995d2ee0bfb56739c { --grid-gutter: calc(var(--sqs-mobile-site-gutter, 6vw) - 11.0px); --cell-max-width: calc( ( var(--sqs-site-max-width, 1500px) - (11.0px * (8 - 1)) ) / 8 ); display: grid; position: relative; grid-area: 1/1/-1/-1; grid-template-rows: repeat(237,minmax(24px, auto)); grid-template-columns: minmax(var(--grid-gutter), 1fr) repeat(8, minmax(0, var(--cell-max-width))) minmax(var(--grid-gutter), 1fr); row-gap: 11.0px; column-gap: 11.0px; overflow-x: hidden; overflow-x: clip; } @media (min-width: 768px) { .background-width--inset .fe-6a153c3995d2ee0bfb56739c { --inset-padding: calc(var(--sqs-site-gutter) * 2); } .fe-6a153c3995d2ee0bfb56739c { --grid-gutter: calc(var(--sqs-site-gutter, 4vw) - 11.0px); --cell-max-width: calc( ( var(--sqs-site-max-width, 1500px) -…
Excerpt limited to ~120 words for fair-use compliance. The full article is at secwest.net - secure virtual engagement.