<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T21:38:57.094950+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/brew-athenacli-cve-2026-59894</id>
    <title>BREW-athenacli-CVE-2026-59894 — sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes</title>
    <updated>2026-10-02T21:38:57.099708+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: athenacli</p>
<p>### Summary</p>
<p>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's environment.</p>
<p>### Details</p>
<p>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.</p>
<p>The affected modes are exposed through `sqlparse.format(..., output_format='python')`, `sqlparse.format(..., output_format='php')`, 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.</p>
<p>Relevant code locations:</p>
<p>- `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…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/brew-athenacli-cve-2026-59894"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-59894</id>
    <title>CVE-2026-59894 — sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes</title>
    <updated>2026-10-02T21:38:57.099788+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> andialbrecht sqlparse</p>
<p>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='python' and output_format='php' 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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-59894"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-3496-9g83-7v6x</id>
    <title>GHSA-3496-9g83-7v6x — sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes</title>
    <updated>2026-10-02T21:38:57.099820+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: sqlparse</p>
<p>### Summary</p>
<p>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's environment.</p>
<p>### Details</p>
<p>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.</p>
<p>The affected modes are exposed through `sqlparse.format(..., output_format='python')`, `sqlparse.format(..., output_format='php')`, 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.</p>
<p>Relevant code locations:</p>
<p>- `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…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-3496-9g83-7v6x"/>
  </entry>
</feed>
