Shlink Blind SQL Injection via tags/stats orderBy Parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
No affected products listed by the sources yet.
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-18737
- 2026-10-03 Alias added: GHSA-2jhc-j623-f52p
References
Advisory 1
Other 1
More shlinkio vulnerabilities
- TI-2026-62505 Shlink through 5.1.6 Mercure Token Authorization Bypass CVSS 4.0HIGH 7.1
- TI-2026-15354 Shlink Server-Side Request Forgery via Short URL Title Auto-Resolution CVSS 4.0MEDIUM 5.3
- TI-2026-15356 Shlink CSV Formula Injection via Visit Export CLI CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-18737 · CVE Program
- CVE-2026-18737 · NVD
- FIRST EPSS
- GHSA-2jhc-j623-f52p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences