SCA: security update for next-video (GHSA-2p39-2jf3-fv2q)

medium Tenable Self-Hosted Container Security Plugin ID 446153

Description

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

- next-video is a library for adding video to Next.js applications. Prior to 2.8.1, the GET endpoint
exported by next-video/request-handler and commonly mounted at /api/video accepts an unauthenticated url
query parameter, while src/utils/utils.ts isRemote() treats any value without an HTTP or HTTPS prefix as a
local path. src/request-handler.ts passes that value through src/assets.ts getAssetPath() to src/config.ts
loadAsset(), which appends a JSON suffix and uses fs.readFile without canonicalizing the path or verifying
that it remains inside the configured video folder. A remote attacker can therefore escape the intended
asset directory and read JSON files accessible to the application process, including Next.js server-action
encryption material, preview-mode keys, build manifests, route metadata, absolute paths, and application
video asset identifiers. Applications that do not expose the runtime request handler are not affected
through this route. This issue is fixed in version 2.8.1. (CVE-2026-54150)

Solution

Update the next-video library and its related packages to version 2.8.1 or later.

See Also

https://github.com/advisories/GHSA-2p39-2jf3-fv2q

Plugin Details

Severity: Medium

ID: 446153

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 8/20/2026

Updated: 9/15/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.66

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-54150

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/20/2026

Vulnerability Publication Date: 8/20/2026

Reference Information

CVE: CVE-2026-54150

cwe: CWE-200