Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents a medium-to-low real-world risk despite its moderate CVSS score of 5.3. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) correctly identifies the attack as remotely exploitable with low complexity and no authentication or user interaction required, but the impact is limited to information disclosure (confidentiality) with no integrity or availability impact. The attack requires the rembg HTTP server to be directly exposed to untrusted networks, which may not be typical in all deployments. However, the CVSS assessment of low confidentiality impact may be understated if verbose error messages leak sensitive file contents or configuration data. The primary risk materializes in scenarios where rembg is deployed as a public-facing service without network access controls, making the vulnerability a legitimate concern for such deployments. No public exploit code or active exploitation signals are indicated in the available data, reducing the immediate threat urgency, though the fix is straightforward and readily available. |
| Exploit ScenarioDerived | An attacker discovers a rembg HTTP server instance exposed on the public internet. The attacker sends a crafted HTTP request with model_path set to a traversal sequence such as ../../../../etc/passwd, causing the server to attempt loading the system password file as an ONNX model. The server's error response reveals file existence and permissions information, and depending on error message verbosity, may leak portions of the sensitive file. The attacker can iteratively probe for additional sensitive files (configuration files, environment variables, API keys) using similar traversal payloads. No public exploit code is required; the attack requires only standard HTTP request capabilities. While no public exploit code or active exploitation is confirmed in the provided data, the attack is trivial to execute once the vulnerability is understood. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
Unauthenticated remote attackers can exploit a path traversal vulnerability in rembg's HTTP server (versions prior to 2.0.75) by sending a crafted request with a malicious model_path parameter to read arbitrary files from the server filesystem. The vulnerability allows attackers to enumerate file existence and permissions, and potentially extract file contents through verbose error messages when the server attempts to load arbitrary paths as ONNX models. This is a confirmed vulnerability with a vendor-released patch available in version 2.0.75.
RemediationAI
Vendor-released patch: Upgrade rembg to version 2.0.75 or later. This patch is available at https://github.com/danielgatis/rembg/releases/tag/v2.0.75. The fix includes proper path validation in the model_path parameter handler to prevent directory traversal attacks. Users unable to upgrade immediately should restrict network access to the rembg HTTP server to trusted IP addresses or network segments only, ensuring that the service is not directly exposed to the public internet or untrusted users. The upstream fix and detailed security advisory are available at https://github.com/danielgatis/rembg/security/advisories/GHSA-3wqj-33cg-xc48.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Rembg is a background removal tool that exposes an HTTP server interface. The vulnerability exists in the HTTP request handler that processes the model_path parameter without proper path validation, allowing directory traversal sequences (such as ../) to escape the intended model directory. This is a classic CWE-22 path traversal flaw. When the server attempts to open files specified via the traversal path, it may expose sensitive information through error messages that reveal file permissions, existence, and in some cases partial file contents. The vulnerability affects all versions of the danielgatis/rembg package prior to the patched release, as indicated by the CPE cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:*.
Know when Rembg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Rembg is a tool to remove images background. Prior to 2.0.75, a path traversal vulnerability in the rembg HTTP server allows unauthenticated remote attackers to read arbitrary files from the server's filesystem. By sending a crafted request with a malicious model_path parameter, an attacker can force the server to attempt loading any file as an ONNX model, revealing file existence, permissions, and potentially file contents through error messages. This vulnerability is fixed in 2.0.75.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Rembg is a tool to remove images background. Rated high severity (CVSS 8.7), this vulnerability is remotely exploitable,
Rembg is a tool to remove images background. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitabl
Unauthenticated file disclosure and arbitrary ONNX computation in rembg prior to 2.0.82: the public /api/remove endpoint
EUVD-2026-21492
GHSA-3wqj-33cg-xc48
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB