Vulnerability · GHSA-r56r-f696-c8w9
Control panel only administrator privilege escalation through sandbox allowed "getOwners(criteria)"
Published Oct 22, 2026 · catalog updated Oct 22, 2026 · Control panel only administrator
Last checked Nov 1, 2026. A connected source was read within the last 7 days.
Open the advisory
Exploitation likelihood is not on this record for GHSA-r56r-f696-c8w9. A missing EPSS score is not a low risk. Compare Control panel only administrator with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Control panel only administrator).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- High—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Version ranges on file
- Affected products
- composer craftcms/cms
Craft exposes to sandboxed Twig through . Its implementation applies the caller’s array directly to an with and then executes the query. Unlike the controllers’ direct query paths, it applies neither nor . An authenticated control panel user can reach this method from the relational-condition object template feature. The attacker supplies a nested reference element and a sandboxed template that calls . Yii treats and keys specially when assigns them, allowing the attacker to attach a to the owner query and register a wildcard event handler. fires a query event and invokes the attacker-selected typecast callback. The production-safe proof selected Craft’s own as the callback. The endpoint created an attacker-selected directory anywhere writable by the PHP worker, confirming arbitrary selection and invocation of a production-bundled PHP callable. The same primitive has a direct, production-bundled administrator-escalation sink: . Craft’s User record inherits Yii’s public static ; the omitted condition updates every row in . ### Impact The attacker can select and invoke public static PHP callables that accept the attacker-controlled value. Most importantly, promotes every account in the Craft users table, including the attacker’s account. Report ID: 1897
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- composer craftcms/cms>= 5.8.17, < 5.11.2
How to fix GHSA-r56r-f696-c8w9
Upgrade
GHSA-r56r-f696-c8w9 lists a fix boundary at 5.11.2. Compare the installed build with that boundary before you change production.
Version check
Affected < 5.11.2
Advisory
Open the inventory_github record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for GHSA-r56r-f696-c8w9. A missing EPSS score is not a low risk. Compare Control panel only administrator with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with >= 5.8.17, < 5.11.2. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Oct 22, 2026 · Maintainer security tabs
Detected
Craft exposes to sandboxed Twig through . Its implementation applies the caller’s array directly to an with and then executes the query. Unlike the controllers’ direct query paths, it applies neither nor . An authenticated control panel user can reach this method from the relational-condition object template feature. The attacker supplies a nested reference element and a sandboxed template that ca
Sources
- Maintainer security tabsVendor advisoryGHSA-r56r-f696-c8w9
Craft exposes to sandboxed Twig through . Its implementation applies the caller’s array directly to an with and then executes the query. Unlike the controllers’ direct query paths, it applies neither nor . An authenticated control panel user can reach this method from the relational-condition object template feature. The attacker supplies a nested reference element and a sandboxed template that ca
github.com
Freshness
Last verified in this catalog Oct 22, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Maintainer security tabsNov 1, 2026