Live › vulnerability › CVE-2026-115924
Go to dashboardRembg, a Python tool that removes image backgrounds, passed an attacker-controlled sam_model value from its public /api/remove endpoint into SAM model filenames and download URLs without pinning hashes. A remote, unauthenticated attacker can make the server download malicious ONNX models and read complete files the rembg process can access, returning their bytes in the PNG mask.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-26 20:50 UTC. All times on this page are UTC.
Teams running rembg 2.0.81 or earlier as a web service that exposes the public /api/remove endpoint to untrusted users are exposed, because the sam_model parameter is reachable without authentication. Teams using rembg only as a local library or command line tool without the HTTP API, or running an upgraded version, can skip it.
No product ranges from the sources yet.
pip show rembg and compare the version with 2.0.822.0.82 or laterEach row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
This page as .md · .json · in your agent: get_signal("CVE-2026-115924")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.