{"cve":"CVE-2025-25301","nvd":{"published":"2025-03-03T17:15:14.740","modified":"2026-06-17T09:00:38.790","status":"Analyzed","description":"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.","cvss_v4":{"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-918"],"references":["https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/"],"products":["danielgatis:rembg"],"source":"nvd","synced_at":"2026-10-19T21:59:48.811064707+00:00"},"epss":{"cve":"CVE-2025-25301","score":0.00526,"percentile":0.44568,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r5gx-c49x-h878","url":"https://osv.dev/vulnerability/GHSA-r5gx-c49x-h878","summary":"Rembg allows SSRF via /api/remove","modified":"2025-04-09T17:59:20.454660Z","packages":[{"ecosystem":"PyPI","name":"rembg","purl":"pkg:pypi/rembg","ranges":["<=2.0.57"],"fixed":[]}]},{"id":"PYSEC-2025-24","url":"https://osv.dev/vulnerability/PYSEC-2025-24","summary":"","modified":"2026-06-10T17:02:36.003127407Z","packages":[{"ecosystem":"PyPI","name":"rembg","purl":"pkg:pypi/rembg","ranges":["<2.0.58"],"fixed":["2.0.58"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}