Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/daptin/daptin
  4. ›
  5. CVE-2026-41422

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

April 22, 2026 (updated May 8, 2026)

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.

References

  • github.com/advisories/GHSA-rw2c-8rfq-gwfv
  • github.com/daptin/daptin/releases/tag/v0.11.4
  • github.com/daptin/daptin/security/advisories/GHSA-rw2c-8rfq-gwfv
  • nvd.nist.gov/vuln/detail/CVE-2026-41422

Code Behaviors & Features

Detect and mitigate CVE-2026-41422 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.11.4

Fixed versions

  • 0.11.4

Solution

Upgrade to version 0.11.4 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

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

Source file

go/github.com/daptin/daptin/CVE-2026-41422.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 21 May 2026 12:18:13 +0000.