๐Ÿ” CVE Alert

CVE-2026-62160

UNKNOWN 0.0

Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-400 CWE-407
Vendor daptin
Product daptin
Published Oct 30, 2026
Last Updated Oct 30, 2026
Stay Ahead of the Next One

Get instant alerts for daptin daptin

Be the first to know when new unknown vulnerabilities affecting daptin daptin are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

daptin / daptin
< 0.12.26

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/daptin/daptin/security/advisories/GHSA-rhj7-vh3v-mcq6 github.com: https://github.com/daptin/daptin/commit/2d70950979b51eb6c8b4234dd50558b608ad2ffe