CVE-2026-18737: Shlink Blind SQL Injection via tags/stats orderBy Parameter

Published Aug 3, 2026
·
Updated

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.

Affected Software

1 affected component
Shlink Shlink

Event History

Aug 3, 2026
CVE Published
via MITRE·08:40 PM
Data Sourced
via MITRE·08:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Sep 1, 58559
Event
via NVD·02:13 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-18737?

The severity of CVE-2026-18737 is rated medium with a score of 6.5.

2

How does the CVE-2026-18737 vulnerability occur?

CVE-2026-18737 occurs due to a blind SQL injection vulnerability in Shlink when unvalidated input is used in the orderBy parameter of the tag statistics endpoint.

3

Who is affected by CVE-2026-18737?

CVE-2026-18737 affects any authenticated API key holders using Shlink due to the vulnerability in the orderBy query parameter.

4

How do I fix CVE-2026-18737?

To fix CVE-2026-18737, ensure that input validation is properly implemented for the orderBy parameter to prevent SQL injection.

5

What can attackers do with CVE-2026-18737?

Attackers can exploit CVE-2026-18737 to execute arbitrary SQL commands, potentially compromising the database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203