<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T10:29:41.107195+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2024-40647</id>
    <title>CVE-2024-40647 — Unintentional exposure of environment variables to subprocesses in sentry-sdk</title>
    <updated>2026-09-29T10:29:41.169947+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> getsentry sentry-python</p>
<p>sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry's Python SDK &lt; 2.8.0 allows the environment variables to be passed to subprocesses despite the `env={}` setting. In Python's `subprocess` calls, all environment variables are passed to subprocesses by default. However, if you specifically do not want them to be passed to subprocesses, you may use `env` argument in `subprocess` calls. Due to the bug in Sentry SDK, with the Stdlib integration enabled (which is enabled by default), this expectation is not fulfilled, and all environment variables are being passed to subprocesses instead. The issue has been patched in pull request #3251 and is included in sentry-sdk==2.8.0. We strongly recommend upgrading to the latest SDK version. However, if it's not possible, and if passing environment variables to child processes poses a security risk for you, you can disable all default integrations.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-40647"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-g92j-qhmh-64v2</id>
    <title>GHSA-g92j-qhmh-64v2 — Sentry's Python SDK unintentionally exposes environment variables to subprocesses</title>
    <updated>2026-09-29T10:29:41.170072+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: sentry-sdk</p>
<p>### Impact</p>
<p>The bug in Sentry's Python SDK &lt;2.8.0 results in the unintentional exposure of environment variables to subprocesses despite the `env={}` setting.</p>
<p>### Details</p>
<p>In Python's `subprocess` calls, all environment variables are passed to subprocesses by default. However, if you specifically do not want them to be passed to subprocesses, you may use `env` argument in `subprocess` calls, like in this example:</p>
<p>```
&gt;&gt;&gt; subprocess.check_output(["env"], env={"TEST":"1"})
b'TEST=1\n'
```</p>
<p>If you'd want to not pass any variables, you can set an empty dict:</p>
<p>```
&gt;&gt;&gt; subprocess.check_output(["env"], env={})
b''
```</p>
<p>However, the bug in Sentry SDK &lt;2.8.0 causes **all environment variables** to be passed to the subprocesses when `env={}` is set, unless the Sentry SDK's [Stdlib](https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib) integration is disabled. The Stdlib integration is enabled by default.</p>
<p>### Patches
The issue has been patched in https://github.com/getsentry/sentry-python/pull/3251 and the fix released in [sentry-sdk==2.8.0](https://github.com/getsentry/sentry-python/releases/tag/2.8.0). The fix was also backported to [sentry-sdk==1.45.1](https://github.com/getsentry/sentry-python/releases/tag/1.45.1).</p>
<p>### Workarounds</p>
<p>We strongly recommend upgrading to the latest SDK version. However, if it's not possible, and if passing environment variables to child processes poses a security risk for you, there are two options:</p>
<p>1. In your applicati…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-g92j-qhmh-64v2"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-1917</id>
    <title>PYSEC-2026-1917 — Sentry's Python SDK unintentionally exposes environment variables to subprocesses</title>
    <updated>2026-09-29T10:29:41.170160+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: sentry-sdk</p>
<p>### Impact</p>
<p>The bug in Sentry's Python SDK &lt;2.8.0 results in the unintentional exposure of environment variables to subprocesses despite the `env={}` setting.</p>
<p>### Details</p>
<p>In Python's `subprocess` calls, all environment variables are passed to subprocesses by default. However, if you specifically do not want them to be passed to subprocesses, you may use `env` argument in `subprocess` calls, like in this example:</p>
<p>```
&gt;&gt;&gt; subprocess.check_output(["env"], env={"TEST":"1"})
b'TEST=1\n'
```</p>
<p>If you'd want to not pass any variables, you can set an empty dict:</p>
<p>```
&gt;&gt;&gt; subprocess.check_output(["env"], env={})
b''
```</p>
<p>However, the bug in Sentry SDK &lt;2.8.0 causes **all environment variables** to be passed to the subprocesses when `env={}` is set, unless the Sentry SDK's [Stdlib](https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib) integration is disabled. The Stdlib integration is enabled by default.</p>
<p>### Patches
The issue has been patched in https://github.com/getsentry/sentry-python/pull/3251 and the fix released in [sentry-sdk==2.8.0](https://github.com/getsentry/sentry-python/releases/tag/2.8.0). The fix was also backported to [sentry-sdk==1.45.1](https://github.com/getsentry/sentry-python/releases/tag/1.45.1).</p>
<p>### Workarounds</p>
<p>We strongly recommend upgrading to the latest SDK version. However, if it's not possible, and if passing environment variables to child processes poses a security risk for you, there are two options:</p>
<p>1. In your applicati…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-1917"/>
  </entry>
</feed>
