CVE-2023-29159Encode 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
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jun 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Directory traversal vulnerability in Starlette versions 0.13.5 and later and prior to 0.27.0 allows a remote unauthenticated attacker to view files in a web service which was built using Starlette.
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.13.5 < 0.27.0 |
0.27.0 |
pip install "starlette>=0.27.0" |
| PyPI | starlette |
≥ 0.13.5 < 0.27.0 |
0.27.0 |
pip install "starlette>=0.27.0" |
Per OSV / GitHub Advisories (GHSA-v5gw-mw7f-84px, PYSEC-2023-83). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| encode | starlette | ≥ 0.13.5 < 0.27.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Exploit Vendor Advisory
- jvn.jp Third Party Advisory