LIVE · cybersecurity feed
Live wire
cloud computingcritical

When Agentic Glue Melts: Exploiting Cloudflare Code Mode and Workers

Check Point Research has identified five memory-corruption vulnerabilities within `workerd`, the open-source runtime environment underpinning both Cloudflare Code Mode and Cloudflare Workers. Two of these vulnerabilities were rated critical by Cloudflare. The flaws could enable sandbox escapes in Code Mode and cross-tenant data exposure in Cloudflare Workers, a platform utilized by millions of…

ZeroDay News ·

Source: Check Point Research

Check Point Research has identified five memory-corruption vulnerabilities within `workerd`, the open-source runtime environment underpinning both Cloudflare Code Mode and Cloudflare Workers. Two of these vulnerabilities were rated critical by Cloudflare. The flaws could enable sandbox escapes in Code Mode and cross-tenant data exposure in Cloudflare Workers, a platform utilized by millions of developers and handling a significant portion of Cloudflare's network traffic.

Cloudflare has confirmed that its managed Workers environment has been patched in production. Users with self-hosted `workerd` or Code Mode deployments are advised to update to version `v1.20260619.1`. Proof-of-concept code demonstrating the vulnerabilities was released by Check Point Research during its Black Hat USA 2026 presentation.

The research focused on `workerd` because it serves as the in-process sandbox that isolates untrusted code, relying entirely on V8 for this isolation. The vulnerabilities were found in `workerd`'s native C++ code, which acts as the intermediary between JavaScript and the runtime. Two primary attack scenarios were developed: a cross-tenant heap swipe and a Code Mode sandbox escape.

The cross-tenant heap swipe exploits an out-of-bounds read vulnerability in `URLPattern`. This allows a malicious Worker to access the shared process heap and potentially extract sensitive data belonging to another tenant. The Code Mode sandbox escape, initiated through a prompt injection, leverages a use-after-free vulnerability in `node:zlib` to break out of the sandbox and execute native code on the host system.

Code Mode is Cloudflare's approach to Large Language Model (LLM) tool use, where AI models write TypeScript code against a defined API of tools, rather than making sequential tool calls. This generated code is executed within `workerd`. Cloudflare Workers, launched in 2017, is a serverless platform that runs customer code at the network edge. To achieve low latency and cost, Cloudflare packs multiple customer Workers into the same processes, relying on V8 isolates for isolation. `workerd`, which was open-sourced in September 2022, implements this isolation model.

Check Point Research targeted `workerd` due to its design as an in-process sandbox, which inherently carries higher risk compared to OS-level isolation methods like containers or virtual machines. Despite its critical role, `workerd` had received minimal public security scrutiny. The runtime also presents a large attack surface, implementing numerous Web/Node APIs in C++ that are accessible from untrusted JavaScript. The widespread deployment of Cloudflare Workers meant that any vulnerability in `workerd` would have a broad impact beyond experimental AI features.

Cloudflare employs several defense mechanisms to mitigate the risk of V8 vulnerabilities, including "the cage," which confines JavaScript-reachable objects to prevent corruption from spreading. However, the discovered vulnerabilities demonstrate that even with these defenses, the shared memory space within `workerd` can be exploited if the software boundary between isolates is compromised.

cloud computingvulnerabilitiesserverlessairuntime security
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.