SCA: security update for plank/laravel-mediable (GHSA-xv8g-76mx-2rxc)

high Tenable Self-Hosted Container Security Plugin ID 445952

Description

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

- Laravel-Mediable before 7.0.0 contains a path traversal vulnerability in the File::sanitizePath() function
that allows attackers to write uploaded files to arbitrary locations by controlling the directory argument
passed to MediaUploader::toDestination(). Attackers can exploit the permissive character-class regex that
allows both dot and slash characters combined with an ineffective trailing trim() call to bypass
sanitization and upload files to sensitive locations such as the document root, environment configuration
files, or application configuration directories, enabling remote code execution. (CVE-2026-49970)

Solution

Update the plank/laravel-mediable library and its related packages to version 7.0.0 or later.

See Also

https://github.com/advisories/GHSA-xv8g-76mx-2rxc

Plugin Details

Severity: High

ID: 445952

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/13/2026

Updated: 8/13/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-49970

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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.3

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/13/2026

Vulnerability Publication Date: 7/13/2026

Reference Information

CVE: CVE-2026-49970

cwe: CWE-22