CVE-2026-105985 Authenticated RCE via render-components Entry Type overrides

High 8.7 Published Updated

Authenticated attackers can execute arbitrary code via unsandboxed Twig evaluation in Craft CMS render-components action.

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

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

Official description

Craft CMS 5.10.13.2 contains an authenticated remote code execution vulnerability in the Control Panel action app/render-components.

Any authenticated user with basic Control Panel access can submit request-controlled component classes and property overrides. By first overriding an EntryType object’s uiLabelFormat and then rendering an Entry that resolves the same request-cached entry type, an attacker can cause arbitrary Twig supplied in the request to be evaluated by renderObjectTemplate().

This render path is not sandboxed. A Twig string callable can therefore reach PHP functions such as system(), resulting in operating-system command execution with the privileges of the PHP/web-server process.

The issue was reproduced with an active non-admin Craft Team user with no optional permissions enabled. No access to entry-editing, Settings, utility, user-management, project-config, filesystem, Kubernetes, or environment variables was required.

Weakness: CWE-1336

Which versions are affected by CVE-2026-105985?

How do I fix CVE-2026-105985?

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

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

Sources

Also known as GHSA-g48f-wc2q-4rrv, GHSA-x658-h3pq-chcg.

Is CVE-2026-105985 in your software?

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

Check your SBOMs for free