Read the docs
TI-2026-39064 Aliases CVE-2026-54150GHSA-2p39-2jf3-fv2q

next-video: Unauthenticated arbitrary file read via /api/video request handler

Priority LOW 37CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00418 36th percentileScored 2026-11-07
Fix Fixed next-video (muxinc): 2.8.1next-video (npm): 2.8.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
muxincnext-videobefore 2.8.12.8.1Patch availableCNA
—next-video (npm)before 2.8.12.8.1Patch availableGHSA-2p39-2jf3-fv2q
  • next-video Vendormuxinc Affected before 2.8.1 Fixed in 2.8.1 Patch available CNA
  • next-video (npm) Vendor— Affected before 2.8.1 Fixed in 2.8.1 Patch available GHSA-2p39-2jf3-fv2q

Remediation

  • Fix · CNA next-video (muxinc) Fixed in 2.8.1
  • Fix · GHSA-2p39-2jf3-fv2q next-video (npm) Fixed in 2.8.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54150
  2. 2026-10-03 Alias added: GHSA-2p39-2jf3-fv2q

References

Sources