CVE-2026-62160
Published:October 30, 2026
Updated:October 30, 2026
Daptin is a GraphQL/JSON-API headless CMS. Prior to 0.12.26, the global "LanguageMiddleware" in "server/language.go" passes the raw "Accept-Language" header from "LanguageMiddlewareFunc" through "GetLanguagePreference" to "golang.org/x/text/language.ParseAcceptLanguage" without a size or shape filter. The guard for CVE-2022-32149 counts hyphens but not underscores, even though the internal parser normalizes underscores to hyphens. Long lists of underscore-separated language subtags longer than eight characters bypass the guard. These subtags fail the "len <= 8" length check in "golang.org/x/text/internal/language/parse.go", causing repeated "gobble" operations to move the entire remaining buffer through "runtime.memmove". With many invalid subtags, this repeated buffer movement takes quadratic work. Unauthenticated requests to the public landing page or "/api" can consume disproportionate CPU, with a 256 KiB header already causing seconds of processing and larger input permitted by the default 1 MiB header ceiling. "resource.CheckErr" also logs the entire invalid header, amplifying cost, while normal successful HTTP responses can conceal the denial-of-service traffic. Repeated requests can saturate server CPU. This issue is fixed in version 0.12.26.
Affected Packages
https://github.com/daptin/daptin.git (GITHUB):
Affected version(s) >=0.9.0 <v0.12.26 || >=0.10.1 <v0.12.26Fix Suggestion:
Update to version v0.12.26github.com/daptin/daptin (GO):
Affected version(s) >=0.10.1 <v0.12.26 || >=0.9.0 <v0.12.26Fix Suggestion:
Update to version v0.12.26Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH