CVE-2023-41892: Craft CMS Remote Code Execution vulnerability

Published Sep 13, 2023
·
Updated

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-key command and copying the updated CRAFTSECURITYKEY environment 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/c0a37e15cc925c473e60e27fe64054993b867ac1#diff-47dd43d86f85161944dfcce2e41d31955c4184672d9bd9d82b948c6b01b86476

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

Other sources

Craft CMS is a platform for creating digital experiences. 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. This issue has been fixed in Craft CMS 4.4.15.

— MITRE

Craft CMS Remote Code Execution vulnerability

— Packagist

Affected Software

3 affected componentsFixes available
composer/craftcms/cms>=4.0.0-RC1<=4.4.14
4.4.15
CraftCMS Craft CMS>=4.4.0<4.4.15
composer/craftcms/cms>=4.0.0-RC1, <=4.4.14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/craftcms/cms to a version that resolves this vulnerability.

    Fixed in 4.4.15
  2. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 4.4.15
  3. Operational

    Force all users to reset their passwords by running `php craft resave/users --set passwordResetRequired --to "fn() => true"`.

  4. Operational

    Refresh the Craft security key by running `php craft setup/security-key`, then copy the updated `CRAFT_SECURITY_KEY` environment variable to all production environments.

  5. Operational

    Refresh any other private keys stored as environment variables, such as S3 or Stripe keys.

Event History

Sep 13, 2023
Advisory Published
03:44 PM
Data Sourced
via Packagist·03:44 PM
DescriptionSeverityAffected Software
Data Sourced
via GitHub·03:44 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 26, 2023
Exploit Published
via GitHub·06:31 PM

Frequently Asked Questions

1

What is CVE-2023-41892?

CVE-2023-41892 is a vulnerability in Craft CMS that allows for a high-impact, low-complexity attack.

2

How severe is CVE-2023-41892?

CVE-2023-41892 is considered critical with a severity value of 10.

3

How do I mitigate CVE-2023-41892?

To mitigate CVE-2023-41892, users running Craft installations before version 4.4.15 should update to at least that version.

4

Where can I find more information about CVE-2023-41892?

You can find more information about CVE-2023-41892 in the Craft CMS CHANGELOG and commit history on GitHub, provided in the references.

5

What is the Common Weakness Enumeration (CWE) for CVE-2023-41892?

The Common Weakness Enumeration (CWE) for CVE-2023-41892 is CWE-94.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203