# CVE-2021-27903: Craft CMS Remote Code Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.82%, higher than 86% of CVEs (2026-12-01)
- Published: 2021-06-30T11:56:48.000Z
- Modified: 2026-06-17T03:45:34.940Z
- Also known as: GHSA-x2j7-6hxm-87p3
- Weaknesses: CWE-74, CWE-94, CWE-862
- Assigned by: mitre

## Description

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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- craftcms/cms (Packagist): before 3.6.7
- craftcms craft_cms: before 3.6.7

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security> (release-notes, third-party-advisory, web)
- <https://github.com/craftcms/cms/commit/c17728fa0bec11d3b82c34defe0930ed409aec38> (patch, third-party-advisory, web)
- <https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#367---2021-02-23> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27903> (advisory)

## Sources

- CVE List: [CVE-2021-27903](https://www.cve.org/CVERecord?id=CVE-2021-27903), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-x2j7-6hxm-87p3](https://github.com/advisories/GHSA-x2j7-6hxm-87p3), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-27903](https://nvd.nist.gov/vuln/detail/CVE-2021-27903), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27903 · Whole record: https://cve.day/CVE-2021-27903.json · Rebuilt by cve.day 2026-11-25T22:58:02.390Z
