Advisory

PYSEC-2026-2281

Also known as: CVE-2026-48818, GHSA-wqp7-x3pw-xc5r

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-06-17 19:18 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

starlette

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.0 (ecosystem)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    pip install --upgrade starlette==1.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences