Skip to content
OpenAdvisories
High · 7.5 CVE-2026-48818 EUVD-2026-37773GHSA-wqp7-x3pw-xc5rPYSEC-2026-2281

Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows

Published Jun 17, 2026 · Updated Aug 4, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
Kludex starlette < 1.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 starlette No fix yet —
Ubuntu 26.04 LTS starlette No fix yet —
Ubuntu 25.10 starlette No fix yet —
Ubuntu 24.04 LTS starlette No fix yet —
Ubuntu 22.04 LTS starlette No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-graphifyy 0.9.48-1.1 openSUSE-SU-2026:11572-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI starlette < 1.1.0 1.1.0 GHSA-wqp7-x3pw-xc5r

Advisories 1

References