Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/shlinkio/shlink
- https://github.com/theopaid/SQL-injection-in-GET-rest-v-n-tags-stats-via-the-ord
- https://www.vulncheck.com/advisories/shlink-blind-sql-injection-via-tags-stats-o
- https://github.com/theopaid/SQL-injection-in-GET-rest-v-n-tags-stats-via-the-ord
FAQ
What is CVE-2026-18737?
CVE-2026-18737 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 para...
How severe is CVE-2026-18737?
CVE-2026-18737 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-18737?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.