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

Summary

CVECVE-2026-77367
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-19 17:18:59 UTC
Updated2026-11-19 21:18:04 UTC
DescriptionDaptin 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.

Risk And Classification

Primary CVSS: v3.1 9.4 CRITICAL from [email protected]

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

EPSS: 0.006040000 probability, percentile 0.498390000 (date 2026-11-21)

Problem Types: CWE-20 | CWE-89 | CWE-20 CWE-20: Improper Input Validation | CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.4CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
3.1CNADECLARED9.4CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Daptin Daptin affected < 0.12.30 Not specified

References

ReferenceSourceLinkTags
github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm [email protected] github.com
github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf [email protected] github.com
github.com/daptin/daptin/releases/tag/v0.12.30 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report