# Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint (CVE-2026-77367)

Source: [GitHub Advisory Database](https://github.com/advisories/GHSA-hq2p-f2vj-v3cm) · 2026-11-20 · Security
Page: https://themorning.dev/story/daptin-unauthenticated-sql-injection-via-the-sort-query-parameter-on-every-entit-be3ef21e479de788
Kind: security · Impact: high

## In brief

- Daptin is affected by an unauthenticated SQL injection via the sort query parameter.
- The sort parameter is concatenated into raw SQL on the generic entity list endpoint (GET /api/), which every table exposes.
- The vulnerability is tracked as CVE-2026-77367 and was published in a GitHub Advisory on 2026-11-20.

## Why it matters

An unauthenticated attacker can run arbitrary SQL against a Daptin instance's database through a public list endpoint, so any Daptin deployment reachable from the network may be exposed.

## What to do

- Check the GitHub advisory GHSA-hq2p-f2vj-v3cm for the fixed version and upgrade Daptin.
- Restrict network access to Daptin's /api/ endpoints until the fix is applied.

## CVEs

- CVE-2026-77367

## Timeline

- 2026-11-20: GitHub Advisory published for CVE-2026-77367

## Coverage

- [Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint (CVE-2026-77367)](https://github.com/advisories/GHSA-hq2p-f2vj-v3cm) — GitHub Advisory Database, 2026-11-20

Tags: security, sql-injection, daptin, vulnerability, cve

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
