Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40086: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in danielgatis rembg

0
Medium
VulnerabilityCVE-2026-40086cvecve-2026-40086cwe-22cwe-73
Published: Fri Apr 10 2026 (04/10/2026, 16:16:28 UTC)
Source: CVE Database V5
Vendor/Project: danielgatis
Product: rembg

Description

CVE-2026-40086 is a path traversal vulnerability in the rembg tool prior to version 2. 0. 75. It allows unauthenticated remote attackers to read arbitrary files on the server by exploiting a crafted request with a malicious model_path parameter. This causes the server to attempt loading arbitrary files as ONNX models, potentially revealing file existence, permissions, and contents through error messages. The vulnerability has a medium severity with a CVSS score of 5. 3 and is fixed in version 2. 0. 75.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/10/2026, 18:51:16 UTC

Technical Analysis

Rembg versions before 2.0.75 contain a path traversal vulnerability (CWE-22) in its HTTP server component. An attacker can send a specially crafted request with a malicious model_path parameter to force the server to load arbitrary files from the filesystem as ONNX models. This can disclose information about file existence, permissions, and possibly file contents via error messages. The vulnerability does not require authentication and has no impact on integrity or availability. It is addressed in rembg version 2.0.75.

Potential Impact

The vulnerability allows unauthenticated remote attackers to read arbitrary files on the server hosting rembg, potentially exposing sensitive information. The CVSS score of 5.3 reflects a medium impact primarily on confidentiality. There is no impact on integrity or availability according to the CVSS vector. No known exploits are reported in the wild at this time.

Mitigation Recommendations

This vulnerability is fixed in rembg version 2.0.75. Users should upgrade to version 2.0.75 or later to remediate this issue. Patch status is confirmed by the vendor stating the fix is included in version 2.0.75. No additional mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T00:39:12.206Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d943121cc7ad14dadcb1ba

Added to database: 4/10/2026, 6:36:02 PM

Last enriched: 4/10/2026, 6:51:16 PM

Last updated: 4/11/2026, 12:26:44 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses