Astro: Remote code execution through AVIF image optimization
Priority LOW 38CWE-125Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
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.
Why it matters now
Fix Fixed astro (npm): 7.2.8
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | astro (npm) | before 7.2.8 | 7.2.8 | Patch available | GHSA-26w7-cxv4-gfx2 |
- astro (npm) Vendor— Affected before 7.2.8 Fixed in 7.2.8 Patch available GHSA-26w7-cxv4-gfx2
Remediation
- Fix · GHSA-26w7-cxv4-gfx2 astro (npm) Fixed in 7.2.8 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-26w7-cxv4-gfx2
References
Other 5
- 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
- https://github.com/withastro/astro/releases/tag/[email protected]
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences