Vulnerability · Published May 7, 2026 · Assigned by GitHub_M

CVE-2026-41422Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API

High 8.3

In plain English

A high-severity SQL injection in daptin from daptin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)0.3%top 71.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Daptin is a GraphQL/JSON-API headless CMS. Prior to version 0.11.4, the /aggregate/:typename endpoint accepted column and group query parameters that were passed verbatim to goqu.L() — a raw SQL literal expression builder — without any validation. This bypassed all parameterization and allowed authenticated users with any valid session to inject arbitrary SQL expressions. This issue has been patched in version 0.11.4.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/daptin/daptin0.11.4GHSA-rw2c-8rfq-gwfv
Gogithub.com/daptin/daptin0.11.4GO-2026-5640

Affected products (as reported)

VendorProductVersions
daptin daptin < 0.11.4

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

References