## Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs

- 種別: advisory
- 重大度: high
- 関連技術: python
- CVE: CVE-2026-115924
- 公開日時: 2026-10-27T14:45:36.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-qr6x-7v33-6qmg)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-qr6x-7v33-6qmg

影響: pip:rembg < 2.0.82 → 2.0.82
The public /api/remove endpoint uses attacker-controlled extras.sam_model in both SAM filenames and GitHub download URLs. Path traversal plus a URL fragment lets an unauthenticated attacker place malicious ONNX models beside a target file. The models read the file as ONNX external data and encode its bytes into the returned PNG. This issue affects SAM's sam_model in 2.0.81 and returns complete file contents. Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Tech…