A AegiFlow
CRITICALCVSS 9.8

GHSA-26w7-cxv4-gfx2

Astro: Remote code execution through AVIF image optimization

Published
2026-09-08
Modified
2026-09-08
Sources
github-advisory

Summary

A vulnerability in `libheif`, used by the default Sharp image service in Astro, can lead to remote code execution when a malicious AVIF image is optimized. Projects are affected when an attacker can cause Astro to process an untrusted AVIF image. The fix was released in Astro 7.2.8, which requires Sharp 0.35.4.

Affected packages

EcosystemPackageAffected versionsFixed versions
npmastro7.2.8

Remediation: Upgrade to 7.2.8 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.