Advisory record · GHSA-8q4h-8crm-5cvc

elFinder: Command injection in resize background color parameter when using ImageMagick CLI

CVSS 8.9 HighEPSS 0.016 · 75th percentile

Published by the GitHub Advisory Database at 17 Apr 2026, 22:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
studio-42/elfinderPackagist<2.1.672.1.67
Identifiers
GHSA-8q4h-8crm-5cvc · CVE-2026-41247 · PKSA-2p87-h1j5-yb5n
Weakness (CWE)
CWE-78
Published
17 Apr 2026
Updated
6 May 2026

Machine-written summary

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

elFinder (Packagist studio-42/elfinder) versions before 2.1.67 are affected. An attacker who can send a crafted bg (background color) value to the resize command may be able to run arbitrary OS commands as the web server user, but only when the ImageMagick CLI backend is in use and resize is enabled. Upgrade to 2.1.67 or later. As a workaround, disable the resize command if it is not needed, or avoid the ImageMagick CLI backend.

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
8.9 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.016, the 75th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 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.