Skip to main content

CVE-2026-55794 — Vulnerability in craftcms/cms — CVE Details

HIGH

Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

Published July 6, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.41%). Schedule for your next planned update.

Does your project use an affected craftcms/cms version?

Paste your composer.lock to check it for CVE-2026-55794 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Requirements:

  • Control panel access
  • Permissions to edit an entry

Details

Control panel users with the ability to edit entries can execute unsandboxed Twig code via the HTTP Referrer header.

The issue happens when a user is saving entries. Strings for a signed redirect URL are being compiled as a Twig template via renderObjectTemplate(), and while a sandboxed alternative already exists (renderSandboxedObjectTemplate()), it is not used in this case. This signed URL can be specified by users, as it is reflected in the “Referer” HTTP request header, which is under attacker control.

This has been fixed in Craft 5.10.0. Affected users should update to that version or higher to get the fix.

Resources

https://github.com/craftcms/cms/pull/18680

Advisory Timeline

  • First published July 6, 2026 (143 days ago).
  • Last revised September 10, 2026 — 65 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update craftcms/cms to 5.10.0 or later
composer require "craftcms/cms:^5.10.0"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
craftcms/cms Packagist · Affected: 5.9.0, 5.9.1, 5.9.10, 5.9.11 (+20 more)5.10.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

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

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L

Frequently Asked Questions

What is CVE-2026-55794?
Craft CMS: Potential authenticated Remote Code Execution via referrer redirect. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-55794?
CVE-2026-55794 affects craftcms/cms. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55794 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.41%
EPSS percentile: 27

This is a below-median EPSS score — only 27% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-f74w-488g-8x5r

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock