<?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 11:35:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-55585 — QWED: Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-55585</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; QWED-AI qwed-verification&lt;/p&gt;
&lt;p&gt;QWED is open-source AI verification infrastructure for deterministic verification of LLM outputs, tool calls, code, schemas, and agent state before production execution. Prior to 5.1.2, the qwed package passes caller-controlled math expressions directly to SymPy parse_expr() without restricted global_dict and local_dict namespaces, allowing Python eval() to resolve builtins and execute arbitrary Python code in the API server process. In src/qwed_new/api/main.py, POST /verify/math is protected by get_current_tenant but accepts any valid tenant API key, reads the expression field, applies only a cosmetic re.sub(r&amp;#39;(\d)(()&amp;#39;, r&amp;#39;\1*\2&amp;#39;, expression) normalization, and passes the result to parse_expr(). In src/qwed_new/core/batch.py, POST /verify/batch sends math items through batch_service.create_job(), stores item.query verbatim, and _verify_item() passes VerificationType.MATH input to parse_expr() without sanitization. The default-enabled POST /auth/signup endpoint allows anyone to create a standard tenant account, POST /auth/api-keys issues an x-api-key, and either vulnerable path can then be used to read or write files, modify data, execute operating system commands, terminate the service, and compromise other tenants in a shared deployment. This issue is fixed in version 5.1.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; QWED-AI qwed-verification&lt;/p&gt;
&lt;p&gt;QWED is open-source AI verification infrastructure for deterministic verification of LLM outputs, tool calls, code, schemas, and agent state before production execution. Prior to 5.1.2, the qwed package passes caller-controlled math expressions directly to SymPy parse_expr() without restricted global_dict and local_dict namespaces, allowing Python eval() to resolve builtins and execute arbitrary Python code in the API server process. In src/qwed_new/api/main.py, POST /verify/math is protected by get_current_tenant but accepts any valid tenant API key, reads the expression field, applies only a cosmetic re.sub(r&amp;#39;(\d)(()&amp;#39;, r&amp;#39;\1*\2&amp;#39;, expression) normalization, and passes the result to parse_expr(). In src/qwed_new/core/batch.py, POST /verify/batch sends math items through batch_service.create_job(), stores item.query verbatim, and _verify_item() passes VerificationType.MATH input to parse_expr() without sanitization. The default-enabled POST /auth/signup endpoint allows anyone to create a standard tenant account, POST /auth/api-keys issues an x-api-key, and either vulnerable path can then be used to read or write files, modify data, execute operating system commands, terminate the service, and compromise other tenants in a shared deployment. This issue is fixed in version 5.1.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-55585</guid>
    </item>
    <item>
      <title>PYSEC-2026-3914 — qwed Vulnerable to Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-3914</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: qwed&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The `qwed` package (version 5.1.1) passes attacker-controlled input directly to SymPy&amp;#39;s `parse_expr()` function without a restricted namespace. Because `parse_expr()` internally calls Python&amp;#39;s `eval()`, any authenticated tenant can execute arbitrary Python code inside the API server process. The attack requires only a standard user account, which is freely obtainable through the default-enabled `/auth/signup` endpoint. Successful exploitation gives the attacker full read/write access to the filesystem and the ability to execute operating system commands, resulting in complete server compromise.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerability exists in two independently reachable code paths:&lt;/p&gt;
&lt;p&gt;**Primary sink — `POST /verify/math`**&lt;/p&gt;
&lt;p&gt;`src/qwed_new/api/main.py:442` defines the `/verify/math` route, protected only by `get_current_tenant` (line 444), which accepts any valid tenant API key. The request body field `expression` is read at line 463 and passed through a cosmetic regex normalization at line 495 (`re.sub(r&amp;#39;(\d)(\()&amp;#39;, r&amp;#39;\1*\2&amp;#39;, expression)`) that performs no security validation. The normalized string is then passed directly to `parse_expr()` at line 504:&lt;/p&gt;
&lt;p&gt;```python
# src/qwed_new/api/main.py
expression = request.get(&amp;#34;expression&amp;#34;)
...
expression_normalized = re.sub(r&amp;#39;(\d)(\()&amp;#39;, r&amp;#39;\1*\2&amp;#39;, expression)
...
parsed = parse_expr(expression_normalized)   # line 504 — unsandboxed eval
```&lt;/p&gt;
&lt;p&gt;**Secondary sink — `POST /verify/batch`**&lt;/p&gt;
&lt;p&gt;`src/qwed_new/api/main.py:1481` defines the `/verify…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: qwed&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The `qwed` package (version 5.1.1) passes attacker-controlled input directly to SymPy&amp;#39;s `parse_expr()` function without a restricted namespace. Because `parse_expr()` internally calls Python&amp;#39;s `eval()`, any authenticated tenant can execute arbitrary Python code inside the API server process. The attack requires only a standard user account, which is freely obtainable through the default-enabled `/auth/signup` endpoint. Successful exploitation gives the attacker full read/write access to the filesystem and the ability to execute operating system commands, resulting in complete server compromise.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerability exists in two independently reachable code paths:&lt;/p&gt;
&lt;p&gt;**Primary sink — `POST /verify/math`**&lt;/p&gt;
&lt;p&gt;`src/qwed_new/api/main.py:442` defines the `/verify/math` route, protected only by `get_current_tenant` (line 444), which accepts any valid tenant API key. The request body field `expression` is read at line 463 and passed through a cosmetic regex normalization at line 495 (`re.sub(r&amp;#39;(\d)(\()&amp;#39;, r&amp;#39;\1*\2&amp;#39;, expression)`) that performs no security validation. The normalized string is then passed directly to `parse_expr()` at line 504:&lt;/p&gt;
&lt;p&gt;```python
# src/qwed_new/api/main.py
expression = request.get(&amp;#34;expression&amp;#34;)
...
expression_normalized = re.sub(r&amp;#39;(\d)(\()&amp;#39;, r&amp;#39;\1*\2&amp;#39;, expression)
...
parsed = parse_expr(expression_normalized)   # line 504 — unsandboxed eval
```&lt;/p&gt;
&lt;p&gt;**Secondary sink — `POST /verify/batch`**&lt;/p&gt;
&lt;p&gt;`src/qwed_new/api/main.py:1481` defines the `/verify…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-3914</guid>
    </item>
  </channel>
</rss>
