CVE-2026-18737 Shlink Blind SQL Injection via tags/stats orderBy Parameter
Authenticated attackers can extract sensitive tenant data via blind SQL injection in the tag statistics endpoint of Shlink.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18737?
CVE-2026-18737 is a high-severity SQL injection vulnerability in shlinkio Shlink, published on 3 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2026-18737?
How do I fix CVE-2026-18737?
No fix has been published for CVE-2026-18737 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-18737 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-18737 exists.
Sources
Also known as GHSA-2jhc-j623-f52p.