HomeCVE Intelligence › CVE-2026-48818
CVSS 7.5 HIGH Vulnerability

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

Summary When serving static files on Windows, StaticFiles resolves the requested path with [os.path.realpath](https://docs.python.org/3/library/os.path.html#os.path.realpath). If a UNC path (such as \\attacker.com\share…

7.5CVSS Score
HIGHSeverity
NOCISA KEV
VulnerabilityImpact Type

📋 Vulnerability Details

CVE IDCVE-2026-48818
Vendorpip
Affected Productstarlette
Vulnerability TypeVulnerability
CVSS Score7.5 (HIGH)
Actively Exploited❌ No known exploitation
Patch StatusSee Vendor Advisory →
Reported ByCYBERDUDEBIVASH SENTINEL APEX Intelligence (via github_advisories)

🔬 Technical Analysis

#

Summary When serving static files on Windows, StaticFiles resolves the requested path with [os.path.realpath](https://docs.python.org/3/library/os.path.html#os.path.realpath). If a UNC path (such as \\attacker.com\share) reaches the resolver, realpath causes the process to open a connection to the remote host over SMB (port 445). This is a server-side request forgery (SSRF) that leaks the service account's NTLMv2 credentials to the attacker-controlled host, which can then be cracked offline or relayed to other hosts.

Details StaticFiles.lookup_path() joins the requested path onto the served directory and calls [os.path.realpath](https://docs.python.org/3/library/os.path.html#os.path.realpath) on the result before checking containment with [os.path.commonpath](https://

🎯 Known Indicators of Compromise

{"type":"url","value":"https://docs.python.org/3/library/os.path.html#os.path.realpath).","confidence_score":0.82,"first_seen":"2026-06-15","source_count":1} {"type":"url","value":"https://docs.python.org/3/library/os.path.html#os.path.realpath)","confidence_score":0.82,"first_seen":"2026-06-15","source_count":1} {"type":"domain","value":"docs.python.org","confidence_score":0.75,"first_seen":"2026-06-15","source_count":1} {"type":"domain","value":"attacker.com","confidence_score":0.75,"first_seen":"2026-06-15","source_count":1}

📚 Advisory References

⚡ DETECTION RULES AVAILABLE

Get CVE-2026-48818 Detection Pack

Sigma rules, YARA signatures, IOC table, and SIEM queries for Splunk, Elastic, Sentinel, and Chronicle — deployable in 5 minutes.

✓ Sigma Rules ✓ YARA Pack ✓ IOC Table ✓ SIEM Queries
🛡️ Get Detection Pack → 🔌 Access via API →

🔗 Related Intelligence