惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
O
OpenAI News
D
Docker
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
K
Kaspersky official blog
Security Latest
Security Latest
T
Tailwind CSS Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
N
News and Events Feed by Topic
aimingoo的专栏
aimingoo的专栏
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Help Net Security
Help Net Security
爱范儿
爱范儿
宝玉的分享
宝玉的分享
腾讯CDC
H
Heimdal Security Blog
Webroot Blog
Webroot Blog
AI
AI
WordPress大学
WordPress大学
Recorded Future
Recorded Future
SecWiki News
SecWiki News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
C
Check Point Blog
TaoSecurity Blog
TaoSecurity Blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - Franky
云风的 BLOG
云风的 BLOG

Fastly Blog

Fastly Fastly Fastly Fastly Fastly Fastly Fastly Six Common Live Streaming Mistakes (And How to Avoid Them) How Fastly and Skyfire Enable Trusted Agentic Commerce at the Edge Bot Defense is Table Stakes. Machine Traffic Requires a Business Strategy AI Traffic Grew 6.5x Faster Than Human Traffic This Year Python SDK Beta: How the Language of AI Runs Faster and Safer with Fastly Give AI Agents the Markdown They Actually Want How to Configure Local Logging for an On-Prem Next-Gen WAF Agent Accountability Without Control Is Breaking Security Leadership Fastly Joins the Agentic AI Foundation (AAIF) to Guide Edge AI Interoperability The E-commerce Industry in the AI Era: Has the Agentic Flood Hit? No Margin for Error: What the FIFA World Cup Teaches Us About Performance at the Edge Why iGaming Infrastructure is Breaking and What Comes Next The Publishing Industry in the AI Era: Why Bot Strategy is Now a Business Strategy Bad Performance Kills SaaS/PaaS Growth — Why Your CDN Matters Myth or Marvel: Claude Mythos and What it Means for Security Introducing Compliance Audit Reports Supporting Google Private AI Compute with Privacy-Preserving Edge Infrastructure Fastly Nearly Half the Web Isn’t Human: Inside Fastly’s Threat Insight Report Media over QUIC: Can Streaming Finally Have Both Scale and Low Latency? Introducing Fastly’s Redesigned Homepage: Your Central Hub for Actionable Insights The False Choice of Indiscriminate Blocking: Why Technical Precision is the New Standard for an Open Internet What is CVE-2026-23869? React Server Components Security Alert Fastly enables first-party tagging for Google Advertisers Shrink Your Bill With Efficient Software Your AI coding agent just got better at Fastly Fastly Ranked as a Leader in the 2026 Forrester Wave™ for Edge Development Platforms Fastly at RSAC 2026: New Advances in AppSec, Bot Management, and Deception Mastering the Edge: What Golf Can Teach Us About Speed, Precision, and Performance Real-Time CDN Monitoring for Live Events with Bronto Imperva Alternatives Fastly + Scalepost: Extending the Fastly platform to manage AI Crawlers Best content delivery networks for bot management Vibe Shift? Senior Developers Ship nearly 2.5x more AI Code than Junior Counterparts Maximizing Compute Performance with Log Explorer & Insights Fastly CDN Expands Scaling Fastly Network: Balancing Requests | Fastly Best Practices for Multi-CDN Implementations | Fastly Compute@Edge: Serverless Insights by Company | Fastly Fastly can teach you about the Wasm future in just 6 talks Fastly's Observability Unleashed: New Updates and Insights Optimizing your multi-CDN infrastructure to improve performance Stay ahead of attackers by pushing your security perimeter to the edge Are APIs the Key to Digital Innovation or a Trojan Horse? Fastly Academy: on-demand learning at your fingertips. | Fastly 30 Years of Web: Building for Tomorrow 4 Ways Legacy WAF Fails to Protect Your Apps Adobe boosts performance and MTTR with Epsagon and Fastly logs | Fastly Beta" A New Serverless Compute Environment Early TLS at Fastly Technical trainings & the future of edge delivery at Altitude 2016: a year in review Innovation Capacity Defined: Tech Stack Values | Fastly Deep Log Visibility Offered by Logentries | Fastly Caching the Uncacheable: CSRF Security Increase Your Hit Ratio With This Simple Tip
Why your code is safe from Copy Fail on Fastly Compute
Terri Allegretto · 2026-05-02 · via Fastly Blog

If you've been following the security news this week, you've probably seen Copy Fail (CVE-2026-31431) making the rounds. It's a serious one: a small Python script that can achieve root on most major Linux distributions.

For developers running code in shared environments like traditional serverless platforms or container architectures, this meant having to drop everything and quickly patch to prevent a compromise or system takeover. But this was not the case for developers running their code on Fastly Compute. Let me walk you through why.

So what is Copy Fail, exactly?

Copy Fail (CVE-2026-31431) is serious for environments that rely on shared Linux-kernel primitives and traditional container isolation. At its core, Copy Fail is a logic flaw in the Linux kernel's cryptographic subsystem. It targets a well-known optimization called Copy-on-Write (CoW), where the kernel shares memory pages between processes and only creates separate copies when one of them actually needs to write.

The exploit tricks the kernel into writing small amounts of data directly into the system's page cache — a cache that's shared across the entire host. By corrupting a sensitive file (say, /usr/bin/su) in memory, an attacker can effectively break out of their sandbox and gain root access to the machine.

It's a clever attack, and it highlights a fundamental tension in how traditional platforms handle isolation. Fastly Compute’s execution model inherently mitigates this vulnerability in two key ways: 

  1. Fastly Compute does not expose the shared page-cache primitive the exploit relies on. Many edge and cloud platforms run your code inside containers. These provide good isolation in most cases, but they still share a single underlying Linux kernel with everyone else on that host. And that's the crux of the issue: if the kernel itself has a bug in how it manages shared memory, the walls between tenants can start to break down. Copy Fail is exactly this kind of bug.

  2. Fastly Compute does not permit the low-level kernel socket access needed to trigger the attack as described.

How Fastly approaches this differently

Fastly doesn't just put your code in a smaller box — the box itself is built differently. Let me break down the key pieces.

WebAssembly runtime

We don't run your code as a traditional Linux process. Instead, Fastly Compute uses a high-performance WebAssembly (Wasm) runtime — specifically Wasmtime. Wasm provides a sandbox with formally defined boundaries. It doesn't rely on Linux kernel namespaces or control groups for its primary security model, which means kernel-level bugs like Copy Fail don't translate into an escape path for your application.

No shared page cache to target

Because our execution model doesn't depend on a shared host filesystem in the way containers do, the page cache primitive that Copy Fail exploits simply isn't part of your application's attack surface. Your code runs in its own dedicated memory heap, and that heap is destroyed the moment the request completes.

No socket options

In order to exploit Copy Fail, you also need to be able to create a socket with special options to talk to the Linux kernel cryptographic subsystem.  However, the Fastly Compute sandbox doesn't allow you to create arbitrary kernel sockets with arbitrary options.

To summarize, in the case of the Copy Fail exploit, the attacker needed to be able to do 2 things: 1) open a socket with very specific, low-level kernel options and; 2) have access to a shared system page cache. On Fastly Compute, we do not permit either of these. 

Give Compute a try today

Security isn't a feature you bolt on after the fact — it's the result of decisions made at the architecture level. By building on a Wasm-native execution model, Fastly Compute sidesteps entire categories of kernel vulnerabilities like Copy Fail, and it's one of many ways Fastly's entire platform is resilient by design.

If you're curious about how this works in practice, we'd encourage you to spin up a Compute project and explore the developer experience for yourself. We recently launched a new, generous free tier and self-purchase options for Fastly Compute. Check out our pricing page to learn more.