fuel/core ImageMagick driver does not escape all shell argumentsGHSA-26hp-cgjj-m2j3
Fix: fuel/core@95c134eGHSA-26hp-cgjj-m2j3 is a security vulnerability in fuel/core. A fix is available for fuel/core — see the affected versions and patch details below.
Real-World Exposure
fuel/coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
This vulnerability may cause OS commands to be executed when you pass unvalidated image filenames containing specially crafted strings to the ImageMagick driver.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | fuel/core | all versions | 1.8.0.4composer require fuel/core:^1.8.0.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for fuel/core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update fuel/core to 1.8.0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-26hp-cgjj-m2j3 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-26hp-cgjj-m2j3 in your dependencies?
Find it across Packagist, including transitive dependencies.