Statamic vulnerable to remote code execution via Antlers-enabled control panel inputs
As published by the sources
Affected packages
- Affected
<5.73.16 || >=6.0.0-alpha.1,<6.7.2Fixed in5.73.166.7.2
Derived from the fixed versions above
What to do
Upgrade statamic/cms to the fixed version in your release line: 5.73.16, 6.7.2.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
Impact
An authenticated control panel user with access to Antlers-enabled inputs may be able to achieve remote code execution in the application context. That can lead to full compromise of the application, including access to sensitive configuration, modification or exfiltration of data, and potential impact on availability.
Exploitation is only possible where Antlers runs on user-controlled content—for example, content fields with Antlers explicitly enabled (requiring permission to configure fields and to edit entries), built-in config that supports Antlers such as Forms email notification settings (requiring configuration permission), or third-party addons that add Antlers-enabled fields to entries (for example, the SEO Pro addon). In each case the attacker must have the relevant control panel permissions.
Patches
This has been fixed in 5.73.16 and 6.7.2.
Note that a follow-up report showed that the original 5.73.11 & 6.4.0 fixes were insufficient.
If you use addons that depend on Statamic, ensure that after updating you are running a patched Statamic version.
References
- Advisoryhttps://github.com/advisories/GHSA-cpv7-q2wx-m8rw
- Webhttps://github.com/statamic/cms/security/advisories/GHSA-cpv7-q2wx-m8rw
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-28425
- Packagehttps://github.com/statamic/cms
- Webhttps://github.com/statamic/cms/releases/tag/v5.73.16
- Webhttps://github.com/statamic/cms/releases/tag/v6.7.2