CVE-2026-5594 premAI-io premsql followup.py eval code injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via eval injection in premsql's followup.py, requiring immediate mitigation as no vendor fix is available.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5594?

CVE-2026-5594 is a medium-severity code injection vulnerability in premAI-io premsql, published on 5 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2026-5594?

How do I fix CVE-2026-5594?

No fix has been published for CVE-2026-5594 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-5594 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5594 exists.

Sources

Also known as GHSA-2vh4-chw9-2wfj.

Is CVE-2026-5594 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free