SCA: security update for code16/sharp (GHSA-9ffq-6457-8958)

high Tenable Self-Hosted Container Security Plugin ID 439241

Description

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

- Sharp is a content management framework built for Laravel as a package. Versions prior to 9.20.0 have a
path traversal vulnerability in the FileUtil class. The application fails to sanitize file extensions
properly, allowing path separators to be passed into the storage layer. In `src/Utils/FileUtil.php`, the
`FileUtil::explodeExtension()` function extracts a file's extension by splitting the filename at the last
dot. This issue has been patched in version 9.20.0 by properly sanitizing the extension using
`pathinfo(PATHINFO_EXTENSION)` instead of `strrpos()`, alongside applying strict regex replacements to
both the base name and the extension. (CVE-2026-33686)

Solution

Update the code16/sharp library and its related packages to version 9.20.0 or later.

See Also

https://github.com/advisories/GHSA-9ffq-6457-8958

Plugin Details

Severity: High

ID: 439241

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/26/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.92

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/25/2026

Vulnerability Publication Date: 3/25/2026

Reference Information

CVE: CVE-2026-33686

cwe: CWE-22