CVE-2023-41892 — Vulnerability in craftcms/cms — CVE Details
Craft CMS Remote Code Execution vulnerability
What Should I Do?
Fix in Your Next Sprint
This vulnerability has a 79.44% chance of being exploited within 30 days.
Does your project use an affected craftcms/cms version?
Paste your composer.lock to check it for CVE-2023-41892 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.
Summary
Impact
This is a high-impact, low-complexity attack vector. Users running Craft installations before 4.4.15 are encouraged to update to at least that version to mitigate the issue.
Mitigations
- This has been fixed in Craft 4.4.15. You should ensure you’re running at least that version.
- Refresh your security key in case it has already been captured. You can do that by running the
php craft setup/security-keycommand and copying the updatedCRAFT_SECURITY_KEYenvironment variable to all production environments. - If you have any other private keys stored as environment variables (e.g., S3 or Stripe), refresh those as well.
- Out of an abundance of caution, you may want to force all your users to reset their passwords in case your database was compromised. You can do that by running
php craft resave/users --set passwordResetRequired --to "fn() => true".
References
https://github.com/craftcms/cms/commit/7359d18d46389ffac86c2af1e0cd59e37c298857
https://github.com/craftcms/cms/commit/a270b928f3d34ad3bd953b81c304424edd57355e
https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#4415---2023-07-03-critical
Advisory Timeline
- First published September 13, 2023 (1170 days ago).
- Last revised September 10, 2026 — 1093 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "craftcms/cms:^4.4.15"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| craftcms/cms Packagist · Affected: 4.0.0, 4.0.0-RC1, 4.0.0-RC2, 4.0.0-RC3 (+73 more) | 4.4.15 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
References
- https://github.com/craftcms/cms/security/advisories/GHSA-4w8r-3xrw-v25gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-41892ADVISORY
- https://github.com/craftcms/cms/commit/7359d18d46389ffac86c2af1e0cd59e37c298857WEB
- https://github.com/craftcms/cms/commit/a270b928f3d34ad3bd953b81c304424edd57355eWEB
- https://github.com/craftcms/cms/commit/c0a37e15cc925c473e60e27fe64054993b867ac1WEB
- https://github.com/craftcms/cms/commit/c0a37e15cc925c473e60e27fe64054993b867ac1#diff-47dd43d86f85161944dfcce2e41d31955c4184672d9bd9d82b948c6b01b86476WEB
- https://github.com/craftcms/cmsPACKAGE
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#4415---2023-07-03-criticalWEB
- https://packetstormsecurity.com/files/176303/Craft-CMS-4.4.14-Remote-Code-Execution.htmlWEB
Frequently Asked Questions
- What is CVE-2023-41892?
- Craft CMS Remote Code Execution vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2023-41892?
- CVE-2023-41892 affects craftcms/cms. It has a 79.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-41892 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2024-56145CRITICAL
Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled
- CVE-2026-55791CRITICAL
Craft CMS: Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in actionResourceJs
- CVE-2025-32432CRITICAL
Craft CMS Allows Remote Code Execution
- CVE-2026-29069HIGH
Craft CMS has unauthenticated activation email trigger with potential user enumeration
- CVE-2026-25495HIGH
Craft CMS Vulnerable to SQL Injection in Element Indexes via `criteria[orderBy]`
- CVE-2026-72778HIGH
Craft CMS: Authenticated RCE via `condition.config` JSON cleanse bypass
- CVE-2026-32267HIGH
Craft CMS Vulnerable to Privilege Escalation/Bypass through UsersController->actionImpersonateWithToken()
- CVE-2025-68454MEDIUM
Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI