CVE-2026-54283Encode Starlette
High 7.5 No auth needed
Follow: this CVE · Encode · Encode Starlette We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 22, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Starlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
What to do
- Apply the vendor's security update for Starlette.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | starlette |
≥ 0.4.1 < 1.3.1 |
1.3.1 |
pip install "starlette>=1.3.1" |
| PyPI | starlette |
≥ 0.4.1 < 1.3.1 |
1.3.1 |
pip install "starlette>=1.3.1" |
Per OSV / GitHub Advisories (GHSA-82w8-qh3p-5jfq, PYSEC-2026-249). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| encode | starlette | ≥ 0.4.1 < 1.3.1 |
Official advisories
- Security update for python-starlette · SUSE · SUSE-SU-2026:22360-1 · Jun 24, 2026 High
- Security update for python-starlette · SUSE · openSUSE-SU-2026:21053-1 · Jun 24, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory