SCA: security update for koa (GHSA-7gcc-r8m5-44qm)

high Tenable Self-Hosted Container Security Plugin ID 438112

Description

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

- Koa is middleware for Node.js using ES2017 async functions. Prior to versions 3.1.2 and 2.16.4, Koa's
`ctx.hostname` API performs naive parsing of the HTTP Host header, extracting everything before the first
colon without validating the input conforms to RFC 3986 hostname syntax. When a malformed Host header
containing a `@` symbol is received, `ctx.hostname` returns `evil[.]com` - an attacker-controlled value.
Applications using `ctx.hostname` for URL generation, password reset links, email verification URLs, or
routing decisions are vulnerable to Host header injection attacks. Versions 3.1.2 and 2.16.4 fix the
issue. (CVE-2026-27959)

See Also

https://github.com/advisories/GHSA-7gcc-r8m5-44qm

Plugin Details

Severity: High

ID: 438112

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 3/3/2026

Updated: 6/30/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.98

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2026-27959

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/26/2026

Vulnerability Publication Date: 2/26/2026

Reference Information

CVE: CVE-2026-27959