Vulnerability · Published Jun 17, 2026 · Assigned by GitHub_M
CVE-2026-48818Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
High 7.5
In plain English
A high-severity server-side request forgery in starlette from Kludex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | starlette | 1.1.0 | PYSEC-2026-2281 |
| PyPI | starlette | 1.1.0 | GHSA-wqp7-x3pw-xc5r |
| Ubuntu:22.04:LTS | starlette | no fix listed | UBUNTU-CVE-2026-48818 |
| Ubuntu:24.04:LTS | starlette | no fix listed | UBUNTU-CVE-2026-48818 |
| Ubuntu:25.10 | starlette | no fix listed | UBUNTU-CVE-2026-48818 |
| Ubuntu:26.04:LTS | starlette | no fix listed | UBUNTU-CVE-2026-48818 |
| Ubuntu:26.10 | starlette | no fix listed | UBUNTU-CVE-2026-48818 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/Kludex/starlette/security/advisories/GHSA-wqp7-x3pw-xc5r x_refsource_CONFIRM
- https://github.com/Kludex/starlette/pull/3287 x_refsource_MISC
- https://github.com/Kludex/starlette/commit/fd53168a7767b6b55ba5af787fd88f49e33cabc5 x_refsource_MISC
- https://github.com/Kludex/starlette/releases/tag/1.1.0 x_refsource_MISC
- https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-2281.yaml x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-48818 vdb-entry, x_refsource_REDHAT
- RHBZ#2490020 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48818.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:30089 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30088 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30087 vendor-advisory, x_refsource_REDHAT