Skip to main content
← Vulnerabilities

Craft CMS before 5.11.2 Privilege Escalation via getOwners() Sandbox Bypass

Affects Craft CMS 5.8.17 through 5.11.1 for authenticated control panel users who can reach the relational-condition object template feature. Fixed in 5.11.2.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

8.7HighCNA
Exploited
No known exploitation
Fix
Fixed in 5.11.2
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Craft CMS versions >= 5.8.17 and < 5.11.2 Requires an authenticated control panel user who can reach the relational-condition object template feature

Published
Last modified
17/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

Craft CMS, a content management system, is affected by a privilege escalation flaw in which an authenticated control panel user can remotely take over administrator rights. The attacker needs a low-privilege login and can then promote every account to administrator by supplying crafted query criteria that run attacker-chosen PHP functions.

Read the original description

Craft CMS from 5.8.17 before 5.11.2 contains a privilege escalation vulnerability because getOwners() applies caller criteria without cleansing the query configuration. Authenticated control panel users can invoke attacker-selected static PHP callables via crafted criteria to promote every account to administrator.

cve.now Index

17Pcve.now Index 17 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.7/10CVSS 8.7
  • No patch0/5No signal

What would change the score

  • Would score about 67 if added to CISA KEV
  • Would score about 62 if CISA's SSVC rates exploitation active
  • Would score about 24 if CISA's SSVC rates it automatable

What to do

  • Check whether your setup matches what the bug needs.

    Craft CMS versions >= 5.8.17 and < 5.11.2 Requires an authenticated control panel user who can reach the relational-condition object template feature
  • Upgrade to a fixed version: 5.11.2.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • craftcms cms

    From 5.8.17 · fixed in 5.11.2

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-123490

Is CVE-2026-123490 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

A sandbox bypass in the getOwners() method lets an authenticated control panel user select and invoke attacker-chosen public static PHP callables. The advisory notes this can be used to promote every account in the Craft users table to administrator.Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-123490?

cms: from 5.8.17 before 5.11.2.Source: cve.now feed data

Am I affected, and how do I check?

Craft CMS versions 5.8.17 or later but before 5.11.2 are affected. The method is reachable only by an authenticated control panel user who can use the relational-condition object template feature. To check, look at the installed Craft CMS version, for example in composer.lock or the control panel's system information.Source: vulncheck.com, github.com

How do I fix CVE-2026-123490?

Upgrade Craft CMS to 5.11.2 or later. The advisory lists no workaround.Source: vulncheck.com, github.com