Read the docs
TI-2024-22826 Aliases CVE-2024-34515GHSA-6pjm-hmvf-h4rr

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Priority HIGH 73CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0188 79th percentileScored 2026-11-07
Fix Fixed spatie/image-optimizer (Packagist): 1.7.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—spatie/image-optimizer (Packagist)before 1.7.31.7.3Patch availableGHSA-6pjm-hmvf-h4rr
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • spatie/image-optimizer (Packagist) Vendor— Affected before 1.7.3 Fixed in 1.7.3 Patch available GHSA-6pjm-hmvf-h4rr

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:spatie:image_optimizer:1.7.3:*:*:*:*:*:*:*1.7.3—spatie
  • cpe:2.3:a:spatie:image_optimizer:1.7.3:*:*:*:*:*:*:* Versions 1.7.3 — ·spatie

Remediation

  • Fix · GHSA-6pjm-hmvf-h4rr spatie/image-optimizer (Packagist) Fixed in 1.7.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-34515
  2. 2026-10-03 Alias added: GHSA-6pjm-hmvf-h4rr

References

Sources