PYSEC-2026-2281

En bref

Publiée
Mise à jour
CVE
CVE-2026-48818
Alias
GHSA-wqp7-x3pw-xc5r
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Paquets affectés

PaquetVersions
PyPI · starletteintroduced 0, fixed 1.1.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database