Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
An unauthenticated model injection vulnerability in rembg allows attackers to place malicious ONNX models next to target files via path traversal. By executing arbitrary ONNX computation, attackers can read sensitive local files and exfiltrate their contents encoded inside returned PNG images.