Live threats

All CVEs / Craftcms

CVE-2021-27903Craftcms Craft Cms

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Jun 30, 2021
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerability existed on sites that did not restrict administrative changes (if an attacker were somehow able to hijack an administrator's session).

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms < 3.6.7 3.6.7 composer require "craftcms/cms:^3.6.7"

Per OSV / GitHub Advisories (GHSA-x2j7-6hxm-87p3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms< 3.6.7

Official sources

References

Links published by the sources. Open them with care.