Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Despite the moderate CVSS score of 6.3, this vulnerability presents significant real-world risk. The CVSS vector shows AV:N (network-accessible), AC:L (low attack complexity), and PR:L (low privilege requirement-authenticated users only), making exploitation straightforward for any authenticated attacker once inside a system or with valid credentials. The presence of publicly available exploit code (E:P in CVSS) substantially increases exploitation probability and lowers the barrier to attack execution. The vulnerability achieves full confidentiality, integrity, and availability impact (C:L/I:L/A:L), enabling data theft, system compromise, and service disruption. The vendor's non-response to disclosure is a critical signal that no official patch timeline exists. From a SSVC perspective, this is a high-priority issue: exploitation is public, impact is complete system compromise (RCE), and the attack requires only authentication-not a zero-day but a serious patching urgency given the lack of vendor cooperation. |
| Exploit ScenarioDerived | An authenticated attacker with access to a premAI-io premsql deployment (such as a legitimate user account or an attacker who has compromised valid credentials) submits a crafted SQL query or result parameter to the followup agent endpoint. The malicious input is passed to the eval() function in followup.py without sanitization, allowing the attacker to inject and execute arbitrary Python code-such as commands to exfiltrate sensitive data, modify database records, or establish a reverse shell for persistent access. A proof-of-concept exploit is publicly available at https://github.com/Ka7arotto/cve/blob/main/premsql-rce/poc.py, significantly reducing the technical skill required to perform such an attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 05, 2026
Remote code execution in premAI-io premsql up to version 0.2.1 allows authenticated remote attackers to achieve arbitrary code execution through code injection via manipulation of the result argument in the eval function located in premsql/agents/baseline/workers/followup.py. Publicly available exploit code exists for this vulnerability, and the vendor has not responded to early disclosure attempts, leaving affected deployments without an official patch.
RemediationAI
No vendor-released patch identified at time of analysis; the vendor was contacted early but has not responded. Users of premAI-io premsql should immediately upgrade to a version greater than 0.2.1 if one becomes available, or discontinue use of the affected component until vendor updates are released. As an interim mitigation, restrict network access and authentication to the premsql agent endpoints to trusted users only, implement strict input validation on result arguments before they reach the eval function if source code modification is feasible, and monitor for suspicious code execution patterns within premsql process logs. Additional guidance may be found in VulDB records at https://vuldb.com/vuln/355388 and the public issue documentation at https://github.com/Ka7arotto/cve/blob/main/premsql-rce/issue.md.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
premAI-io premsql is a Python-based SQL agent library that processes and evaluates SQL-related operations. The vulnerability stems from unsafe use of the eval() function in the followup.py worker module, which is classified as CWE-94 (Improper Control of Generation of Code or Code Injection). The eval() function executes arbitrary Python code derived from user-supplied input (the result argument), bypassing any code boundary restrictions. This is a classic code injection vulnerability pattern where dynamically constructed code is executed without proper sanitization or sandboxing. The attack surface is exposed through the baseline agents workflow, which processes followup queries and results.
Know when Premsql gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-19121
GHSA-2vh4-chw9-2wfj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB