SCA: security update for @hapi/inert (GHSA-rcvq-m9j9-6f4g)

medium Tenable Cloud Security Plugin ID 443066

Description

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

- @hapi/inert provides static file and directory handlers for hapi.js. From 4.0.0 to 7.1.0, @hapi/inert
serves static files from a directory configured with path in the directory or file handlers or relativeTo
for h.file(), with confinement enforced by the confine option, but the confinement check compared the
resolved absolute path against the confine directory using a raw string-prefix test, so a sibling
directory such as /app/static-secret next to /app/static was incorrectly accepted and could allow an
unauthenticated remote attacker to read files via /..%2fstatic-secret/secret.txt. This issue is fixed in
version 7.1.1. (CVE-2026-48049)

Solution

Update the @hapi/inert library and its related packages to version 7.1.1 or later.

See Also

https://github.com/advisories/GHSA-rcvq-m9j9-6f4g

Plugin Details

Severity: Medium

ID: 443066

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/11/2026

Updated: 7/20/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2026-48049

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/11/2026

Vulnerability Publication Date: 6/11/2026

Reference Information

CVE: CVE-2026-48049

cwe: CWE-22