GHSA-26w7-cxv4-gfx2
CRITICAL 9.8CVSS 3.1Astro: Remote code execution through AVIF image optimization
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | astro | < 7.2.8 | 7.2.8 |
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497 · WEB
- https://github.com/withastro/astro/security/advisories/GHSA-26w7-cxv4-gfx2 · WEB
- https://github.com/withastro/astro/commit/ecb4082131490b4fe9a56aa44fda84b54ef8967b · WEB
- https://github.com/withastro/astro · PACKAGE
- https://github.com/withastro/astro/releases/tag/astro@7.2.8 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Sep 2026)