Close Menu
NCIJ Network NCIJ Network
    What's Hot

    International Gibbon Day: Stories of threats and survival  

    October 24, 2026

    Arrest made after fire at Hitler’s mountaintop Eagle’s Nest retreat

    October 24, 2026

    Andy Burnham has come for the headphone-dodgers. But is there any evidence fines work? | Social etiquette

    October 24, 2026
    Facebook X (Twitter) Instagram
    Trending
    • International Gibbon Day: Stories of threats and survival  
    • Arrest made after fire at Hitler’s mountaintop Eagle’s Nest retreat
    • Andy Burnham has come for the headphone-dodgers. But is there any evidence fines work? | Social etiquette
    • BlackX UEFI bootkit exploits Baton Drop flaw to bypass Secure Boot
    • A hidden bias in human language challenges 70 years of science
    • The Locations of North Carolina’s Industrial Poultry Farms Have Been a Secret—Until Now
    • Live – Tensions rise in Albania as protesters burn symbolic pillows outside prime minister’s office
    • Is London really the most-taxed city? Banks accused of cherrypicking data | Budget 2026
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Saturday, October 24
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKOctober 24, 2026 Cybersecurity No Comments6 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    A memory-corruption flaw in Google’s Brotli decoder sits in many programs that unpack Brotli-compressed data, among them Bun, the Python Brotli and brotlicffi packages, and Envoy proxies set up to decompress Brotli.

    Tracked as CVE-2026-111497, the flaw allows crafted compressed data to overwrite past the end of a buffer and corrupt a program’s memory, potentially causing a crash, a memory leak, or the execution of attacker-controlled code.

    Imperva researchers have shown that code can run on one unpatched Node.js build. The same has not been demonstrated on the other software, and no real-world attacks have been reported.

    The flaw was first disclosed on October 21, when Node.js and Google shipped fixes, and more have followed product by product since. Because the bug is in Google’s decoder and each program ships its own copy of it, every one has to update that copy on its own.

    Cybersecurity

    Brotli is a compression format from Google, used across the web to shrink pages and other traffic. The bug is in the C code that unpacks a Brotli stream, so it travels into anything that reuses that code, from language runtimes to proxies to Python packages.

    Which Software Is Affected

    Product Affected Fixed in Exposed when
    Google Brotli (C library) 1.0.3 to 1.2.0 1.0.10, 1.1.1, 1.2.1 code decodes untrusted Brotli
    Node.js 22.x, 24.x, 26.x before the fix; 20.x and older (end of life) 22.23.4, 24.22.1, 26.12.1 fetch() of a br response, or Express or body-parser br bodies
    Bun 1.4.3 and earlier 1.4.4 fetch() of a br response, or node:zlib
    Envoy 1.39.2, 1.38.5, 1.37.7, 1.36.11 1.40.0, 1.39.3, 1.38.6, 1.37.8, 1.36.12 only if the Brotli decompressor is configured
    Istio 1.31.0 to 1.31.1, 1.30.0 to 1.30.5, 1.29.0 to 1.29.8 1.31.2, 1.30.6, 1.29.9 only if Brotli decompression is enabled
    Python Brotli 1.2.0 and earlier 1.2.1 installed, and an HTTP client decodes br
    Python brotlicffi 1.2.0.x and earlier 1.2.1.0 installed, and an HTTP client decodes br
    cdxgen standalone binaries and images, 13.4.0 and 12.8.8 and earlier 13.5.0, 12.8.9 standalone binary or image scanning untrusted input

    A program is exposed only if it decodes Brotli data that someone else controls. For Node.js and Bun, that happens when the built-in fetch() reads a response sent with Content-Encoding: br, or when request-body code such as Express 5 and body-parser 2 unpacks a Brotli upload. A plain Node.js HTTP server does not decode request bodies on its own.

    Envoy and Istio are affected only when Brotli decompression is enabled, for example, through an Envoy filter. Where it is off, the flaw cannot be reached.

    In Python, the risk comes from the Brotli or brotlicffi package being installed at all. Once either is present, HTTP clients such as requests, urllib3, httpx, and aiohttp decode Brotli responses on their own, so an application can be exposed without ever importing Brotli in its own code.

    A web application firewall helps only so far. Vercel, which added firewall rules on the day of disclosure, said those rules do not cover “responses your functions fetch from other servers.” For that path, only updating the runtime or library closes the hole.

    How far the flaw can be pushed depends on the software. Imperva’s Red Team, which calls its work Node2Shell, ran attacker-supplied code on an unmodified Node.js 24.22.0 build for Linux on ARM64, delivering it both as a fetched response and as an Express request body. The exploit took several tries, has not been released, and was not tested on other builds.

    OpenAI, whose Codex Security team reported the flaw, describes it as enabling unauthenticated remote code execution in Brotli and lists Node.js, Bun, and Envoy as affected software. In its account, the flaw works both ways:

    an unpatched server that accepts compressed input could be taken over by a malicious client, and an unpatched client that accepts compressed input (such as “curl –compressed”) could be taken over by a malicious server.

    No in-the-wild exploitation has been reported. CISA’s October 23 assessment recorded exploitation as “none” and automation as “no,” and Red Hat said there is no reliable public proof-of-concept for running code.

    Severity ratings differ by who is scoring. Google, which assigned the CVE, rates it 9.2, or critical, on the CVSS 4.0 scale. Node.js calls it high, and Red Hat rates it 8.1, or important.

    The fix has an unusual history. The change that closes the flaw was added to Brotli’s source code on February 27, but no new Brotli release carried it until October 21. OpenAI said the root cause “was actually fixed in the Brotli source code in February, but it wasn’t known at the time that it gave rise to a security vulnerability and there was no more recent release of Brotli.”

    Cybersecurity

    Node.js credits Khai Tran and Sylvie Mayer of OpenAI’s Codex Security for reporting the flaw, and maintainers Matteo Collina and Antoine du Hamel for the fix.

    What to Do Now

    Update to a fixed version from the table above, then restart the service and rebuild any container image, because a running process keeps the old decoder until it restarts.

    Where you cannot update yet, stop decoding untrusted Brotli. OpenAI’s disclosure page and the security firm Aikido both recommend:

    • Reject incoming requests with Content-Encoding: br before any proxy or parser decodes the body.
    • Turn off automatic Brotli decoding in HTTP clients, and reject Brotli responses before they are decoded.
    • In Python, uninstall the Brotli and brotlicffi packages so clients fall back to gzip and deflate.

    Dropping br from the Accept-Encoding header does not help on its own, because a server can send Brotli whatever the client asks for. For Node.js, no workaround has been published, so updating the runtime is the only fix.

    System packages are being fixed at different times. Debian fixed its brotli package for Debian 13 (trixie) on October 23 in version 1.1.0-2+deb13u1. Amazon Linux 2023 still listed its brotli and Node.js 24 packages as pending a fix as of October 22.

    Dependency scanners may not flag the Python packages yet. The CVE record names Google’s Brotli repository, not the PyPI packages, and GitHub’s advisory still lists no affected package, which is what Dependabot reads. Advisory entries for the two Python packages, PYSEC-2026-4322 and PYSEC-2026-4323, were added on October 23, so check the installed versions manually as well.

    affects Brotli Bun Decoder Flaw Node.js Python RCE software Widely
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    BlackX UEFI bootkit exploits Baton Drop flaw to bypass Secure Boot

    PHP shares mitigation for new RCE vulnerability with no patch

    Quest Diagnostics confirms data breach exposed patient records

    Researchers Push Over 2 Million Updates to Remotely Disable Popcorn Time Updater That Could Fuel a Botnet

    Atlassian Patches 75 Flaws in Data Center and Server Products

    Microsoft Teams to get AI-powered, context-aware phishing detection

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    International Gibbon Day: Stories of threats and survival  

    October 24, 2026

    Arrest made after fire at Hitler’s mountaintop Eagle’s Nest retreat

    October 24, 2026

    Andy Burnham has come for the headphone-dodgers. But is there any evidence fines work? | Social etiquette

    October 24, 2026

    BlackX UEFI bootkit exploits Baton Drop flaw to bypass Secure Boot

    October 24, 2026
    Latest Posts

    Google AI health coach to use Abbott glucose data

    August 14, 2026

    CMF hit the balance between cheap and good clip earbuds

    August 14, 2026

    David Hearn’s Lawyers Ask Court to Bar Future Reflecting Pool Charges

    August 14, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    International Gibbon Day: Stories of threats and survival  

    October 24, 2026

    Arrest made after fire at Hitler’s mountaintop Eagle’s Nest retreat

    October 24, 2026

    Andy Burnham has come for the headphone-dodgers. But is there any evidence fines work? | Social etiquette

    October 24, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.