cf-manager SSRF/RCE via Worker deployment (CVE-2026-71499)
cf-manager before 1.1.2 allows SSRF and arbitrary Worker script deployment via unvalidated URLs in POST /api/:accountId/workers and /api/batch-deploy. Attackers with API access, or unauthenticated if API_SECRET is unset, can fetch internal resources or deploy attacker-controlled JavaScript to the victim's Cloudflare Workers account. Fixed in 1.1.2.
Summary
CVE-2026-71499 affects cf-manager, an all-in-one dashboard for managing multiple Cloudflare accounts and services. Prior to version 1.1.2, worker/src/routes/workers.ts uses bare fetch(url) calls to retrieve user-supplied URLs and deploys the returned content as a Worker script using stored Cloudflare credentials.
The multipart and JSON branches of POST /api/:accountId/workers and POST /api/batch-deploy accept URLs without protocol, destination, redirect, content-type, or response-size validation. This allows an attacker with deployment API access, or unauthenticated access when API_SECRET is not configured, to:
- Make cf-manager access internal resources (SSRF). - Fetch attacker-controlled JavaScript and execute it in the victim Cloudflare Workers account.
Per the NVD entry and the vendor advisory, the issue is fixed in cf-manager version 1.1.2.
What to do
1. Verify the vendor advisory and release notes for cf-manager 1.1.2, then upgrade affected installations to version 1.1.2 or later. 2. If an immediate upgrade is not possible, review the vendor advisory before changing production and consider restricting access to the deployment API endpoints (/api/:accountId/workers and /api/batch-deploy) at the network or reverse-proxy layer. 3. Ensure API_SECRET is configured and enforced so unauthenticated access to cf-manager APIs is not possible. 4. Review existing Cloudflare Workers deployments for unexpected or unauthorized scripts, and rotate stored Cloudflare credentials if compromise is suspected. 5. Monitor logs for unusual requests to the affected endpoints, especially requests containing external or internal URLs.
Sources: NVD, vendor commit, release tag, and GHSA advisory referenced in the NVD entry.