CVE-2023-29159
HIGH 7.5CVSS 3.1Starlette has Path Traversal vulnerability in StaticFiles
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.
- Published
- 1 Jun 2023
- Last modified
- 8 Jul 2026
- Assigned by
- vultures@jpcert.or.jp
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-v5gw-mw7f-84pxPYSEC-2023-83
- Sources
- NVDJSONOSV GHSA-v5gw-mw7f-84pxJSONOSV PYSEC-2023-83JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | encode | starlettecpe:2.3:a:encode:starlette:*:*:*:*:*:python:*:* |
>= 0.13.5, < 0.27.0 | 0.27.0 |
| OSV | PyPI | starlette | >= 0.13.5, < 0.27.0 | 0.27.0 |
References
- https://github.com/encode/starlette/releases/tag/0.27.0 · Release Notes, WEB
- https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px · Exploit, Vendor Advisory, WEB, ADVISORY
- https://jvn.jp/en/jp/JVN95981715/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-29159 · ADVISORY
- https://github.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3 · WEB
- https://github.com/encode/starlette · PACKAGE
- https://github.com/encode/starlette/blob/4bab981d9e870f6cee1bd4cd59b87ddaf355b2dc/starlette/staticfiles.py#L172-L174 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2023-83.yaml · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 1 Jun 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jun 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2023)