[pkg-vuln] CVE-2026-48818 in starlette@0.52.1 #538
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: HIGH
Package:
starlette@0.52.1Fixed in:
1.1.0Starlette 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 Fas
Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-48818
Not exploitable here. CVE-2026-48818 (StaticFiles UNC-path SSRF / NTLM credential exposure) is Windows-only (
os.path.realpathon UNC paths + SMB); every container here runs Linux. starlette enters via fastapi (api service) and marimo (notebooks editor). Neither container publishes a host port (compose.yml: only traefik/git/zotero do); both are reachable only on internal compose networks / behind traefik, and the api requires bearer auth on protected routes.Bumped anyway (defense in depth):
starlette0.52.1 → 1.3.1 in65c31cf88f(uv.lock + pkg-manifest; pyproject floor raised for direct deps). Advisory link is in the issue body.