megachangelog
Security2025-08-29

WAF emergency rules for Next.js CVE-2025-55173 and CVE-2025-57752

Cloudflare has released emergency WAF rules to block critical Next.js vulnerabilities: CVE-2025-55173 (arbitrary file download) and CVE-2025-57752 (cache poisoning). These rules protect against data exposure and cache manipulation risks affecting production environments.

This week's update

This week, new critical vulnerabilities were disclosed in Next.js’s image optimization functionality, exposing a broad range of production environments to risks of data exposure and cache manipulation.

Key Findings

  • CVE-2025-55173: Arbitrary file download from the server via image optimization.

  • CVE-2025-57752: Cache poisoning leading to unauthorized data disclosure.

Impact

Exploitation could expose sensitive files, leak user or backend data, and undermine application trust. Given Next.js’s wide use, immediate patching and cache hardening are strongly advised.

RulesetRule IDLegacy Rule IDDescriptionPrevious ActionNew ActionComments
Cloudflare Managed Ruleset...9ff4bfe3100613Next.js - Dangerous File Download - CVE:CVE-2025-55173N/ABlockThis is a new detection
Cloudflare Managed Ruleset...69b9ea7d100616Next.js - Information Disclosure - CVE:CVE-2025-57752N/ABlockThis is a new detection
wafsecuritynextjscveemergency

Source: original entry ↗

More from Cloudflare

Follow Cloudflare to get its new changes in your feed and email digest.

Fix2026.8.2115.0

Cloudflare One Client for Linux

A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.

linuxclientcertificateshotfix
See all Cloudflare changes →