Go
CVE-2026-62160
Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware
- Severity
- High
- Published
- 29 Oct 2026
- Last changed
- 5 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 0.4% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-rhj7-vh3v-mcq6, GO-2026-6890
- Sources
- OSV.dev and GitHub
Description
Daptin's LanguageMiddleware (registered as a global gin middleware) calls golang.org/x/text/language.ParseAcceptLanguage on the raw Accept-Language header of every HTTP request without imposing any size or shape filter. The underlying parser has quadratic-time behaviour on long lists of malformed language tags. The CVE-2022-32149 guard that golang.org/x/text added in v0.3.8 caps the number of - characters in the input at 1000, but it does not cap _ characters even though the parser's internal scanner aliases _ to - before parsing. A single unauthenticated GET request with an Accept-Language header built out of _ separators (only 256 KiB, not even the 1 MiB ceiling) consumes about 27 seconds of server CPU on the host running Daptin. A 1 MiB payload exceeds the 2-minute test client timeout. A single attacker on a 1 Mbit/s uplink can pin an entire Daptin host with one request every 30 seconds.
Affected software
| Software | Affected versions |
|---|---|
github.com/daptin/daptinGo · osv:Go:github.com/daptin/daptin |
|
About github.com/daptin/daptin
Vulnerabilities in github.com/daptin/daptin
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 2
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-135435Daptin before 0.13.61 Incorrect Authorization via CardDAV PUT Contact UpdateMedium 5.3 23 Nov 2026
- CVE-2026-77369Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpointCritical 9.6 20 Nov 2026
- CVE-2026-77367Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpointCritical 9.4 20 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-62160
- GitHub Advisory Database https://github.com/advisories/GHSA-rhj7-vh3v-mcq6