HighVulnerability
CVE-2026-115924: Rembg unauthenticated file disclosure through public /api/remove endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-115924
- Published
- Record updated
- Affected
- rembg < 2.0.82
- Fixed in
- 2.0.82
- released September 2, 2026, 54 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
Rembg versions before 2.0.82 expose the public /api/remove endpoint, which passes the attacker-controlled extras.sam_model value into SAM filenames and GitHub download URLs fetched by pooch.retrieve() without a pinned hash. An unauthenticated attacker can use path traversal combined with URL fragment syntax to make attacker-chosen ONNX encoder and decoder files download beside a target file, which the graphs can read via ONNX external data and encode into the returned PNG mask, disclosing complete files readable by the rembg process and enabling arbitrary ONNX computation.
Mitigation
This issue is fixed in version 2.0.82.
Related items
- MediumCVE-2026-124588: huggingface finetrainers code injection via Library argumentSimilar attack · NVD/CVE Database
- MediumTaiwan-Based Hacker Used BOSSAI AI Agents to Steal Taipei Emergency Dispatch RecordsSimilar attack · The Hacker News
- MediumOn the hunt for ARTEX: understanding agentic attacks in AWS environmentsSimilar attack · Datadog Security Labs
- CriticalCVE-2026-102895: GPUStack Improper Authentication VulnerabilitySimilar attack · CISA Known Exploited Vulnerabilities
- HighCVE-2026-97677: IBM Langflow OSS arbitrary file write and read by authenticated flow authorsSimilar attack · NVD/CVE Database