{"items":[{"id":"NVI-00010705","kind":"vulnerability","title":"Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-qr6x-7v33-6qmg","CVE-2026-115924"],"plain_summary":"GitHub lists this reviewed advisory for rembg. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-b9960939a554903a2319b78f81646240"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-27T14:45:38.000Z","value":"8.6 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-b9960939a554903a2319b78f81646240"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-b9960939a554903a2319b78f81646240","url":"https://github.com/advisories/GHSA-qr6x-7v33-6qmg","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-qr6x-7v33-6qmg","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:06:46.371Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-b9960939a554903a2319b78f81646240"],"technology":"rembg","known_exclusions":[],"conditions_summary":"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.\n\n This issue affects SAM's `sam_model` in 2.0.81 and returns complete file contents.\n\n\n\n\n *Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500.*\n\n\n### Technical details\n\n`rembg/commands/s_command.py:188-223,384-397` accepts public `extras` JSON and passes it to `new_session()`. `rembg/sessions/sam.py:313-355` inserts `sam_model` into encoder/decoder filenames and fixed GitHub URLs, then invokes `pooch.retrieve()` without a pinned hash.\n\nRequests removes the URL `#fragment`; the local POSIX path retains it. Pooch creates attacker-selected parent directories without enforcing cache containment. The first request creates the path tree and returns HTTP 500. The identical second request downloads th","public_affected_ranges":["< 2.0.82"]}],"null_published_at":"2026-10-31T22:27:12.376Z","source_updated_at":"2026-10-27T14:45:38.000Z","source_disclosed_at":"2026-10-27T14:45:36.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T22:06:46.371Z"}],"next_cursor":null,"snapshot_revision":"42594"}