{"cve":"CVE-2026-62160","nvd":{"published":"2026-10-30T19:18:32.473","modified":"2026-10-30T20:17:11.587","status":"Awaiting Analysis","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":null,"cwes":["CWE-400","CWE-407"],"references":["https://github.com/daptin/daptin/commit/2d70950979b51eb6c8b4234dd50558b608ad2ffe","https://github.com/daptin/daptin/security/advisories/GHSA-rhj7-vh3v-mcq6","https://github.com/daptin/daptin/security/advisories/GHSA-rhj7-vh3v-mcq6"],"products":[],"source":"nvd","synced_at":"2026-10-30T20:41:38.734504606+00:00"},"epss":null,"kev":null,"osv":[{"id":"GHSA-rhj7-vh3v-mcq6","url":"https://osv.dev/vulnerability/GHSA-rhj7-vh3v-mcq6","summary":"Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware","modified":"2026-10-29T16:45:05.329254013Z","packages":[{"ecosystem":"Go","name":"github.com/daptin/daptin","purl":"pkg:golang/github.com/daptin/daptin","ranges":["<=0.12.15"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}