CVE-2026-77367

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

9.4 critical EPSS 0.68%

Published 19 Nov 2026 Updated 19 Nov 2026 CNA: GitHub_M

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.

Severity (CVSS)

9.4 critical CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.68%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.6% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 19 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-20 Improper Input Validation
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

Affected products

As the CNA lists them.

ProductVersions
daptin
affected < 0.12.30

Is my server affected?

Find the installed version of daptin and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i daptin
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-77367 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-77367

RHEL, Rocky, Alma, Fedora

rpm -q daptin
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-77367

Alpine

apk list --installed | grep -i daptin

With Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:

trivy rootfs --scanners vuln / | grep CVE-2026-77367
trivy image --scanners vuln IMAGE | grep CVE-2026-77367

Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.

References

Advisories

Other references

Source: the record CVE-2026-77367 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.