Description
Craft CMS 4.0.0 before 4.18.8 and 5.0.0 before 5.11.0 contains a Twig sandbox allowlist bypass because the column, contains, filterByValue, index, where, and multisort filters resolve caller-supplied keys via ArrayHelper::getValue() without consulting the sandbox security policy. Authenticated Control Panel users can supply dot-path keys to traverse the craft global and disclose the securityKey, database credentials, and auth tokens.
Published: 2026-10-19
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Information Disclosure via Control Panel
Action: Patch Now
AI Analysis

Impact

Craft CMS versions prior to 4.18.8 and 5.11.0 suffer a Twig sandbox allowlist bypass that lets authenticated Control Panel users supply dot‑path keys to array filters. These filters call ArrayHelper::getValue() without consulting the sandbox policy, enabling traversal of the craft global namespace to read the securityKey, database credentials, and authentication tokens. The vulnerability is an information‑exposure flaw allowing an attacker with legitimate user credentials to disclose highly sensitive configuration values. Based on the description, it is inferred that a privileged user can simply add a malicious dot‑path to a template to trigger the bypass.

Affected Systems

The affected product is Craft CMS, produced by Craft CMS. The issue applies to all releases prior to 4.18.8 of the 4.x line and prior to 5.11.0 of the 5.x line. No additional version modifiers are listed, so any installation running a version earlier than these thresholds is vulnerable.

Risk and Exploitability

The CVSS score is 7.1, indicating a moderate to high severity for information disclosure. EPSS data is not available, so the current exploitation likelihood cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is that an authenticated Control Panel user can supply arbitrary dot‑path keys; therefore exploitation requires valid credentials but does not require network traversal or remote code execution. Once the bypass is triggered, the attacker can read credentials that are otherwise protected by the CMS's configuration files.

Generated by OpenCVE AI on October 19, 2026 at 20:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official update to Craft CMS 4.18.8 or 5.11.0 as soon as possible.
  • If an immediate update is not feasible, restrict Control Panel access to a minimal set of trusted administrators and monitor for any abnormal template usage patterns.
  • Audit custom Twig templates and third‑party plugins for the use of the vulnerable array filters and temporarily remove or disable them until the patch is applied.

Generated by OpenCVE AI on October 19, 2026 at 20:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Description Craft CMS 4.0.0 before 4.18.8 and 5.0.0 before 5.11.0 contains a Twig sandbox allowlist bypass because the column, contains, filterByValue, index, where, and multisort filters resolve caller-supplied keys via ArrayHelper::getValue() without consulting the sandbox security policy. Authenticated Control Panel users can supply dot-path keys to traverse the craft global and disclose the securityKey, database credentials, and auth tokens.
Title Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters
First Time appeared Craftcms
Craftcms craft Cms
Weaknesses CWE-200
CPEs cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms craft Cms
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Craftcms Craft Cms
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T19:10:50.470Z

Reserved: 2026-10-19T18:10:49.940Z

Link: CVE-2026-112771

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-19T20:17:54.203

Modified: 2026-10-19T20:59:50.503

Link: CVE-2026-112771

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T20:30:03Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor