Description
Starlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\attacker.com\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
Affected products
encode: starlette
References10
- github.com/Kludex/starlette/security/advisories/GHSA-wqp7-x3pw-… MitigationVendor Advisory
- github.com/Kludex/starlette/commit/fd53168a7767b6b55ba5af787fd8… Patch
- github.com/Kludex/starlette/pull/3287 Patch
- github.com/Kludex/starlette/releases/tag/1.1.0 Release Notes
- github.com/pypa/advisory-database/tree/main/vulns/starlette/PYS…
- access.redhat.com/errata/RHSA-2026:30087
- access.redhat.com/errata/RHSA-2026:30088
- access.redhat.com/errata/RHSA-2026:30089
- access.redhat.com/security/cve/CVE-2026-48818
- bugzilla.redhat.com/show_bug.cgi?id=2490020
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 31 · as of 16 November 2026
- CWE
- CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.