SCA: security update for code16/sharp (GHSA-fr76-5637-w3g9)

high Tenable Self-Hosted Container Security Plugin ID 439229

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 contain a
vulnerability in the file upload endpoint that allows authenticated users to bypass all file type
restrictions. The upload endpoint within the `ApiFormUploadController` accepts a client-controlled
`validation_rule` parameter. This parameter is directly passed into the Laravel validator without
sufficient server-side enforcement. By intercepting the request and sending `validation_rule[]=file`, an
attacker can completely bypass all MIME type and file extension restrictions. This issue has been
addressed in version 9.20.0 by removing the client-controlled validation rules and strictly defining
upload rules server-side. As a workaround, ensure that the storage disk used for Sharp uploads is strictly
private. Under default configurations, an attacker cannot directly execute uploaded PHP files unless a
public disk configuration is explicitly used. (CVE-2026-33687)

Solution

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

See Also

https://github.com/advisories/GHSA-fr76-5637-w3g9

Plugin Details

Severity: High

ID: 439229

Version: Revision 1.7

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: 4.9

Percentile: 57.88

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

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

cwe: CWE-434