CVE-2026-48818

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:encode:starlette:*:*:*:*:*:python:*:*

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Starlette es un framework/toolkit ASGI ligero. En las versiones 1.0.1 y anteriores, StaticFiles en Windows es vulnerable a SSRF. Una ruta UNC como \\atacante.com\share puede hacer que os.path.realpath inicie una conexión SMB saliente antes de que la ruta sea rechazada, exponiendo las credenciales NTLMv2 de la cuenta de servicio para cracking o retransmisión offline aunque la respuesta HTTP sea solo un 404. El problema afecta a las implementaciones predeterminadas de follow_symlink=False, incluyendo frameworks construidos sobre Starlette como FastAPI; los sistemas POSIX y follow_symlink=True no se ven afectados. El problema está solucionado en la versión 1.1.0.

Information

Published : 2026-06-17 19:18

Updated : 2026-10-26 11:10


NVD link : CVE-2026-48818

Mitre link : CVE-2026-48818

CVE.ORG link : CVE-2026-48818


JSON object : View

Products Affected

encode

  • starlette
CWE
CWE-918

Server-Side Request Forgery (SSRF)