Skip to content
OpenAdvisories
High · 7.1 CVE-2026-44349 EUVD-2026-28389GHSA-pwqg-q8pg-pp6rGO-2026-5555

Daptin fuzzy search injects unvalidated column name into raw SQL

Published May 7, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

Description

Daptin is a GraphQL/JSON-API headless CMS. Prior to version 0.11.5, processFuzzySearch in server/resource/resource_findallpaginated.go:1484 splits the user-supplied column parameter by comma and interpolates each segment directly into goqu.L(fmt.Sprintf("LOWER(%s) LIKE ?", prefix+col)) raw SQL with no column whitelist check. The entry point is GET /api/<entity> with operator=fuzzy (or fuzzy_any, fuzzy_all). Any authenticated user — including one who self-registered with no admin involvement — can read the entire database. This issue has been patched in version 0.11.5.

Affected products

VendorProductAffectedFixed
daptin daptin < 0.11.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/daptin/daptin < 0.11.5 0.11.5 GHSA-pwqg-q8pg-pp6r

Advisories 1

References