CVE-2026-18737
MEDIUMShlink Blind SQL Injection via tags/stats orderBy Parameter
Title source: cnaDescription
Shlink contains a blind SQL injection vulnerability that allows any authenticated API key holder to inject arbitrary SQL fragments by supplying an unvalidated direction value in the orderBy query parameter of the tag statistics endpoint. Attackers can craft a malicious direction string containing SQL subqueries that flows unsanitized into a Doctrine QueryBuilder ORDER BY clause, enabling time-based, boolean-oracle, and error-based extraction of sensitive data including long URLs, visitor records, IP addresses, geolocation data, user agents, and hashed API key secrets from any tenant.
References (3)
Core 3
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory
https://github.com/theopaid/SQL-injection-in-GET-rest-v-n-tags-stats-via-the-orderBy-parameter-shlink-
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/shlink-blind-sql-injection-via-tags-stats-orderby-parameter
Scores
CVSS v3
6.5
EPSS
0.0024
EPSS Percentile
15.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (1)
shlinkio/Shlink
3.3.1 - 5.1.5
Published
Aug 03, 2026
Tracked Since
Aug 04, 2026