All reports
Critical

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

Affected versions

Affected versions
>= 3.0.0, < 3.9.14
Fixed version
3.9.14
Affected versions
>= 5.0.0-RC1, < 5.5.2
Fixed version
5.5.2
Affected versions
>= 4.0.0-RC1, < 4.13.2
Fixed version
4.13.2

Exploitation

CVE-2024-56145

Exploitation in the wild has been reported · CISA KEV

Date added: 2025-06-02

Probability of exploitation in the next 30 days: 97.48%

FIRST EPSS · 2026-11-23

Description

Impact

You are affected if your php.ini configuration has register_argc_argv enabled.

Patches

Update to 3.9.14, 4.13.2, or 5.5.2.

Workarounds

If you can't upgrade yet, and register_argc_argv is enabled, you can disable it to mitigate the issue.

Links

Credits

  • akues-an