cms: Use of Externally-Controlled Input to Select Classes or Code
CVE-2026-32264 is a high-severity use of externally-controlled input to select classes or code vulnerability in cms from Craft CMS, with a CVSS 3.1 base score of 7.2 out of 10. It can be exploited remotely over the network by an attacker with administrator privileges, without any action from a user. Affected cms versions: >= 4.0.0-RC1, < 4.17.5; >= 5.0.0-RC1, < 5.9.11. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.59% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Craft CMS to 4.17.5 or 5.9.11, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Craft CMS | cms | >= 4.0.0-RC1, < 4.17.5; >= 5.0.0-RC1, < 5.9.11 | Not stated |
| Craft CMS | Craft CMS | 4.0.0.1 up to, but not including, 4.17.5; 5.0.1 up to, but not including, 5.9.11; 4.0.0; 5.0.0 | 4.17.5, 5.9.11 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- HighAdministrator-level access is required first.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 8.6 | High | CNA (github.com) |
| CVSS 3.1 | 7.2 | High | NVD |
Official description
Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.5 and from version 5.0.0-RC1 to before version 5.9.11, there is a Behavior injection RCE vulnerability in ElementIndexesController and FieldsController. Craft control panel administrator permissions and allowAdminChanges must be enabled for this to work. This issue has been patched in versions 4.17.5 and 5.9.11.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use of Externally-Controlled Input to Select Classes or Code
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
How developers prevent this class of flaw
- Refactor your code to avoid using reflection.
- Do not use user-controlled inputs to select and load classes or code.
- Apply strict input validation by using allowlists or indirect selection to ensure that the user is only selecting allowable classes or code.
More Use of Externally-Controlled Input to Select Classes or Code vulnerabilities (CWE-470)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
Other vulnerabilities in cms
- 9.8 Critical severity
- 8.8 High severity
- 7.5 High severity
- 9.8 Critical severity
- 8.2 High severity
- 8.8 High severity
Recent Use of Externally-Controlled Input to Select Classes or Code vulnerabilities
- 7.2 High severity
- 7.2 High severity
- 7.2 High severity
- 9.8 Critical severity
- 8.0 High severity
- 9.1 Critical severity
Spotted an error? Tell us.