CVE-2026-5587 wbbeyourself MAC-SQL Refiner Agent agents.py _execute_sql sql injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary SQL commands via the Refiner Agent's _execute_sql function in MAC-SQL, potentially reading or modifying database contents.

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-5587?

CVE-2026-5587 is a medium-severity SQL injection vulnerability in wbbeyourself MAC-SQL, published on 5 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was identified in wbbeyourself MAC-SQL up to 31a9df5e0d520be4769be57a4b9022e5e34a14f4. This affects the function _execute_sql of the file core/agents.py of the component Refiner Agent. The manipulation leads to sql injection. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-5587?

How do I fix CVE-2026-5587?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-5587 being exploited?

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

Sources

Also known as GHSA-r28h-q9xq-2qxp.

Is CVE-2026-5587 in your software?

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

Check your SBOMs for free