Use of Incorrectly-Resolved Name or Reference Affecting semgrep package, versions <1.167.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Social Trends
EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-SEMGREP-17379499
  • published19 Jun 2026
  • disclosed22 Jun 2026

Introduced: 19 Jun 2026

NewCVE-2026-54282  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

Upgrade Wolfi semgrep to version 1.167.0-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream semgrep package and not the semgrep package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1