Summary
CVE-2026-62160 is an uncontrolled resource consumption (algorithmic complexity) vulnerability in Daptin’s LanguageMiddleware. An unauthenticated remote attacker can send a crafted Accept-Language header that consumes a large amount of server CPU, causing denial of service. It is rated High (CVSS 4.0 score 8.7) and affects Daptin versions before 0.12.26.
Technical details
- Root cause: Daptin’s
LanguageMiddlewarepasses the rawAccept-Languageheader of every request toParseAcceptLanguagewithout size or shape filtering. The guard added for CVE-2022-32149 counts hyphens but not underscores. The parser normalizes underscores to hyphens internally, so underscore-separated subtags bypass the guard. - Trigger conditions: Long underscore-separated language subtags make the parser repeat buffer-movement operations, producing quadratic computational complexity. No authentication is required; public endpoints such as the landing page and
/apiare reachable. - Attack vector: Network, a single crafted HTTP request with a malicious
Accept-Languageheader. - Impact: Availability loss through CPU exhaustion. The advisory reports that a 256 KiB header consumes about 27 seconds of server CPU for one request. Weakness types: CWE-400 and CWE-407.
Affected software
- Daptin versions earlier than 0.12.26
Severity
- CVSS v4.0 base score: 8.7 (High)
- 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 - Note: the published record uses CVSS v4.0; no v3.1 vector was provided.
Mitigation and recommended actions
- Immediate: Upgrade Daptin to version 0.12.26 or later.
- No official workarounds are documented. Until patched, consider limiting the size of request headers, or filtering abnormal
Accept-Languagevalues, at a reverse proxy or WAF, and restricting access to exposed instances where feasible.

