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

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-03T20:40:28.334Z
- Modified: 2026-10-23T21:10:00.157Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- shlinkio Shlink: from 3.3.1 up to 5.1.5

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/theopaid/SQL-injection-in-GET-rest-v-n-tags-stats-via-the-orderBy-parameter-shlink-> (exploit, vendor-advisory)
- <https://github.com/shlinkio/shlink> (product)
- <https://www.vulncheck.com/advisories/shlink-blind-sql-injection-via-tags-stats-orderby-parameter> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-18737](https://www.cve.org/CVERecord?id=CVE-2026-18737), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-18737](https://nvd.nist.gov/vuln/detail/CVE-2026-18737), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-18737 · Whole record: https://cve.day/CVE-2026-18737.json · Rebuilt by cve.day 2026-11-25T22:59:30.902Z
