Patchfirst
CVE-2026-77367 Public exploit Critical · 9.4 EPSS 0.6%

Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint

Fix:upgrade daptin to 0.12.30 or later also fixes CVE-2026-77369 Details ↓

daptin · daptin

Summary

Daptin, a GraphQL/JSON-API headless CMS, contains an SQL injection flaw in the generic GET /api/{entity} list endpoint, where the sort parameter is used to build SELECT and ORDER BY identifiers in PaginatedFindAllWithoutFilters without being validated against the table schema. An unauthenticated attacker with network access can send a crafted sort value to extract unauthorized table data through blind or error-based techniques, or repeatedly trigger query failures, with no user interaction required; the issue affects Daptin versions prior to 0.12.30.

Official description · NVD

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.

Breakdown
22.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 2 days after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+2 days

Affected versions and fixes

as published in the CVE record

daptin daptin

Affected: < 0.12.30

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: github.com/daptin/daptin.

Gogithub.com/daptin/daptinGHSA-hq2p-f2vj-v3cm

Upgrade to 0.12.30 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2026-77369).

Gogo get github.com/daptin/daptin@v0.12.30

The first fix for CVE-2026-77367.

Affected versions

If you runUpgrade to
All versions before 0.12.300.12.30

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close