CVE-2026-18737 PUBLISHED

Shlink Blind SQL Injection via tags/stats orderBy Parameter

Assigner: VulnCheck
Reserved: 03.08.2026 Published: 03.08.2026 Updated: 03.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor shlinkio
Product Shlink
Versions Default: affected
  • affected from 3.3.1 to 5.1.5 (incl.)

Credits

  • Theodosis Paidakis finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE