Skip to main content

Statamic CMS EUVDEUVD-2026-53378

| CVE-2026-71293 MEDIUM
Information Exposure (CWE-200)
2026-08-05 TuranSec GHSA-jppw-r5j3-xf7x
6.2
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker gains admin/dev blueprint access
  2. Delivery
    Enable dynamic Antlers rendering on a field
  3. Exploit
    Inject two_factor_recovery_codes template variable
  4. Execution
    Lure or wait for victim to load rendered page
  5. Persist
    Capture recovery codes from HTML response
  6. Impact
    Bypass victim's 2FA at login

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two specific preconditions to be simultaneously true. First, dynamic Antlers rendering (also referred to as raw/Antlers-mode template rendering) must be enabled on at least one blueprint field that is involved in rendering the target user's context - this is a non-default, admin-configured setting at the blueprint level, not a content-editing permission. Second, the victim user must load a page that renders through that field configuration (UI:R per the CVSS vector). What limits exploitation: the PR:H CVSS metric confirms that an administrator or developer must actively misconfigure or maliciously configure the blueprint; standard content editors cannot enable dynamic rendering. The vulnerability exposes only the viewing user's own recovery codes (current_user scope), not arbitrary other users' codes - so mass harvesting requires tricking many users individually. The attack does not work against default Statamic installations where dynamic Antlers rendering is not configured on any field.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N, score 6.2) is internally consistent with the description. PR:H correctly reflects that exploitation requires an administrator or developer to first configure a blueprint field with dynamic Antlers rendering enabled - this is not a default state. UI:R reflects that a victim user must actually load the affected page for their codes to be rendered. The Scope change (S:C) acknowledges that exposure of recovery codes affects the victim's account security posture beyond the vulnerable component itself. EPSS data was not provided; KEV status is not listed; no POC is publicly known at time of analysis, all of which lower the urgency relative to the CVSS headline. The real-world risk is moderate-to-low for most deployments: the precondition of admin-level blueprint configuration is a significant limiting factor, and the attack requires a socially-engineered or observable page visit by the victim. However, in multi-tenant or shared Statamic deployments where blueprint configuration is delegated to lower-trust administrators, the risk escalates meaningfully. The absence of a vendor advisory or confirmed patch version is a gap that defenders should treat as elevated until resolved.

Exploit ScenarioDerived

An attacker with Statamic administrator or developer privileges navigates to the blueprint configuration panel and enables dynamic Antlers rendering on a field within a content type visible to regular users. The attacker then edits a template to include {{ current_user.two_factor_recovery_codes }}{{ value }}|{{ /current_user.two_factor_recovery_codes }}. When a victim user visits any page rendered through that blueprint, their own 2FA recovery codes are emitted verbatim into the HTML response, which the attacker can capture via a shared page, network observation, or a crafted link causing the victim to visit the page in a context the attacker can observe - enabling the attacker to bypass the victim's 2FA on subsequent login attempts.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Statamic CMS exposes authenticated users' raw two-factor authentication recovery codes through the Antlers templating engine due to a missing access restriction in the AugmentedUser::get() resolver. Unlike password and password_hash fields, which are explicitly excluded from augmentation, two_factor_recovery_codes is returned without restriction and is absent from all Antlers variable guard lists. An administrator or developer who has configured a blueprint field with dynamic Antlers rendering enabled can craft a template ({{ current_user.two_factor_recovery_codes }}) that, when rendered by a victim visiting the page, leaks that victim's 2FA recovery codes into the HTML response - enabling 2FA bypass. No public exploit has been identified at time of analysis, and exploitation requires a high-privilege prerequisite (blueprint configuration access).

RemediationAI

No vendor-released patch or advisory has been identified at the time of this analysis; the only references provided point to the upstream GitHub repository without a tagged fix release or changelog entry. As a primary compensating control, administrators should audit all blueprint configurations and disable dynamic/raw Antlers rendering on any field where user-supplied or user-contextual data is rendered - this directly removes the exploitation prerequisite. As a secondary control, review and extend Statamic's guardedVariablePatterns and guardedContentVariablePatterns in ViewServiceProvider.php to explicitly include two_factor_recovery_codes, preventing template resolution of this handle even if dynamic rendering is enabled; note this requires direct code modification and must be re-applied after CMS updates. Access to blueprint configuration (the high-privilege prerequisite) should be restricted to the minimum necessary administrators. Monitor the upstream repository at https://github.com/statamic/cms for a patch release and apply it promptly once available.

Affected VersionsENISA

CMS 0 ≤6.23.0

Affected Packages

composer statamic/cms no fix
euvd cms no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Statamic CMS (CPE: cpe:2.3:a:statamic:cms:*:*:*:*:*:*:*:*) is a Laravel/PHP-based flat-file CMS with a template engine called Antlers. The vulnerability root cause is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), arising from an asymmetric treatment of sensitive fields in the AugmentedUser class (src/Auth/AugmentedUser.php). Statamic explicitly excludes password and password_hash from user augmentation entirely, but includes an affirmative, unguarded case for two_factor_recovery_codes that returns raw codes via $this->data->get('two_factor_recovery_codes'). The Antlers template guard system in ViewServiceProvider.php uses guardedVariablePatterns and guardedContentVariablePatterns to block sensitive variables from template access, but two_factor_recovery_codes is not listed - only config.app.key is guarded by default. When a blueprint field is configured to allow dynamic/raw Antlers rendering (a per-field, admin-controlled option), the {{ current_user.two_factor_recovery_codes }} variable resolves and outputs codes directly into rendered HTML.

Know when Statamic gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 6.2 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N
vuln.today AI 6.2 MEDIUM

PR:H confirmed by blueprint-configuration requirement; UI:R by victim page-load dependency; S:C because recovery codes enable account takeover beyond the CMS itself.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Statamic CMS's user-augmentation resolver, AugmentedUser::get() in src/Auth/AugmentedUser.php, contains an explicit case for the two_factor_recovery_codes handle that returns the user's raw two-factor recovery codes with no access restriction: if ($handle === 'two_factor_recovery_codes') { return new Value($this->data->get('two_factor_recovery_codes'), ...); }. Unlike sensitive fields such as password/password_hash, which are excluded from AugmentedUser entirely, two_factor_recovery_codes is neither excluded from augmentation nor present in Statamic's Antlers variable guard lists (guardedVariablePatterns/guardedContentVariablePatterns in src/Providers/ViewServiceProvider.php, and the runtime GlobalRuntimeState guard paths), which by default only guard config.app.key. On any Antlers template field where raw/dynamic template rendering is enabled for a given field (an admin/developer-configured, blueprint-level field option), a template such as {{ current_user.two_factor_recovery_codes }}{{ value }}|{{ /current_user.two_factor_recovery_codes }} renders the viewing user's own 2FA recovery codes directly into the HTML response, allowing an attacker who can view or capture that response (e.g. via a shared/observable page, or a crafted link causing a victim to render it) to obtain the codes and bypass 2FA. Exploitation requires that dynamic Antlers rendering already be enabled on a field the target user's data flows through, which is a blueprint-configuration privilege rather than a standard content-editing permission.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular Laravel-based CMS, significant but not ubiquitous enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2023-47129 CRITICAL
9.8 Nov 10

Statmic is a core Laravel content management system Composer package. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2023-36828 MEDIUM POC
5.4 Jul 05

Statamic is a flat-first, Laravel and Git powered content management system. Rated medium severity (CVSS 5.4), this vuln

CVE-2026-27593 CRITICAL
9.3 Feb 24

Password reset poisoning in Statamic CMS before 6.3.3/5.73.10 allows attackers to steal password reset tokens by manipul

CVE-2017-11422 HIGH
8.8 Jul 24

Statamic framework before 2.6.0 does not correctly check a session's permissions when the methods from a user's class ar

CVE-2026-27939 HIGH
8.8 Feb 27

Authenticated Statamic CMS users (versions 6.0.0-6.3.x) can bypass privilege escalation verification checks to gain unau

CVE-2023-48217 HIGH
8.8 Nov 14

Statamic is a flat-first, Laravel + Git powered CMS designed for building websites. Rated high severity (CVSS 8.8), this

CVE-2018-19598 MEDIUM POC
4.8 Dec 19

Statamic 2.10.3 allows XSS via First Name or Last Name to the /users URI in an 'Add new user' request. Rated medium seve

CVE-2026-28426 HIGH
8.7 Feb 27

Statmatic is a Laravel and Git powered content management system (CMS). [CVSS 8.7 HIGH]

CVE-2026-25759 HIGH
8.7 Feb 11

Authenticated users with content creation permissions in Statamic CMS versions 6.0.0 through 6.2.2 can inject persistent

CVE-2026-41175 HIGH
8.1 Apr 22

Mass deletion of content, assets, and user accounts in Statamic CMS versions prior to 5.73.20 and 6.13.0 occurs via quer

CVE-2026-27196 HIGH
8.1 Feb 21

Versions 5.73.8 and below in addition to 6.0.0-alpha.1 versions up to 6.3.1 is affected by cross-site scripting (xss) (C

CVE-2025-64112 HIGH
8.0 Oct 30

Stored cross-site scripting in Statamic CMS 5.22.0 and earlier lets an authenticated control-panel user who holds permis

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy