Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-28695

CVE-2026-28695: Craft CMS Vulnerable to Authenticated RCE via Twig SSTI - create() function + Symfony Process gadget

March 3, 2026 (updated March 4, 2026)

There is an authenticated admin RCE in Craft CMS 5.8.21 via Server-Side Template Injection using the create() Twig function combined with a Symfony Process gadget chain.

This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7).

References

  • github.com/advisories/GHSA-94rc-cqvm-m4pw
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/e31e50849ad71638e11ea55fbd1ed90ae8f8f6e0
  • github.com/craftcms/cms/security/advisories/GHSA-94rc-cqvm-m4pw
  • nvd.nist.gov/vuln/detail/CVE-2026-28695

Code Behaviors & Features

Detect and mitigate CVE-2026-28695 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.17.0-beta.1, all versions starting from 5.8.7 before 5.9.0-beta.1

Fixed versions

  • 5.9.0-beta.1
  • 4.17.0-beta.1

Solution

Upgrade to versions 4.17.0-beta.1, 5.9.0-beta.1 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/craftcms/cms/CVE-2026-28695.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.