---
id: "CVE-2026-124430"
page: "https://infrastack.ai/live/CVE-2026-124430"
kind: "vulnerability"
aliases: ["CVE-2026-124430"]
title: "Craft CMS: non-admin control panel users can run OS commands via templates"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["craft-cms", "package", "php", "self-hosted"]
not_affected_if: ["no-non-admin-control-panel-users", "version-outside-5.10.0-to-5.11.1"]
published_at: "2026-11-08T14:18:08+00:00"
first_seen_at: "2026-11-08T14:48:38+00:00"
updated_at: "2026-11-08T14:49:05+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124430", "first_seen_at": "2026-11-08T14:48:38+00:00"}]
exploit_sources: []
---

# Craft CMS: non-admin control panel users can run OS commands via templates

Link for people: https://infrastack.ai/live/CVE-2026-124430 (this .md is for agents)

Craft CMS versions 5.10.0 through 5.11.1 let a non-administrator control panel user obtain HMAC-signed Twig templates from the app/render-elements endpoint. Those templates can be submitted as a login redirect and evaluated without the sandbox, letting an attacker execute OS commands as the PHP worker user.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Craft CMS version in `composer.json` or `composer show craftcms/cms`; affected versions are 5.10.0 up to but not including 5.11.2.
- Confirm whether the control panel has non-admin user accounts that can log in.

## Fix

- Craft CMS: upgrade to `5.11.2` or later.

## Timeline

- 2026-11-08T14:48:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124430

## Documents

- [advisory] Vendor advisory: github.com https://github.com/craftcms/cms/security/advisories/GHSA-qj3q-j7r4-428p
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/craft-cms-5.10.0-before-5.11.2-rce-via-app-render-elements-signing-oracle

## From the sources

Craft CMS from 5.10.0 before 5.11.2 contains a remote code execution vulnerability that allows non-administrator control panel users to obtain HMAC-signed Twig templates via the app/render-elements endpoint. Attackers can submit the signed templated returnUrl as the login redirect parameter, triggering unsandboxed renderObjectTemplate() evaluation and executing OS commands as the PHP worker.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
