Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-73425— @astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped

CVSS 3.7 · Low EPSS 0.17% · P7

Affected Version Matrix 1

VendorProductVersion RangeStatus
withastroastro< 8.1.2affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-73425

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped
Source: CVE Program / CVE List V5
Vulnerability Description
Astro is a web framework for content-driven websites. Prior to 8.1.2, the Astro Netlify adapter converts each image.remotePatterns entry into a regular expression written to .netlify/v1/config.json under images.remote_images for Netlify's Image CDN allowlist. In packages/integrations/netlify/src/index.ts, remotePatternToRegex() escapes dots in hostname values but interpolates literal pathname values without escaping regular expression metacharacters such as ., +, ?, (, and [, so a restrictive pathname such as /img/v1.0/file also matches metacharacter-adjacent paths, including paths that cross a segment. Netlify enforces the generated regular expression directly and Astro's matchPattern() helper does not revalidate the request, allowing optimization of images on an already-allowed host that the declared pathname was intended to exclude. This issue is fixed in version 8.1.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不正确的正则表达式
Source: CVE Program / CVE List V5
Vulnerability Title
withastro astro 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
withastro astro是withastro组织的一款面向内容网站的现代网页构建框架。 withastro astro 8.1.2之前版本存在输入验证错误漏洞,该漏洞源于Astro Netlify适配器将image.remotePatterns条目转换为正则表达式时未正确转义正则表达式元字符,可能导致攻击者绕过路径限制,优化本应被排除的图片。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
withastroastro < 8.1.2 -

II. Public POCs for CVE-2026-73425

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-73425

登录查看更多情报信息。

Vendor Advisories for CVE-2026-73425 (1)

Same Patch Batch · withastro · 2026-08-12 · 3 CVEs total

CVE-2026-734225.3 MEDIUMAstro: Reflected XSS via unescaped View Transition animation properties
CVE-2026-734235.1 MEDIUMAstro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()

IV. Related Vulnerabilities

V. Comments for CVE-2026-73425

No comments yet


Leave a comment