SCA: security update for github.com/daptin/daptin (GHSA-rhj7-vh3v-mcq6)

high Tenable Cloud Security Plugin ID 477921

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-62160)

Solution

There is no known solution at this time.

See Also

https://github.com/advisories/GHSA-rhj7-vh3v-mcq6

Plugin Details

Severity: High

ID: 477921

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 10/29/2026

Updated: 11/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2026-62160

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/29/2026

Vulnerability Publication Date: 10/29/2026

Reference Information

CVE: CVE-2026-62160

cwe: CWE-400