CVE-2026-115924
Last modified
CVE-2026-115924 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| danielgatis | rembg | < 2.0.82 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-115924?
How severe is CVE-2026-115924?
How do I fix CVE-2026-115924?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-115919Open Neural Network Exchange (ONNX) is an open standard for …6.2
- CVE-2026-11592The Email Subscribers & Newsletters – Email Marketing, Post …4.3
- CVE-2026-115920Open Neural Network Exchange (ONNX) is an open standard for …6.2
- CVE-2026-115921Open Neural Network Exchange (ONNX) is an open standard for …6.2
- CVE-2026-115922Open Neural Network Exchange (ONNX) is an open standard for …6.2
- CVE-2026-115923Backstage is an open framework for building developer portal…6.5
- CVE-2026-115927Tornado is a Python web framework and asynchronous networkin…5.3
- CVE-2026-115929MongoDB Compass relies on Electron, a third-party runtime th…6.8
- CVE-2026-115930The MongoDB Shell (mongosh) relies on Node.js as a third-par…6.8
- CVE-2026-115931Postiz lets a signed-in user ask the backend to run a functi…9.9
- CVE-2026-115932When a post is published, Postiz treats a media path that is…9.6
- CVE-2026-115933Postiz signs its session, invitation and password reset toke…9.9
Are you affected by CVE-2026-115924?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
