{"id":"GHSA-26w7-cxv4-gfx2","revision":"f24e945c6728468a9856a7a27fe27cce","records":[{"revision":"f24e945c6728468a9856a7a27fe27cce","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-26w7-cxv4-gfx2","aliases":[],"title":"Astro: Remote code execution through AVIF image optimization","description":"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.\n\nProjects are affected when an attacker can cause Astro to process an untrusted AVIF image.\n\nThe fix was released in Astro 7.2.8, which requires Sharp 0.35.4.","state":0,"publishedAt":"2026-09-08T21:26:16+00:00","modifiedAt":"2026-09-08T21:30:05.5630037+00:00","affected":[{"ecosystem":"npm","name":"astro","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.2.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["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/astro@7.2.8"],"sourceUrl":"https://github.com/advisories/GHSA-26w7-cxv4-gfx2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-26w7-cxv4-gfx2","identifiers":["GHSA-26w7-cxv4-gfx2"]},"retained":false,"historicalAffected":[]}],"coverage":[]}