USN-9512-1: Starlette vulnerabilities

Publication date

3 December 2026

Overview

Several security issues were fixed in Starlette.


Packages

  • starlette - ASGI library for building high performance asyncio services

Details

It was discovered that Starlette incorrectly handled certain paths when
serving static files. A remote attacker could possibly use this issue to
perform directory traversal and obtain sensitive information. This issue
only affected Ubuntu 22.04 LTS. (CVE-2023-29159)

It was discovered that Starlette did not limit the number of form fields
or files accepted when parsing multipart requests. A remote attacker could
possibly use this issue to cause Starlette to use excessive resources,
leading to a denial of service. This issue only affected Ubuntu 22.04
LTS. (CVE-2023-30798)

It was discovered that Starlette did not limit the size of multipart form
fields that had no filename. A remote attacker could possibly use this
issue to cause Starlette to use excessive resources, leading to a denial
of service. This issue only affected Ubuntu 22.04 LTS and Ubuntu...

It was discovered that Starlette incorrectly handled certain paths when
serving static files. A remote attacker could possibly use this issue to
perform directory traversal and obtain sensitive information. This issue
only affected Ubuntu 22.04 LTS. (CVE-2023-29159)

It was discovered that Starlette did not limit the number of form fields
or files accepted when parsing multipart requests. A remote attacker could
possibly use this issue to cause Starlette to use excessive resources,
leading to a denial of service. This issue only affected Ubuntu 22.04
LTS. (CVE-2023-30798)

It was discovered that Starlette did not limit the size of multipart form
fields that had no filename. A remote attacker could possibly use this
issue to cause Starlette to use excessive resources, leading to a denial
of service. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04
LTS. (CVE-2024-47874)

It was discovered that Starlette did not properly validate the HTTP Host
header when reconstructing request URLs. An attacker could possibly use
this issue to bypass security restrictions that rely on the request URL.
(CVE-2026-48710)

It was discovered that Starlette incorrectly handled non-standard HTTP
methods in HTTPEndpoint. An attacker could possibly use this issue to
access internal methods without the intended authorization checks.
(CVE-2026-48817)

It was discovered that Starlette did not properly validate the request
path when reconstructing request URLs. An attacker could possibly use this
issue to make applications trust an attacker-controlled host name.
(CVE-2026-54282)

It was discovered that Starlette did not enforce configured field count
and size limits when parsing URL-encoded form data. A remote attacker
could possibly use this issue to cause Starlette to use excessive
resources, leading to a denial of service. (CVE-2026-54283)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute python3-starlette –  0.50.0-1ubuntu0.1~esm1  
24.04 LTS noble python3-starlette –  0.31.1-1ubuntu0.1~esm1  
22.04 LTS jammy python3-starlette –  0.18.0-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›