Security mailing lists by PureSourceCode

CVE-2026-40086

MEDIUM 5.3CVSS 3.1

Rembg has a Path Traversal via Custom Model Loading

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.

Published
10 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-73
Also known as
GHSA-3wqj-33cg-xc48PYSEC-2026-2274
Sources
NVDJSONOSV GHSA-3wqj-33cg-xc48JSONOSV PYSEC-2026-2274JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD danielgatis rembg
cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:*
< 2.0.75 2.0.75
OSV PyPI rembg < 2.0.75 2.0.75

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 10 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.