starlette — security advisory
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.
- Products
- starlette
- Affected versions
- 0.14.1-1, 0.16.0-1, 0.18.0-1, 0.30.0-1, 0.31.1-1, 0.46.1-2, 0.46.1-3, 0.50.0-1, 1.1.0-1, 1.3.1-1, 1.7.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-48818
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:07 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-48818
starlette
Fixed versions: Not specified
starlette
Fixed versions: Not specified
starlette
Fixed versions: Not specified
starlette
Fixed versions: Not specified
starlette
Fixed versions: Not specified
Complete source record
{
"id": "58fe4cae39e3fa213ff3af61f5e1b33a2f48663f784b187e8ac195de31d2e429",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-48818",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-48818",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-48818",
"products": [
{
"name": {
"value": "starlette",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.14.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.16.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.18.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "starlette",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.30.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.31.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "starlette",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.46.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "0.46.1-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "starlette",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.50.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.1.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.3.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.7.0-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "starlette",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.46.1-3",
"evidence": "/affected/4/versions"
},
{
"value": "0.50.0-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-48818",
"aliases": [
"UBUNTU-CVE-2026-48818"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:deb/ubuntu/starlette?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.14.1-1",
"0.16.0-1",
"0.18.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48818.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-starlette",
"binary_version": "0.18.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:deb/ubuntu/starlette?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.30.0-1",
"0.31.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48818.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-starlette",
"binary_version": "0.31.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:deb/ubuntu/starlette?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.46.1-2",
"0.46.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48818.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-starlette",
"binary_version": "0.46.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:deb/ubuntu/starlette?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.50.0-1",
"1.1.0-1",
"1.3.1-1",
"1.7.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48818.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-starlette",
"binary_version": "1.7.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:deb/ubuntu/starlette?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.46.1-3",
"0.50.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48818.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-starlette",
"binary_version": "0.50.0-1"
}
]
}
}
],
"modified": "2026-10-17T13:00:23.497086415Z",
"provider": "osv",
"upstream": [
"CVE-2026-48818"
],
"references": [
"https://ubuntu.com/security/CVE-2026-48818",
"https://www.cve.org/CVERecord?id=CVE-2026-48818"
]
},
"related_cves": [
{
"value": "CVE-2026-48818",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360472,
"published_at": "2026-06-17T19:18:00+00:00"
}