Skip to main content

Premsql CVE-2026-5594

| EUVDEUVD-2026-19121 LOW
Code Injection (CWE-94)
2026-04-05 VulDB GHSA-2vh4-chw9-2wfj
2.1
CVSS 4.0 · Vendor: VulDB
View

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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

premsql 0.2.0
premsql 0.2.1

Affected Packages

euvd premsql no fix

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

Vendor (VulDB) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 07, 2026 - 13:20 vuln.today
Public exploit code
CVE Published
Apr 05, 2026 - 18:30 nvd
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy