# CVE-2026-123490: Craft CMS privilege escalation via getOwners() sandbox bypass

Source: https://junglewise.ai/threats/cve-2026-123490-craft-cms-from-5-8-17-before-5-11-2-contains-a-privilege  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-06. Updated: 2026-11-06  
License: CC BY 4.0 with a link back

CVE-2026-123490 · Severity: high · CVSS 8.8 · Published 2026-11-06

Craft CMS is a content management system used to build and manage websites. Authenticated control panel users can exploit an unsanitized method to invoke arbitrary PHP functions and promote themselves to administrator, gaining full access to the system and all managed content.

Technologies: [Craft CMS](https://junglewise.ai/threats/technologies/craft-cms-1). Vendors: [Craft](https://junglewise.ai/threats/vendors/craft).

## Quick answers

**Is CVE-2026-123490 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-123490 being exploited in the wild.

**How severe is CVE-2026-123490?** High severity, with a CVSS score of 8.8, published 6 November 2026.

**Which products and versions are affected?** Craft CMS 5.8.17 before 5.11.2.

**Is there a fix for CVE-2026-123490?** Yes: fixed in 5.11.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-123490 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-123490?** Check whether you run Craft CMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 5.11.2

## Technical details

The getOwners() method exposed to Twig sandboxes fails to cleanse query configuration before passing it to ElementQuery, allowing authenticated attackers to inject event handlers and arbitrary PHP callable invocations via Yii's AttributeTypecastBehavior. An attacker can directly invoke craft\records\User::updateAll(['admin' => true]) to escalate all accounts to administrator without requiring additional privileges or user interaction.

## Affected products

- Craft CMS 5.8.17 before 5.11.2

## Timeline

- 2026-10-22: disclosed
- 2026-11-06: advisory

## References

- [https://github.com/craftcms/cms/security/advisories/GHSA-r56r-f696-c8w9](https://github.com/craftcms/cms/security/advisories/GHSA-r56r-f696-c8w9)
- [https://www.vulncheck.com/advisories/craft-cms-before-5.11.2-privilege-escalation-via-getowners-sandbox-bypass](https://www.vulncheck.com/advisories/craft-cms-before-5.11.2-privilege-escalation-via-getowners-sandbox-bypass)

## Related threats

- [Craft CMS SQL injection in craft.search](https://junglewise.ai/threats/cve-2026-115934-an-unauthenticated-sql-injection-can-occur-on-the-front-end-of)
- [Craft CMS authorization bypass in volume browser](https://junglewise.ai/threats/cve-2026-124431-craft-cms-from-5-10-0-before-5-11-2-contains-an-authorization)
- [Craft CMS privilege escalation in public registration](https://junglewise.ai/threats/cve-2026-124429-craft-cms-from-5-0-0-before-5-11-2-contains-a-privilege)
- [Craft CMS path traversal in app/icon-svg endpoint](https://junglewise.ai/threats/cve-2026-124428-craft-cms-from-5-7-0-before-5-11-2-contains-an-arbitrary-file)
- [Craft CMS authorization bypass in GraphQL schema scope](https://junglewise.ai/threats/cve-2026-124427-craft-cms-from-5-0-0-before-5-11-2-contains-an-authorization)
