p PatchFirst

CVE-2026-112771

CVE-2026-112771 · Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 0.2% · Fix available

Published
Updated

Affected products and versions

  • cms

    Versions
    • ≥ 4.0.0, < 4.18.8: Affected (semver)
    • 4.18.8: Not affected (semver)

    Update to 4.18.8

  • cms

    Versions
    • ≥ 5.0.0, < 5.11.0: Affected (semver)
    • 5.11.0: Not affected (semver)

    Update to 5.11.0

Original sources

Check your server →