CVE-2026-45227 Heym < 0.0.21 Sandbox Escape via Python Introspection

High 8.7 Published Updated

Authenticated users can escape the Python sandbox to execute arbitrary host commands and access sensitive backend credentials.

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

CVE-2026-45227 is a high-severity code injection vulnerability in heymrun heym, published on 12 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Heym before 0.0.21 contains a sandbox escape vulnerability in the custom Python tool executor that allows authenticated workflow authors to bypass sandbox restrictions by using object-graph introspection primitives. Attackers can use Python introspection techniques to recover the unrestricted __import__ function, import blocked modules such as os and subprocess, and access inherited backend environment variables containing database credentials and encryption keys to execute arbitrary host commands as the backend service user.

Weakness: CWE-693

Which versions are affected by CVE-2026-45227?

How do I fix CVE-2026-45227?

No fix has been published for CVE-2026-45227 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-45227 being exploited?

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

Sources

Also known as GHSA-vhhj-j98h-xx8p.

Is CVE-2026-45227 in your software?

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

Check your SBOMs for free