12 comments

  • burner420042 4 minutes ago
    Notably CVE-2026-48710 hasn't been added into cloud sec vuln catalogs quite yet. Since fastapi ~is starlette, expect the later half of this week / early next to be busy.
  • nickcw 1 hour ago
    If you read the advisory and are wondering what starlette is, from it's web page: starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python.

    It's used a lot in the data heavy AI world for it's efficiency shipping large files. This includes lots and lots of production servers.

    From the advisory: this includes LLM inference servers like vLLM, LLM proxy servers like LiteLLM, AI agent frameworks, MCP gateways, and custom APIs. MCP servers are especially at risk because the MCP spec mandates unauthenticated OAuth discovery endpoints, providing a reliable path for exploitation.

    • alex_suzuki 1 hour ago
      Notably, Starlette powers FastAPI, an extremely popular Python framework for building HTTP services.
    • hsbauauvhabzb 25 minutes ago
      Ironically typing ‘make sure my server is secure’ into an LLM either wasn’t done, or missed it until now.
  • s2l 1 hour ago
    From the link, on how the attack works:

    An attacker can send a crafted request like GET /protected with a Host: example.com/health?x= header. The request will reach the /proteced path, but request.url would be https://example.com/health?x=/protected, and request.url.path would return /health instead of the real request path.

  • noirscape 1 hour ago
    If you're using nginx/apache/literally anything that does reverse proxying correctly, this shouldn't be a problem unless you're routing all traffic over default_server rules unstead of server_name (or the equivalent).

    They should be stopping this attack at the door (even if only to clean out your logs from scraper door knocks), which is probably why it went unnoticed for years. I don't think anyone would be deploying {A,W}SGI servers on public facing ports these days. Even if only because SSL termination is much easier in the proxy layer.

    Also good lord that ARS article is a mess. What the hell happened there? An ASGI server isn't unique to AI or anything, it's just a regular supply chain dependency. I kinda expect better from ARS on stuff like this.

    • anakaine 23 minutes ago
      Ars has had a depreciating quality the past few years by most accounts. They've been trying a bit harder recently it seems, but shaking off the allure of half baked short form journalism is hard, I guess.
  • ostif-derek 23 hours ago
    This is a bad one. Rating it a medium understates how hard it hits thousands of downstream projects and billions of installs. People need to patch asap. I'm normally against the "giving a bug a name, logo, and website" trope, but this one is getting poor patch rates because of it being rated a medium and landing right before a big American holiday weekend.
    • acdha 7 hours ago
      I agree it’s fairly bad on its own but it’s substantially mitigated if you aren’t exposing Starlette/FastAPI directly to the internet – if you use a CDN, load-balancer / API Gateway, or a fronting web server it’s likely that your service is protected since the attacks depend on characters which are not valid in DNS (and in the first couple of cases, likely need to match to route traffic to the right customer).

      As an example, I just confirmed that both Cloudflare and AWS ALBs reject all of the attack patterns. Still not good, lateral movement is a time-honored tactic, etc. but it buys time to patch.

  • andrewstuart 1 hour ago
    Setting aside this issue, Starlette is a really great web server.

    If you do async python I strongly recommend it.

    FastAPI is built on Starlette - to be honest I don’t see the point of the extra baggage - just use Starlette.

    • 0123456789ABCDE 22 minutes ago
      fastAPI will give you `/openapi.json`, `/docs` with no extra effort

      function name becomes a human readable summary, string docs the description

      edit: bottle.py and fastapi are the most significant contributions to web frameworks in python — decorators for path handlers, typed input/output, automatic docs

  • Ozzie-D 3 minutes ago
    [flagged]
  • zuogl 50 minutes ago
    [flagged]
  • ylk 1 day ago
    The URL was meant to be https://badhost.org, the site accidentally still has the old canonical meta tag.
  • dividendflow 46 minutes ago
    [dead]
  • nine_ch 1 hour ago
    [flagged]
  • phoronixrly 2 hours ago
    [flagged]