rembg
Rembg is a tool to remove images background
Activity
- Latest release
- 1w ago
- Total releases
- 58
- Cadence
- ~14 days
- Last 12 months
- 19
Reach
- Stars
- 25.2k
Details
- License
- MIT
- First release
- Nov 24, 2022
| Version | Released | |
|---|---|---|
2.0.86
patch
|
2.0.86
patch
Dependencies (30)
+ 22 more
Changelog
Compare changes
|
|
2.0.85
patch
|
2.0.85
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.84
patch
|
2.0.84
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.83
patch
|
2.0.83
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.82
patch
|
2.0.82
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.81
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.81
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.80
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.80
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.79
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.79
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.78
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.78
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.77
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.77
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.76
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.76
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.75
patch
1 CVE
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev |
2.0.75
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.74
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
|
2.0.74
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.73
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
|
2.0.73
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.72
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
|
2.0.72
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.71
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
|
2.0.71
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.70
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
|
2.0.70
patch
Dependencies (28)
+ 20 more
Changelog
Compare changes
|
|
2.0.69
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.68
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.67
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.66
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.65
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.64
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.63
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.62
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.61
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.60
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.59
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.58
patch
3 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.57
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.56
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.55
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.54
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.53
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.52
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.51
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.50
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.49
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.48
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.47
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.46
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.45
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.44
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.43
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.41
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.40
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.39
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.38
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.37
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
| ||
2.0.36
patch
5 CVEs
CVE-2026-115924
GHSA-qr6x-7v33-6qmg
Oct 27, 2026
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
8.6
/ 10
High
Network
Low
None
None
Unchanged
High
Low
Low
The public This issue affects SAM's Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500. Technical details
Requests removes the URL The graph uses a relative external tensor to read the target and maps every byte to mask pixels. rembg returns the mask as a PNG, which the attacker decodes back into the original bytes. Screenshot 2 — The identical second request returns HTTP 200 with an encoded PNG. Proof of conceptThe attached loopback-only PoC produced:
The
The decoded contents matched Screenshot 3 — The decoder reconstructs all 839 bytes of ImpactAn unauthenticated attacker can execute arbitrary ONNX computation and disclose complete files that rembg can reach under the required filesystem permissions. The supplied root-running container exposed both RemediationAllow only fixed SAM identifiers mapped server-side to fixed filenames, URLs, and pinned hashes. Reject path and URL syntax; canonicalize destinations and enforce cache containment before creating directories. Run the container as a non-root user with a read-only root filesystem. decode_samfragment_png.py samfragment_04.py samfragment_etc_passwd_lab.py Affected versions
2.0.28
2.0.29
2.0.30
2.0.31
2.0.32
2.0.33
2.0.34
2.0.35
2.0.36
2.0.37
2.0.38
2.0.39
+ 41 more Show less
2.0.40
2.0.41
2.0.43
2.0.44
2.0.45
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58
2.0.59
2.0.60
2.0.61
2.0.62
2.0.63
2.0.64
2.0.65
2.0.66
2.0.67
2.0.68
2.0.69
2.0.70
2.0.71
2.0.72
2.0.73
2.0.74
2.0.75
2.0.76
2.0.77
2.0.78
2.0.79
2.0.80
2.0.81
Fixed in
2.0.82
References
Updated Oct 27, 2026 · Source: OSV.dev
GHSA-55v6-g8pm-pw4c
Apr 10, 2026
rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration
4.3
/ 10
Medium
Network
Low
None
Required
Unchanged
Low
None
None
GitHub Security Lab (GHSL) Vulnerability Report, rembg:
|