CVE-2026-62160

GHSA-rhj7-vh3v-mcq6 · GO-2026-6890 · published 29 Oct 2026 · updated 5 Nov 2026

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

8.7HighCVSS 8.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
daptin<0.12.26
go: github.com/daptin/daptin<=0.12.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/daptin/daptin (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-62160 severity on Zeptric[![CVE-2026-62160](https://zeptric.io/badge/cve/CVE-2026-62160.svg)](https://zeptric.io/cve/CVE-2026-62160)