SQL injection in Daptin via the sort query parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
Daptin, a GraphQL and JSON-API headless CMS, is affected before 0.12.30. The generic GET /api/{entity} list endpoint uses the sort query parameter to build SELECT and ORDER BY identifiers without checking the column against the table schema, so an embedded identifier quote can break out of the quoted identifier and inject SQL (CWE-89). An unauthenticated remote attacker can extract unauthorized table data through blind or error-based behavior, or repeatedly trigger query failures.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| daptin | daptin | before 0.12.30 | 0.12.30 | Patch available | CNA |
| — | github.com/daptin/daptin (Go) | before 0.12.30 | 0.12.30 | Patch available | GHSA-hq2p-f2vj-v3cm |
- daptin Vendordaptin Affected before 0.12.30 Fixed in 0.12.30 Patch available CNA
- github.com/daptin/daptin (Go) Vendor— Affected before 0.12.30 Fixed in 0.12.30 Patch available GHSA-hq2p-f2vj-v3cm
Remediation
Update Daptin to version 0.12.30, which fixes the issue for both the daptin product and the github.com/daptin/daptin Go module. CISA requires U.S. federal agencies to fix it by the due date.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA daptin (daptin) Fixed in 0.12.30
- Fix · GHSA-hq2p-f2vj-v3cm github.com/daptin/daptin (Go) Fixed in 0.12.30 Advisory →
Timeline
- 2026-11-19 Threatist record created from CVE-2026-77367
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-20 Alias added: GHSA-hq2p-f2vj-v3cm
- 2026-11-20 Fix available: Go/github.com/daptin/[email protected] · GHSA-hq2p-f2vj-v3cm
- 2026-11-20 CVSS score added · GHSA-hq2p-f2vj-v3cm
- 2026-11-20 Weakness changed · GHSA-hq2p-f2vj-v3cm
- 2026-11-20 5 new references · GHSA-hq2p-f2vj-v3cm
References
More daptin vulnerabilities
- TI-2026-83293 Daptin Accept-Language parsing lets requests consume excessive CPU CVSS 4.0HIGH 8.7
- TI-2026-94984 Broken access control in Daptin YJS endpoint exposes restricted rows CVSS 3.1CRITICAL 9.6
- TI-2026-32315 Daptin fuzzy search injects unvalidated column name into raw SQL CVSS 4.0HIGH 7.1
- TI-2026-50833 daptin - Authentication Bypass via Null Owner Permission Check on usergroup Objects CVSS 3.1CRITICAL 9.1
- TI-2026-30021 Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API CVSS 3.1HIGH 8.3
- TI-2026-96914 Incorrect authorization in Daptin CardDAV lets users overwrite contacts CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-77367 · CVE Program
- CVE-2026-77367 · NVD
- FIRST EPSS
- GHSA-hq2p-f2vj-v3cm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences