CVE-2026-5594 Details
Description
A weakness has been identified in premAI-io premsql up to 0.2.1. Affected is the function eval of the file premsql/agents/baseline/workers/followup.py. This manipulation of the argument result causes code injection. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
A remote code execution vulnerability has been identified in the premAI-io premsql library, specifically in versions through 0.2.1. The issue arises from the unsafe use of the eval() function in the file premsql/agents/baseline/workers/followup.py. This vulnerability allows for code injection by manipulating the output of a language model, which is then executed on the server.
It is recommended to avoid using eval() for parsing data. Instead, use json.loads() to safely parse JSON strings and ensure that the language model outputs valid JSON.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 5, 2026CISA-ADP
Assessed Apr 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Ka7arotto/cve/blob/main/premsql-rce/issue.md | [email protected] | ExploitRemedy |
| https://github.com/Ka7arotto/cve/blob/main/premsql-rce/poc.py | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/784462 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/355388 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/355388/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| premAI-io premsql | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 5, 2026 | New CVE Received | [email protected] |
Volerion