CVE-2026-48818
HIGH 7.5CVSS 3.1Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
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.
- Published
- 17 Jun 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-wqp7-x3pw-xc5rPYSEC-2026-2281
- Sources
- NVDJSONOSV GHSA-wqp7-x3pw-xc5rJSONOSV PYSEC-2026-2281JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (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 |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (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 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | encode | starlettecpe:2.3:a:encode:starlette:*:*:*:*:*:python:*:* |
< 1.1.0 | 1.1.0 |
| OSV | PyPI | starlette | < 1.1.0 | 1.1.0 |
References
- https://github.com/Kludex/starlette/commit/fd53168a7767b6b55ba5af787fd88f49e33cabc5 · Patch, FIX
- https://github.com/Kludex/starlette/pull/3287 · Patch, FIX
- https://github.com/Kludex/starlette/releases/tag/1.1.0 · Release Notes, ADVISORY
- https://github.com/Kludex/starlette/security/advisories/GHSA-wqp7-x3pw-xc5r · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-2281.yaml
- https://access.redhat.com/errata/RHSA-2026:30087 · ADVISORY
- https://access.redhat.com/errata/RHSA-2026:30088 · ADVISORY
- https://access.redhat.com/errata/RHSA-2026:30089 · ADVISORY
- https://access.redhat.com/security/cve/CVE-2026-48818 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2490020 · REPORT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48818.json · WEB
- https://github.com/Kludex/starlette · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Jun 2026)