Skip to content
Heist/ feed
Back to feed
Medium

starlette — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54282

Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.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-54282
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:29 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54282

core-osv · Original source

Published 22 Jun 2026, 18:16 UTC

Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.

osv:UBUNTU-CVE-2026-54282

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": "1db661814933493d2ef29e7567b1e4b9515c107727613ccd082fbb1fbeaeca0a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54282",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54282",
    "summary": "Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.",
    "evidence": "osv:UBUNTU-CVE-2026-54282",
    "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": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-54282",
      "aliases": [
        "UBUNTU-CVE-2026-54282"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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-54282.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-54282.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-54282.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-54282.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-54282.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-starlette",
                "binary_version": "0.50.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:36.423270787Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54282"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54282",
        "https://www.cve.org/CVERecord?id=CVE-2026-54282",
        "https://github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3",
        "https://github.com/Kludex/starlette/pull/3326"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54282",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 358858,
  "published_at": "2026-06-22T18:16:00+00:00"
}