CVE-2026-115924 json
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
published 14d ago modified 10d ago also EUVD-2026-110073 , GHSA-qr6x-7v33-6qmg
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi rembg 2.0.82
- danielgatis rembg 2.0.82
Is CVE-2026-115924 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 10d ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/danielgatis/rembg/security/advisories/GHSA-qr6x-7v33-6qmg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | rembg | <2.0.82 |
2.0.82 |
Affected products
- danielgatis rembg
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/danielgatis/rembg/commit/b2758c6b39bb2b02df90a03128110339476984d3
web
-
github.com
/danielgatis/rembg/security/advisories/GHSA-qr6x-7v33-6qmg
exploit, web
-
github.com
/danielgatis/rembg/releases/tag/v2.0.82
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-115924
advisory
-
github.com
/danielgatis/rembg
package
Sources
- CVE List CVE-2026-115924
- GitHub Advisory GHSA-qr6x-7v33-6qmg
- NVD CVE-2026-115924
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.