Skip to content

Unsafe method invocation via Antlers template resolution allows account takeover and data destruction

High
jasonvarga published GHSA-33fx-2776-vvp5 Aug 14, 2026

Package

composer statamic/cms (Composer)

Affected versions

<5.74.4, <6.27.2

Patched versions

5.74.4, 6.27.2

Description

Impact

Manipulating user-supplied input incorporated into Antlers templates could cause methods to be invoked on objects available to the template. Depending on the site, this could expose sensitive data belonging to user accounts, allowing an unauthenticated visitor to take over an account, or allow content to be modified or destroyed.

The fix for GHSA-j2vp-f2pv-5rj4 was incomplete. It restricted which methods could be invoked, but the restriction did not cover every affected area, and an existing setting that governs this behavior was not consistently applied.

Exploitation requires a site to have templates that pass untrusted input into affected areas. It does not require authentication.

Patches

This has been fixed in 5.74.4 and 6.27.2.

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

No known CVE

Weaknesses

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.

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

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. Learn more on MITRE.

Protection Mechanism Failure

The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. Learn more on MITRE.

Credits