CVE-2026-79988 Authenticated RCE through Twig sandbox escape

High 8.7 Published Updated

Authenticated attackers can execute arbitrary code by exploiting a Twig sandbox escape in Craft CMS that permits dangerous Yii framework functionality.

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

CVE-2026-79988 is a high-severity code injection vulnerability in craftcms cms, published on 27 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Twig sandbox mechanism in Craft CMS is configured to allow dangerous functionality from the Yii framework, leading to authenticated RCE similar to previously disclosed vulnerabilities.

Weakness: CWE-693

Which versions are affected by CVE-2026-79988?

How do I fix CVE-2026-79988?

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

There is no known exploitation of CVE-2026-79988 in the wild and no public exploit code.

Sources

Also known as GHSA-9fvq-jx89-q558.

Is CVE-2026-79988 in your software?

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

Check your SBOMs for free