Summary
Astro: Remote code execution through AVIF image optimization
Advisory details
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.
References
- https://github.com/advisories/GHSA-26w7-cxv4-gfx2
- https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497
- https://github.com/withastro/astro/security/advisories/GHSA-26w7-cxv4-gfx2
- https://github.com/withastro/astro/commit/ecb4082131490b4fe9a56aa44fda84b54ef8967b
- https://github.com/withastro/astro/releases/tag/astro@7.2.8
Related vulnerabilities
All Supply chain →- HIGHCVE-2026-102941
gomarkdown/markdown IsSafeURL panics on short URLs
- HIGHCVE-2026-70007
Microsoft Security Advisory CVE-2026-70007 - .NET and Visual Studio Remote Code Execution Vulnerability
- HIGHCVE-2026-96224
Microsoft Security Advisory CVE-2026-96224 - .NET and Visual Studio Remote Code Execution Vulnerability
- HIGHCVE-2026-96232
Microsoft Security Advisory CVE-2026-96232 - .NET and Visual Studio Information Disclosure Vulnerability
- HIGHCVE-2026-96235
Microsoft Security Advisory CVE-2026-96235 - .NET and Visual Studio Remote Code Execution Vulnerability
- HIGHCVE-2026-70197
Microsoft Security Advisory CVE-2026-70197 - .NET and Visual Studio Remote Code Execution Vulnerability