<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 04:52:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-40647 — Unintentional exposure of environment variables to subprocesses in sentry-sdk</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-40647</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; getsentry sentry-python&lt;/p&gt;
&lt;p&gt;sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry&amp;#39;s Python SDK &amp;lt; 2.8.0 allows the environment variables to be passed to subprocesses despite the `env={}` setting. In Python&amp;#39;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&amp;#39;s not possible, and if passing environment variables to child processes poses a security risk for you, you can disable all default integrations.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; getsentry sentry-python&lt;/p&gt;
&lt;p&gt;sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry&amp;#39;s Python SDK &amp;lt; 2.8.0 allows the environment variables to be passed to subprocesses despite the `env={}` setting. In Python&amp;#39;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&amp;#39;s not possible, and if passing environment variables to child processes poses a security risk for you, you can disable all default integrations.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-40647</guid>
    </item>
    <item>
      <title>GHSA-g92j-qhmh-64v2 — Sentry's Python SDK unintentionally exposes environment variables to subprocesses</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-g92j-qhmh-64v2</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sentry-sdk&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The bug in Sentry&amp;#39;s Python SDK &amp;lt;2.8.0 results in the unintentional exposure of environment variables to subprocesses despite the `env={}` setting.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In Python&amp;#39;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:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={&amp;#34;TEST&amp;#34;:&amp;#34;1&amp;#34;})
b&amp;#39;TEST=1\n&amp;#39;
```&lt;/p&gt;
&lt;p&gt;If you&amp;#39;d want to not pass any variables, you can set an empty dict:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={})
b&amp;#39;&amp;#39;
```&lt;/p&gt;
&lt;p&gt;However, the bug in Sentry SDK &amp;lt;2.8.0 causes **all environment variables** to be passed to the subprocesses when `env={}` is set, unless the Sentry SDK&amp;#39;s [Stdlib](https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib) integration is disabled. The Stdlib integration is enabled by default.&lt;/p&gt;
&lt;p&gt;### 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).&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;We strongly recommend upgrading to the latest SDK version. However, if it&amp;#39;s not possible, and if passing environment variables to child processes poses a security risk for you, there are two options:&lt;/p&gt;
&lt;p&gt;1. In your applicati…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sentry-sdk&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The bug in Sentry&amp;#39;s Python SDK &amp;lt;2.8.0 results in the unintentional exposure of environment variables to subprocesses despite the `env={}` setting.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In Python&amp;#39;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:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={&amp;#34;TEST&amp;#34;:&amp;#34;1&amp;#34;})
b&amp;#39;TEST=1\n&amp;#39;
```&lt;/p&gt;
&lt;p&gt;If you&amp;#39;d want to not pass any variables, you can set an empty dict:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={})
b&amp;#39;&amp;#39;
```&lt;/p&gt;
&lt;p&gt;However, the bug in Sentry SDK &amp;lt;2.8.0 causes **all environment variables** to be passed to the subprocesses when `env={}` is set, unless the Sentry SDK&amp;#39;s [Stdlib](https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib) integration is disabled. The Stdlib integration is enabled by default.&lt;/p&gt;
&lt;p&gt;### 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).&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;We strongly recommend upgrading to the latest SDK version. However, if it&amp;#39;s not possible, and if passing environment variables to child processes poses a security risk for you, there are two options:&lt;/p&gt;
&lt;p&gt;1. In your applicati…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-g92j-qhmh-64v2</guid>
    </item>
    <item>
      <title>PYSEC-2026-1917 — Sentry's Python SDK unintentionally exposes environment variables to subprocesses</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-1917</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sentry-sdk&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The bug in Sentry&amp;#39;s Python SDK &amp;lt;2.8.0 results in the unintentional exposure of environment variables to subprocesses despite the `env={}` setting.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In Python&amp;#39;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:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={&amp;#34;TEST&amp;#34;:&amp;#34;1&amp;#34;})
b&amp;#39;TEST=1\n&amp;#39;
```&lt;/p&gt;
&lt;p&gt;If you&amp;#39;d want to not pass any variables, you can set an empty dict:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={})
b&amp;#39;&amp;#39;
```&lt;/p&gt;
&lt;p&gt;However, the bug in Sentry SDK &amp;lt;2.8.0 causes **all environment variables** to be passed to the subprocesses when `env={}` is set, unless the Sentry SDK&amp;#39;s [Stdlib](https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib) integration is disabled. The Stdlib integration is enabled by default.&lt;/p&gt;
&lt;p&gt;### 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).&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;We strongly recommend upgrading to the latest SDK version. However, if it&amp;#39;s not possible, and if passing environment variables to child processes poses a security risk for you, there are two options:&lt;/p&gt;
&lt;p&gt;1. In your applicati…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sentry-sdk&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The bug in Sentry&amp;#39;s Python SDK &amp;lt;2.8.0 results in the unintentional exposure of environment variables to subprocesses despite the `env={}` setting.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In Python&amp;#39;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:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={&amp;#34;TEST&amp;#34;:&amp;#34;1&amp;#34;})
b&amp;#39;TEST=1\n&amp;#39;
```&lt;/p&gt;
&lt;p&gt;If you&amp;#39;d want to not pass any variables, you can set an empty dict:&lt;/p&gt;
&lt;p&gt;```
&amp;gt;&amp;gt;&amp;gt; subprocess.check_output([&amp;#34;env&amp;#34;], env={})
b&amp;#39;&amp;#39;
```&lt;/p&gt;
&lt;p&gt;However, the bug in Sentry SDK &amp;lt;2.8.0 causes **all environment variables** to be passed to the subprocesses when `env={}` is set, unless the Sentry SDK&amp;#39;s [Stdlib](https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib) integration is disabled. The Stdlib integration is enabled by default.&lt;/p&gt;
&lt;p&gt;### 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).&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;We strongly recommend upgrading to the latest SDK version. However, if it&amp;#39;s not possible, and if passing environment variables to child processes poses a security risk for you, there are two options:&lt;/p&gt;
&lt;p&gt;1. In your applicati…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-1917</guid>
    </item>
  </channel>
</rss>
