CVEfocus › CVE database › CVE-2026-48818

CVE-2026-48818Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows

CVSS 7.5 HighEPSS 0.6% (higher than 46% of CVEs)Published 2026-06-17Updated 2026-08-04Assigner: GitHub_M

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.

CWE-918

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
2Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10starletteFix pendingUBUNTU-CVE-2026-48818
Ubuntu 26.04starletteUnder investigationUBUNTU-CVE-2026-48818
Ubuntu 25.10starletteWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-48818
Ubuntu 24.04starletteUnder investigationUBUNTU-CVE-2026-48818
Ubuntu 22.04starletteFix pendingUBUNTU-CVE-2026-48818
PyPI librarystarletteFixed1.1.0PYSEC-2026-2281

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.