SCA: security update for rembg (GHSA-qr6x-7v33-6qmg)

high Tenable Self-Hosted Container Security Plugin ID 477652

Description

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

- Rembg is a tool to remove images background. Prior to 2.0.82, the public /api/remove endpoint passes
attacker-controlled extras.sam_model through rembg/commands/s_command.py to rembg/sessions/sam.py, where
it is interpolated into SAM filenames and GitHub download URLs passed to pooch.retrieve() without a pinned
hash. An unauthenticated attacker can supply a sam_model value combining path traversal with URL fragment
syntax to exploit the HTTP request discarding the fragment while the local POSIX path retains it. The
first request primes the attacker-selected path tree, and an identical repeated request downloads
malicious ONNX encoder and decoder files beside a readable target file. The graphs can load the target
through ONNX external data and encode its bytes into the returned PNG mask, disclosing complete files
accessible to the rembg process and allowing arbitrary ONNX computation. This issue is fixed in version
2.0.82. (CVE-2026-115924)

Solution

Update the rembg library and its related packages to version 2.0.82 or later.

See Also

https://github.com/advisories/GHSA-qr6x-7v33-6qmg

Plugin Details

Severity: High

ID: 477652

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 10/27/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.56

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-115924

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/27/2026

Vulnerability Publication Date: 10/26/2026

Reference Information

CVE: CVE-2026-115924

cwe: CWE-22