SQL Injection in Shlinkio Shlink
CVE-2026-18737
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 34.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Shlinkio Shlink — versions 3.3.1
Weakness classification (CWE)
References
- GitHub Security Advisory (vendor-advisory)
- Product Repository (product)
- www.vulncheck.com/advisories/shlink-blind-sql-injection-via-tags-stats-orderby-… (third-party-advisory)