Advisory record · GHSA-9952-gv64-x94c

CodeIgniter4's ImageMagick Handler has Command Injection Vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.015 · 74th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 28 Jul 2025, 16:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
codeigniter4/frameworkPackagist<4.6.24.6.2
Identifiers
GHSA-9952-gv64-x94c · CVE-2025-54418 · PKSA-7ybs-j1bv-y5mc
Weakness (CWE)
CWE-78
Published
28 Jul 2025
Updated
28 Jul 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CodeIgniter4 framework versions before 4.6.2 are affected by a command injection flaw in the ImageMagick image handler. An attacker can exploit it when the application uses the imagick library and either passes user-controlled filenames into image resizing after upload, or passes user-controlled text or options to the text method, so that shell metacharacters run on the server. Upgrade to version 4.6.2 or later. As a workaround, switch to the default GD image handler.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.015, the 74th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.