Advisory

GHSA-26w7-cxv4-gfx2

Also known as: None

Summary

Astro: Remote code execution through AVIF image optimization

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-09-08 21:26 UTC
Modified
2026-09-08 21:30 UTC

Affected packages and fixes

astro

npm · All systems

Affected

  • introduced 0, fixed 7.2.8 (semver)

Fixed versions

7.2.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences