<?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://cve.radiocsirt.org</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>Fri, 02 Oct 2026 19:10:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-59894 — sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-59894</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; andialbrecht sqlparse&lt;/p&gt;
&lt;p&gt;sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format output_format=&amp;#39;python&amp;#39; and output_format=&amp;#39;php&amp;#39; and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the generated string and inject Python or PHP code when a downstream consumer executes or imports the generated source. This issue is fixed in version 0.6.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; andialbrecht sqlparse&lt;/p&gt;
&lt;p&gt;sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format output_format=&amp;#39;python&amp;#39; and output_format=&amp;#39;php&amp;#39; and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the generated string and inject Python or PHP code when a downstream consumer executes or imports the generated source. This issue is fixed in version 0.6.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-59894</guid>
    </item>
    <item>
      <title>GHSA-3496-9g83-7v6x — sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-3496-9g83-7v6x</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sqlparse&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The documented Python and PHP output modes generate source-code snippets from caller-supplied SQL. Their output filters escape quote characters without first escaping existing backslashes. Crafted SQL can therefore neutralize the generated quote escape, terminate the intended language string, and place attacker-controlled code into the generated snippet. If a downstream consumer executes or imports that generated source, the injected code runs in the consumer&amp;#39;s environment.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The Python output filter places SQL in a single-quoted string and replaces each single quote with an escaped quote. The PHP output filter performs the equivalent operation for a double-quoted string. Neither transformation escapes pre-existing backslashes before escaping quotes. A backslash supplied immediately before a quote causes the generated backslash to be escaped instead of the quote, allowing the quote to close the string.&lt;/p&gt;
&lt;p&gt;The affected modes are exposed through `sqlparse.format(..., output_format=&amp;#39;python&amp;#39;)`, `sqlparse.format(..., output_format=&amp;#39;php&amp;#39;)`, and the corresponding `sqlformat -l` options. Formatting produces the injected source but does not itself execute it; code execution occurs when a downstream workflow treats the generated snippet as Python or PHP code.&lt;/p&gt;
&lt;p&gt;Relevant code locations:&lt;/p&gt;
&lt;p&gt;- `sqlparse/formatter.py:193` — selection of the output-language filters
- `sqlparse/filters/output.py:45` — opening of the generated Python string
- `sqlparse/filters/output.py:6…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sqlparse&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The documented Python and PHP output modes generate source-code snippets from caller-supplied SQL. Their output filters escape quote characters without first escaping existing backslashes. Crafted SQL can therefore neutralize the generated quote escape, terminate the intended language string, and place attacker-controlled code into the generated snippet. If a downstream consumer executes or imports that generated source, the injected code runs in the consumer&amp;#39;s environment.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The Python output filter places SQL in a single-quoted string and replaces each single quote with an escaped quote. The PHP output filter performs the equivalent operation for a double-quoted string. Neither transformation escapes pre-existing backslashes before escaping quotes. A backslash supplied immediately before a quote causes the generated backslash to be escaped instead of the quote, allowing the quote to close the string.&lt;/p&gt;
&lt;p&gt;The affected modes are exposed through `sqlparse.format(..., output_format=&amp;#39;python&amp;#39;)`, `sqlparse.format(..., output_format=&amp;#39;php&amp;#39;)`, and the corresponding `sqlformat -l` options. Formatting produces the injected source but does not itself execute it; code execution occurs when a downstream workflow treats the generated snippet as Python or PHP code.&lt;/p&gt;
&lt;p&gt;Relevant code locations:&lt;/p&gt;
&lt;p&gt;- `sqlparse/formatter.py:193` — selection of the output-language filters
- `sqlparse/filters/output.py:45` — opening of the generated Python string
- `sqlparse/filters/output.py:6…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-3496-9g83-7v6x</guid>
    </item>
    <item>
      <title>PYSEC-2026-3696 — sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes</title>
      <link>https://cve.radiocsirt.org/vuln/pysec-2026-3696</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sqlparse&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The documented Python and PHP output modes generate source-code snippets from caller-supplied SQL. Their output filters escape quote characters without first escaping existing backslashes. Crafted SQL can therefore neutralize the generated quote escape, terminate the intended language string, and place attacker-controlled code into the generated snippet. If a downstream consumer executes or imports that generated source, the injected code runs in the consumer&amp;#39;s environment.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The Python output filter places SQL in a single-quoted string and replaces each single quote with an escaped quote. The PHP output filter performs the equivalent operation for a double-quoted string. Neither transformation escapes pre-existing backslashes before escaping quotes. A backslash supplied immediately before a quote causes the generated backslash to be escaped instead of the quote, allowing the quote to close the string.&lt;/p&gt;
&lt;p&gt;The affected modes are exposed through `sqlparse.format(..., output_format=&amp;#39;python&amp;#39;)`, `sqlparse.format(..., output_format=&amp;#39;php&amp;#39;)`, and the corresponding `sqlformat -l` options. Formatting produces the injected source but does not itself execute it; code execution occurs when a downstream workflow treats the generated snippet as Python or PHP code.&lt;/p&gt;
&lt;p&gt;Relevant code locations:&lt;/p&gt;
&lt;p&gt;- `sqlparse/formatter.py:193` — selection of the output-language filters
- `sqlparse/filters/output.py:45` — opening of the generated Python string
- `sqlparse/filters/output.py:6…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: sqlparse&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The documented Python and PHP output modes generate source-code snippets from caller-supplied SQL. Their output filters escape quote characters without first escaping existing backslashes. Crafted SQL can therefore neutralize the generated quote escape, terminate the intended language string, and place attacker-controlled code into the generated snippet. If a downstream consumer executes or imports that generated source, the injected code runs in the consumer&amp;#39;s environment.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The Python output filter places SQL in a single-quoted string and replaces each single quote with an escaped quote. The PHP output filter performs the equivalent operation for a double-quoted string. Neither transformation escapes pre-existing backslashes before escaping quotes. A backslash supplied immediately before a quote causes the generated backslash to be escaped instead of the quote, allowing the quote to close the string.&lt;/p&gt;
&lt;p&gt;The affected modes are exposed through `sqlparse.format(..., output_format=&amp;#39;python&amp;#39;)`, `sqlparse.format(..., output_format=&amp;#39;php&amp;#39;)`, and the corresponding `sqlformat -l` options. Formatting produces the injected source but does not itself execute it; code execution occurs when a downstream workflow treats the generated snippet as Python or PHP code.&lt;/p&gt;
&lt;p&gt;Relevant code locations:&lt;/p&gt;
&lt;p&gt;- `sqlparse/formatter.py:193` — selection of the output-language filters
- `sqlparse/filters/output.py:45` — opening of the generated Python string
- `sqlparse/filters/output.py:6…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/pysec-2026-3696</guid>
    </item>
  </channel>
</rss>
