CVE-2026-77367
Critical 9.4No known exploitationFix availableDaptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint
Vendor advisory: GHSA-hq2p-f2vj-v3cm
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 50% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-20, CWE-89
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| daptin | daptin | < 0.12.30 | Not documented | CVE Program |
| go | github.com/daptin/daptin | all versions up to and including 0.12.29 | 0.12.30 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-hq2p-f2vj-v3cm (opens in a new tab)github-advisory
- https://github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf (opens in a new tab)x_refsource_misc
- https://github.com/daptin/daptin/releases/tag/v0.12.30 (opens in a new tab)x_refsource_misc
- https://github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm (opens in a new tab)x_refsource_confirm