tech

Millions of AI agents imperiled by critical vulnerability in open source package

“BadHost” was found in Starlette, a package with 325 million weekly downloads.

Millions of AI agents imperiled by critical vulnerability in open source package

TL;DR

  • A critical vulnerability named BadHost (CVE-2026-48710) affects the Starlette open source framework, impacting millions of AI agents and tools.
  • The vulnerability allows hackers to exploit a flaw in the HTTP Host header to bypass path-based authorization and gain unauthorized access to servers.
  • Millions of servers running AI agents and tools, including those using FastAPI, vLLM, and LiteLLM, are potentially exposed.
  • Exploitation can lead to the theft of sensitive data, credentials, and unauthorized access to various systems, including clinical trial databases, identity verification systems, email accounts, and more.
  • The vulnerability arises from Starlette's failure to validate the Host header, leading to inconsistent interpretation of HTTP requests and potential authentication bypass.
  • A scanner created by X41 D-Sec and Nemesis can help detect if a server is vulnerable to BadHost.