<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 28 Oct 2026 11:33:27 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-115924</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-115924</link>
      <description>&lt;p&gt;Rembg is a tool to remove images background. Prior to 2.0.82, the public /api/remove endpoint passes attacker-controlled extras.sam_model through rembg/commands/s_command.py to rembg/sessions/sam.py, where it is interpolated into SAM filenames and GitHub download URLs passed to pooch.retrieve() without a pinned hash. An unauthenticated attacker can supply a sam_model value combining path traversal with URL fragment syntax to exploit the HTTP request discarding the fragment while the local POSIX path retains it. The first request primes the attacker-selected path tree, and an identical repeated request downloads malicious ONNX encoder and decoder files beside a readable target file. The graphs can load the target through ONNX external data and encode its bytes into the returned PNG mask, disclosing complete files accessible to the rembg process and allowing arbitrary ONNX computation. This issue is fixed in version 2.0.82.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Rembg is a tool to remove images background. Prior to 2.0.82, the public /api/remove endpoint passes attacker-controlled extras.sam_model through rembg/commands/s_command.py to rembg/sessions/sam.py, where it is interpolated into SAM filenames and GitHub download URLs passed to pooch.retrieve() without a pinned hash. An unauthenticated attacker can supply a sam_model value combining path traversal with URL fragment syntax to exploit the HTTP request discarding the fragment while the local POSIX path retains it. The first request primes the attacker-selected path tree, and an identical repeated request downloads malicious ONNX encoder and decoder files beside a readable target file. The graphs can load the target through ONNX external data and encode its bytes into the returned PNG mask, disclosing complete files accessible to the rembg process and allowing arbitrary ONNX computation. This issue is fixed in version 2.0.82.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-115924</guid>
    </item>
    <item>
      <title>GHSA-qr6x-7v33-6qmg — Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs</title>
      <link>https://db.gcve.eu/vuln/ghsa-qr6x-7v33-6qmg</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: rembg&lt;/p&gt;
&lt;p&gt;The public `/api/remove` endpoint uses attacker-controlled `extras.sam_model` in both SAM filenames and GitHub download URLs. Path traversal plus a URL fragment lets an unauthenticated attacker place malicious ONNX models beside a target file. The models read the file as ONNX external data and encode its bytes into the returned PNG.&lt;/p&gt;
&lt;p&gt;This issue affects SAM&amp;#39;s `sam_model` in 2.0.81 and returns complete file contents.&lt;/p&gt;
&lt;p&gt;&amp;lt;img width=&amp;#34;2172&amp;#34; height=&amp;#34;1182&amp;#34; alt=&amp;#34;image&amp;#34; src=&amp;#34;https://github.com/user-attachments/assets/70aacab1-5ef8-4aad-b30e-e3780adef4d2&amp;#34; /&amp;gt;&lt;/p&gt;
&lt;p&gt;*Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500.*&lt;/p&gt;
&lt;p&gt;### Technical details&lt;/p&gt;
&lt;p&gt;`rembg/commands/s_command.py:188-223,384-397` accepts public `extras` JSON and passes it to `new_session()`. `rembg/sessions/sam.py:313-355` inserts `sam_model` into encoder/decoder filenames and fixed GitHub URLs, then invokes `pooch.retrieve()` without a pinned hash.&lt;/p&gt;
&lt;p&gt;Requests removes the URL `#fragment`; the local POSIX path retains it. Pooch creates attacker-selected parent directories without enforcing cache containment. The first request creates the path tree and returns HTTP 500. The identical second request downloads the attacker asset twice and stores it as both SAM models beside the target.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&amp;lt;img width=&amp;#34;2432&amp;#34; height=&amp;#34;1254&amp;#34; al…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: rembg&lt;/p&gt;
&lt;p&gt;The public `/api/remove` endpoint uses attacker-controlled `extras.sam_model` in both SAM filenames and GitHub download URLs. Path traversal plus a URL fragment lets an unauthenticated attacker place malicious ONNX models beside a target file. The models read the file as ONNX external data and encode its bytes into the returned PNG.&lt;/p&gt;
&lt;p&gt;This issue affects SAM&amp;#39;s `sam_model` in 2.0.81 and returns complete file contents.&lt;/p&gt;
&lt;p&gt;&amp;lt;img width=&amp;#34;2172&amp;#34; height=&amp;#34;1182&amp;#34; alt=&amp;#34;image&amp;#34; src=&amp;#34;https://github.com/user-attachments/assets/70aacab1-5ef8-4aad-b30e-e3780adef4d2&amp;#34; /&amp;gt;&lt;/p&gt;
&lt;p&gt;*Screenshot 1 — First unauthenticated request primes the path and returns HTTP 500.*&lt;/p&gt;
&lt;p&gt;### Technical details&lt;/p&gt;
&lt;p&gt;`rembg/commands/s_command.py:188-223,384-397` accepts public `extras` JSON and passes it to `new_session()`. `rembg/sessions/sam.py:313-355` inserts `sam_model` into encoder/decoder filenames and fixed GitHub URLs, then invokes `pooch.retrieve()` without a pinned hash.&lt;/p&gt;
&lt;p&gt;Requests removes the URL `#fragment`; the local POSIX path retains it. Pooch creates attacker-selected parent directories without enforcing cache containment. The first request creates the path tree and returns HTTP 500. The identical second request downloads the attacker asset twice and stores it as both SAM models beside the target.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&amp;lt;img width=&amp;#34;2432&amp;#34; height=&amp;#34;1254&amp;#34; al…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-qr6x-7v33-6qmg</guid>
    </item>
  </channel>
</rss>
