Live threats

All CVEs / daptin

CVE-2026-77367daptin

Unauthenticated SQL Injection in Daptin List Endpoint

Critical 9.4 No auth needed

Priority
77
CVSS 3.1
9.4
EPSS
—
Auth required
No
Published
Nov 19, 2026
Updated
Nov 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-89
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

What happens

Daptin prior to 0.12.30 fails to validate sort parameters in the GET /api/{entity} endpoint, allowing an unauthenticated attacker to inject SQL through quoted identifiers. An attacker can extract unauthorized data via blind or error-based techniques, or repeatedly trigger query failures.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

Daptin is a GraphQL/JSON-API headless CMS. Prior to 0.12.30, the generic GET /api/{entity} list endpoint accepts attacker-controlled sort values in PaginatedFindAllWithoutFilters in server/resource/resource_findallpaginated.go without validating the requested column against the table schema. The code uses those values for SELECT and ORDER BY identifier construction, so an embedded identifier quote can terminate the quoted identifier and make the remainder parse as SQL, allowing an unauthenticated attacker to extract unauthorized table data through blind or error-based behavior or repeatedly trigger query failures. This issue is fixed in version 0.12.30.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 0.12.30

Update Daptin to version 0.12.30 or later to apply sort parameter validation against the table schema.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for daptin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/daptin/daptin < 0.12.30 0.12.30 go get github.com/daptin/daptin@v0.12.30
Go github.com/daptin/daptin < 0.12.30 0.12.30 go get github.com/daptin/daptin@v0.12.30

Per OSV / GitHub Advisories (GHSA-hq2p-f2vj-v3cm, GO-2026-7012). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.