Severity:

HIGH RISK

(8.8)

Code Injection via Unsandboxed Twig Rendering (CWE-94) in Craft CMS Conditions System

CVE-2026-31857

Published:

Status:

Analyzed

Summary

Affected Context

Exploit Preconditions

Why This Happens

Potential Impact

General Mitigation Guidance

How Teams Detect Issues Like This

Frequently Asked Questions

Source

NDV

Vulnerability Type

Vulnerability Type

Category:

Code Injection

CWE:

CWE-94

Impact:

Remote Code Execution by low-privileged authenticated users

Severity:

HIGH RISK

(8.8)

CVSS Version:

3.1

Vulnerability Type

Category:

Code Injection

CWE:

CWE-94

Impact:

Remote Code Execution by low-privileged authenticated users

Severity:

HIGH RISK

(8.8)

CVSS Version:

3.1

Catch This CVE While Code Is Being Written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.