Loading...
Skip to main content

CVE-2023-41892

CRITICAL

Craft CMS Remote Code Execution vulnerability

Published September 13, 2023Updated February 16, 2024Source: osv

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-key` command and copying the updated `CRAFT_SECURITY_KEY` 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

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update craftcms/cms to 4.4.15 or later
composer require "craftcms/cms:^4.4.15"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

PackageEcosystemAffectedFixed In
craftcms/cms
packagist
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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

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

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-41892 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-4w8r-3xrw-v25g

Related CVEs

  • CVE-2024-56145
    CRITICAL

    Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled

  • CVE-2026-55791
    CRITICAL

    Craft CMS: Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in actionResourceJs

  • CVE-2026-29069
    HIGH

    Craft CMS has unauthenticated activation email trigger with potential user enumeration

  • CVE-2026-25495
    HIGH

    Craft CMS Vulnerable to SQL Injection in Element Indexes via `criteria[orderBy]`

  • CVE-2026-72778
    HIGH

    Craft CMS: Authenticated RCE via `condition.config` JSON cleanse bypass

  • CVE-2026-32267
    HIGH

    Craft CMS Vulnerable to Privilege Escalation/Bypass through UsersController->actionImpersonateWithToken()

  • CVE-2026-72781
    HIGH

    Craft CMS: Authenticated RCE through Twig sandbox escape

  • CVE-2025-68454
    MEDIUM

    Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies