{"id":"CVE-2025-25301","published":"2025-03-03T16:36:09Z","modified":"2025-03-03T18:27:16Z","title":"Rembg allows SSRF via /api/remove","vendor":"danielgatis","product":"rembg","tier":"tail","description":{"text":"Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the /api/remove endpoint takes a URL query parameter that allows an image to be fetched, processed and returned. An attacker may be able to query this endpoint to view pictures hosted on the internal network of the rembg server. This issue may lead to Information Disclosure.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00705,"percentile":0.48951,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":9.79},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"danielgatis","affectedVersions":[{"vendor":"danielgatis","product":"rembg","versions":["<= 2.0.57"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-03T18:07:11.178777Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"rembg","vulnerableRanges":["<=2.0.57","<2.0.58"],"patched":["2.0.58"],"from":["GHSA-r5gx-c49x-h878","PYSEC-2025-24"],"provenance":"source"}],"summary":{"text":"The rembg background-removal tool, from danielgatis, has a server-side request forgery flaw in its /api/remove endpoint, which accepts a URL parameter and fetches the image at that address. An unauthenticated remote attacker can send requests through this endpoint to reach pictures hosted on the rembg server's internal network, with no user interaction or special configuration needed, which can lead to information disclosure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:59Z"},"euvd":{"id":"EUVD-2025-6006","exploited":false,"provenance":"source"}}