CVE-2026-64663

Statamic: Unsafe method invocation via Antlers template resolution allows data destruction

Published Aug 6, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.74.1 and 6.24.0, manipulating user-supplied input incorporated into Antlers templates could result in the loss of content and assets, on sites whose templates pass untrusted input into affected areas, and exploitation did not require authentication. This issue is fixed in versions 5.74.1 and 6.24.0.

Analysis

AI-generated

Technical impact

Statamic CMS, built on Laravel, is vulnerable to unsafe method invocation through its Antlers templating system. The flaw allows a malicious actor to inject user‑supplied input that the template engine resolves into method calls. When such untrusted input is incorporated into a template, content and asset files can be inadvertently removed, resulting in permanent data loss. This weakness is a classic CWE‑470 scenario where arbitrary code execution is triggered via unsanitized method names.

Affected Systems

The vulnerability affects Statamic CMS versions earlier than 5.74.1 and 6.24.0. Any deployment that accepts untrusted input in Antlers templates without proper filtering is at risk. The affected product is Statamic CMS across its 5.x and 6.x branches.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, and the issue does not require authentication, meaning any user with access to provide template content can exploit it. The EPSS score is not available, so the precise likelihood is unknown, and the vulnerability is not listed in CISA's KEV catalogue. The likely attack vector is the injection of crafted content into templates via web forms or other input mechanisms, which the engine then executes, leading to data deletion. Given the accessibility of the attack surface and the severe consequence of data loss, organizations should treat this as a significant risk until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Statamic CMS to version 5.74.1 or later on the 5.x branch, or to 6.24.0 or later on the 6.x branch, to apply the vendor’s fix.
  • Ensure that any user‑supplied input passed to Antlers templates is strictly validated or sanitized, and restrict template usage to trusted content only—avoid embedding raw user data in template variables or tag parameters.
  • Conduct a security review of all Antlers templates in the environment, identify places where dynamic method names or tags could be derived from input, and refactor or remove them; if a template must use dynamic values, apply proper whitelisting of allowed methods or attributes.

Generated by OpenCVE AI on August 7, 2026 at 00:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j2vp-f2pv-5rj4 Statamic: Unsafe method invocation via Antlers template resolution allows data destruction
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Statamic
Statamic cms
Vendors & Products Statamic
Statamic cms
Type Values Removed Values Added
Description Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.74.1 and 6.24.0, manipulating user-supplied input incorporated into Antlers templates could result in the loss of content and assets, on sites whose templates pass untrusted input into affected areas, and exploitation did not require authentication. This issue is fixed in versions 5.74.1 and 6.24.0.
Title Statamic: Unsafe method invocation via Antlers template resolution allows data destruction
Weaknesses CWE-470
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 7, 2026, 5:38 PM
Reserved
Jul 20, 2026, 5:11 PM
Status
Deferred
Published
Aug 6, 2026, 10:18 PM
Modified
Oct 24, 2026, 4:10 PM