Skip to main content
Naxos One
News · governance and cyber reporting

Patching the Server Leaves Fifty Thousand Stolen Keys Still Working

React2Keys walked into 19,000 unpatched Next.js hosts and left with 50,000 live cloud and AI keys. Three disclosures in forty-eight hours show why a patched server is not a clean estate, and what a board should demand instead.

A wall of hotel room keys beside a locksmith cutting a brass master key

Somewhere between 9 and 18 November 2026, a script woke up every three minutes and read six public Certificate Transparency logs. It was waiting for new TLS certificates, the paper trail every web server leaves the moment it is given a secure address. When a certificate appeared, the script knocked on the server behind it. If the server was a Next.js application that had never been patched, it walked in.

It did not need a password. It did not need a user to click anything. It sent one unauthenticated request carrying a malicious React Flight payload, exploited a maximum-severity bug that had been public for a year, and pulled the server's secrets out through the error digest field, the part of the response Next.js prints when something goes wrong. Then it moved on to the next certificate.

Verdict: patching the bug stops the bleeding, not the theft. Fifty thousand keys taken before the patch are still valid today, and most boards are still measuring the patch, not the keys.

When CloudSEK opened the attacker's recovered infrastructure on Monday 30 November, they found a 1.9-million-line exfiltration log, per-victim result folders, a toolkit of more than 900,000 files, and inventory databases. More than 50,000 live credentials from over 19,000 hosts across 400 organisations, including SoftBank, Mercell, Fonasa, Senkadagala Finance and Harvard University. Cloud, database, code repository and AI API keys.

Then the attacker did something that should end the argument about what kind of incident this is. It took the stolen AWS Lambda credentials and used the victims' own cloud accounts to pay for scanning the next wave of targets.

A patched server is not a clean estate.

Three credential failures in forty-eight hours

If React2Keys had arrived alone, security committees would already be burying it under a familiar excuse: patch backlog. After all, CVE-2025-55182, known as React2Shell, carries a CVSS score of 10.0 in React Server Components and Next.js Server Actions, and it was publicly disclosed on 3 December 2025. Blaming slow regional web teams for failing to patch a twelve-month-old bug feels tidy. It also feels reassuring, which is usually the sign that it is wrong.

Two companion disclosures, published inside the same forty-eight-hour window, take that excuse apart.

On Monday 30 November and Tuesday 1 December, Peyton Kennedy at Endor Labs disclosed CVE-2026-136998 in Docker Sandboxes, versions v0.43.0 through v0.54.x. This is the developer microVM product sold on a specific promise: that the coding agent inside it never touches a raw credential. It did not work. Docker's host proxy bound the developer's one-time approval to a generic service name rather than to the destination domain or the digest of the kit that was approved. A malicious update to a third-party agent kit could therefore redirect cleartext global keys across thirteen built-in services (Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI) to a server the attacker controlled, without a prompt and without a line in the policy log saying a key had gone out.

Hours earlier, on 30 November, BleepingComputer detailed the fallout at the domain provider easyDNS. Intruders entered an internal monitoring system on 25 November, copied customer database tables and left with roughly 600 long-lived customer "Bring Your Own Key" AWS credentials for easyRoute53, 150 sub-account keys across roughly 550 customers, 6,413 legacy outbound SMTP passwords, and 28,941 unsalted SHA-256 mailbox password hashes across 14,780 domains. easyDNS discovered its own AWS compromise on 26 November only after customers started reporting unauthorised activity inside their own AWS accounts, using the keys they had stored with easyDNS.

Put those three records on one table and the architecture is on trial, not the patch calendar. Enterprises have built hyper-ephemeral compute, containerised microservices and autonomous coding sandboxes on top of static bearer secrets that outlive every container, outflank every vault, and turn a stolen metered AI key into self-funding attacker infrastructure. A board that still measures cyber hygiene by monthly patching percentages, while allowing long-lived bearer keys in .env files, unpinned agent kits and vendor databases, is measuring how fast it locked the barn door after handing out copies of the master key.

Inside the ledger, the silent proxy and the unsalted hash

Take the three failures in turn, staying with what the primary disclosures establish.

In React2Keys, the operator did not deploy ransomware. Encrypting a marketing server alerts the helpdesk in ten minutes, and the point was not noise. The payload harvested .env files, AWS EKS Pod Identity tokens, Azure Instance Metadata Service tokens, private Git repositories, SSH keys (planting a persistent key called bluelocale-foothold into authorized_keys), metered AI API keys for OpenAI, Anthropic, Gemini, OpenRouter and Azure AI Foundry, and gateway credentials for Infisical secrets vaults. CloudSEK counted more than 19,000 compromised Next.js hosts across 400-plus organisations, with Brazil, India, Germany, Russia and France leading geographic exposure. Stolen cloud credentials went straight back into scanning capacity, which is why the campaign grew while it ran.

Pause on the vaults. Security teams spend six figures moving credentials out of source code into centralised secrets managers so they can tell the audit committee that secrets are vaulted. Yet if the application container authenticates to that vault with a static master token sitting in a plaintext environment variable on the web server, compromising the web framework hands over the vault's front door in milliseconds. Centralising a secret does not protect it if the key to the centre is lying on the same box.

Two practitioners quoted by Dark Reading on 30 November said it better than any framework. Oren Biderman, head of threat detection at Daylight Security: "The number of hacked servers also undersells the damage. These attackers are after the secrets on the box: cloud credentials, GitHub tokens, database passwords, AI keys. Those keep working after you patch. If you ran an exposed Next.js app and only patched it, I wouldn't assume you're clean." Randolph Barr, CISO at Cequence Security, named the new balance-sheet leak that metered models created: "If someone steals your AI key, they run their work on your bill, and you only find out when the invoice shows up."

Now Docker Sandboxes, CVE-2026-136998, classified as CWE-863 and reported to Docker on 21 September 2026. It was patched in v0.55.0 on 30 November, with no active exploitation in the wild reported so far. The scoring split is instructive: Endor Labs rated it 8.2 High under CVSS 3.1 (AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N) and 6.9 Medium under CVSS 4.0, while Docker scored it 5.6 Medium. Vendors score silent boundary bypasses conservatively because a user once clicked approve during installation.

The marketing promise was precise. The developer's raw OpenAI, Anthropic or GitHub token never enters the microVM. The agent inside sees only a placeholder, and a trusted proxy on the host swaps in the real key on outbound HTTPS requests bound for approved destinations. On day one, the developer inspects a third-party kit, sees api.anthropic.com, and approves. Docker writes the binding into credentials.yaml. On day twelve, the kit maintainer, or an attacker who has taken over that maintainer's repository, ships an update that points the inject target at their own host and adds that host to permissions.network.allow.

At runtime the proxy checked only whether any binding existed for the service name. It ignored the approved domain list, and it ignored the digest of the kit that had been inspected. As Endor Labs documented: "The second 'sbx create' shows no prompt. 'sbx policy log' records the connection to the canary host as allowed and says nothing about a credential being injected into it. An operator reviewing logs afterwards sees an ordinary permitted request." Kennedy's summary of the broken invariant deserves a place on the wall: "a prompt is only as strong as what its answer is bound to. If the approval is not tied to the artifact that was inspected, the next update inherits it."

Then easyDNS, where Mark E. Jeftovic wrote something almost no chief executive puts in public. "Initial access was through an internal monitoring system that allowed them to use management features to run commands on a number of servers. That system has been taken offline and the path to it sealed." And then: "As personally and professionally embarrassing as this is to say, I too understood easyMail passwords to be duly salted. As of Sunday, easyMail password hashes are now SHA512-CRYPT with unique salts and 50,000 rounds."

His candour deserves respect, and the cause of his surprise deserves study. Five hundred and fifty enterprise and technical customers had handed a DNS provider standing AWS access keys instead of short-lived cross-account STS roles scoped to DNS zone edits. Meanwhile easyDNS's own leadership believed for years that its legacy password storage was salted, because nobody had run an empirical check against the live database table.

Brass master keys in a 400-room hotel

To explain to a non-technical board why patching CVE-2025-55182, or buying a developer sandbox, does not stop credential loss, compare two ways of running a hotel.

Walk into an old grand hotel built around mechanical brass pin-tumbler locks. Housekeepers, maintenance engineers and room service cannot carry four hundred keys on their belts, so the locksmith cuts a Grand Master whose blade lines up the pins in every cylinder from the boiler room to the presidential suite. That brass key is a pure bearer instrument. The lock on Suite 412 cannot tell whether the hand turning it belongs to the head housekeeper or to a burglar who lifted the key off a hook in an unlocked linen cupboard ten days ago.

Now suppose the manager learns on Monday that the linen cupboard latch has been broken since last December, and that thieves got in last week and photographed the Grand Master. Any kiosk in town cuts a working brass copy in ninety seconds. At Tuesday's board meeting the facilities director announces, with some pride, that maintenance has welded a steel deadbolt onto the cupboard door. Problem closed. Remediation at 100 per cent.

Every director in that room would laugh him out of the building. Bolting the cupboard does nothing while copies of a non-expiring brass master are circulating across town. Until all four hundred cylinders are pulled and re-keyed, the burglar walks through the lobby and opens every suite without leaving a scratch on the brass.

Hotels abandoned brass masters decades ago for keycards bound to a room number, a guest identity and a checkout time, on networked locks that reject a revoked card in one second. Corporate cloud and AI estates are still cutting brass masters by the tens of thousands: static OPENAI_API_KEY and ANTHROPIC_API_KEY strings pasted into .env files on edge web servers, global GITHUB_TOKEN secrets injected by unpinned developer proxies, permanent AWS IAM keys uploaded into third-party DNS dashboards.

Patching Next.js on 2 December, after React2Keys visited between 9 and 18 November, is welding a deadbolt onto an empty cupboard. The attacker already left with the keys, planted bluelocale-foothold in the back stairwell, and is billing compute to a corporate card.

Why static keys keep winning

Why do competent engineering organisations, including global technology investors and elite research universities, put exposed web front ends full of permanent .env secrets in front of the internet and hand vendors raw AWS IAM keys?

Because static bearer keys maximise day-one developer speed at zero visible line-item cost, and because patch-percentage charts flatter security leadership without disturbing how software gets built.

Follow the incentives across four seats at the table.

Start with product and AI feature teams. Under relentless pressure to ship generative AI features every sprint, pasting an organisation-level Anthropic or OpenAI key into a deployment environment takes thirty seconds and works first time. Designing workload identity federation, mutual TLS, per-service IAM roles, short-lived OIDC tokens and egress-restricted inference gateways takes days of platform engineering and slows prototypes. Shipping fast gets people promoted. Invisible credential hygiene gets nobody anything.

Look next at model providers and developer tooling vendors. Metered keys with generous organisation-wide spend ceilings make onboarding frictionless. When a customer's sk- key leaks through an unpatched Next.js server and an attacker burns $80,000 of inference over a holiday weekend, the billing meter spins profitably until the customer disputes the invoice. Likewise, shipping agent kits that auto-update without a fresh digest approval makes an ecosystem feel effortless in a conference demo, and hides the authorisation shortcut (5.6 on the vendor's scorecard) until an outside researcher opens credentials.yaml.

Consider the SaaS suppliers: DNS, monitoring, CI/CD. Building proper AWS cross-account role delegation, with AssumeRole, an ExternalId and narrowly scoped resource policies, confuses less technical buyers at onboarding. Asking the buyer to paste an AWS_ACCESS_KEY_ID and an AWS_SECRET_ACCESS_KEY into a web form halves the support tickets, right up to the morning one monitoring server breach exposes 550 customer clouds at once.

Then look honestly at the CISO's own dashboard. Telling the audit committee that 94 per cent of critical CVEs were patched within SLA gives directors a comfortable green bar. Saying that the remaining six per cent included forgotten regional Next.js microsites on shadow domains, found in three minutes by an attacker reading public Certificate Transparency logs and missing from the quarterly asset sheet, and that every secret ever mounted on those hosts must now be treated as burned, starts a conversation about architectural debt that nobody scheduled.

The honest case against abolishing static secrets

A pragmatic VP of platform engineering will push back hard against a mandate to abolish static API keys and pin every developer tool by digest, and three parts of that pushback deserve a real answer.

First, large parts of the SaaS and AI market still do not support OIDC workload identity federation. OpenAI, Anthropic, Groq, OpenRouter and dozens of payment or registrar APIs authenticate machines with static bearer keys, so an enterprise cannot replace every third-party key with an STS token tomorrow morning. Second, forcing developers to re-approve a digest on every minor bump of an IDE plugin or sandbox kit produces consent fatigue, and trains engineers to click allow without reading anything. Third, force-rotating 50,000 production database passwords, webhook secrets and service keys across 400 microservices in forty-eight hours will break live checkout flows and batch pipelines, and that outage is certain while the compromise is only probable.

All of that friction is real. Pretending a SaaS provider will rewrite its authentication protocol overnight is wishful thinking, and blind mass revocation without dependency mapping is self-inflicted damage.

Where the argument collapses is in using an upstream protocol limit as a reason to keep raw, unscoped, unbounded keys inside internet-facing application memory and on developer laptops. Even when an external provider issues only a static bearer key, nothing requires your internet-facing container to hold that key. Put an internal egress gateway in front of the external APIs and the Next.js server or sandbox holds only a fifteen-minute internal OIDC token. The gateway verifies the workload identity, enforces destination pinning, caps spend at $50 a day per service, and injects the provider key inside an enclave that a React Server Action cannot reach.

Five deadlines that make a stolen key worthless

The governance rule fits in one sentence: no internet-facing application, developer workstation or third-party vendor may hold a long-lived static cloud IAM credential or an unbounded external API bearer key.

Translated into controls with a date and a test:

  • Within fourteen days, every internet-facing React Server Components and Next.js deployment must be past CVE-2025-55182. Discovery runs continuously off public Certificate Transparency logs on the same three-minute cadence the attackers use, not off an internal CMDB. Every secret, SSH key and vault gateway token that ever sat on a previously unpatched host is rotated on the assumption it was taken.
  • Within thirty days, Docker Sandboxes on every engineering endpoint is on v0.55.0 or higher, third-party agent kits come only from an internal registry pinned by immutable SHA-256 digests, and raw global AI and GitHub keys are gone from laptops in favour of proxy tokens that expire within four hours.
  • Within forty-five days, every external AI key and third-party SaaS bearer token is out of .env files and runtime environment variables on internet-facing tiers, and behind an internal egress broker that authenticates callers with ephemeral workload OIDC tokens and caps each key at 120 per cent of its trailing seven-day baseline.
  • Within sixty days, every standing BYOK AWS access key, Azure service-principal password and GCP service-account file shared with a vendor is revoked, and replaced with cross-account role delegation (STS AssumeRole with a unique ExternalId and least-privilege resource conditions) or the integration is terminated.
  • Within ninety days, security engineering runs a live empirical cryptographic audit across 100 per cent of customer and internal authentication tables, checking real database schemas rather than architecture diagrams, for zero unsalted hashes, zero fast SHA-256 password storage and zero cleartext legacy SMTP or monitoring credentials.

Budget it honestly. Certificate Transparency discovery, an internal secretless egress broker, migrating vendor BYOK integrations to STS roles and automating rotation in a mid-market or enterprise engineering organisation costs roughly $200,000 to $500,000 over two quarters: two platform security engineers and light gateway infrastructure. Set that against one stolen Lambda key funding an attacker's scanning fleet for three weeks, or a multi-jurisdiction breach notification to 100,000 customers.

Give ownership to the VP of platform engineering jointly with the CISO, with review gates at thirty, sixty and ninety days, and two hard circuit breakers. Any metered AI or cloud key that passes 150 per cent of its rolling twenty-four-hour spend ceiling revokes itself within sixty seconds. Any new TLS certificate issued for a corporate domain outside the approved ingress controllers triggers automated WAF quarantine within ten minutes.

The audit committee gets one page and four numbers: public hosts found through Certificate Transparency logs that were missing from the internal asset inventory; vendors still holding non-expiring cloud IAM keys, with a target of zero; the share of metered AI keys governed by automated daily dollar kill-switches; and the verified share of credential databases empirically audited for salted slow hashing in the last ninety days.

Where this is the wrong spend

If you run a fifteen-person agency or a shop with static brochure sites on a managed platform, no React Server Components, no custom cloud IAM integrations, and five seats on ChatGPT Enterprise or Claude Team behind SSO rather than raw API keys, building OIDC egress brokers is overhead you will never earn back. Turn off raw API key creation in the admin console, enforce SSO with hardware MFA, and check that your registrar uses delegated roles or scoped tokens rather than root cloud keys.

Weld the cupboard last; re-key the cylinders first

CloudSEK's 1.9-million-line ledger proved that patching a year-old Next.js bug after 19 November leaves 50,000 stolen brass keys turning smoothly in corporate locks. Endor Labs proved that an approval not bound to the artifact it inspected hands tomorrow's malicious update everything you approved yesterday.

Stop grading resilience by how neatly maintenance bolted the linen cupboard door. Pull the static cylinders out of the web tiers, bind every approval to an immutable digest, and make every credential expire before the attacker's invoice arrives. The patch is the easy part. It is also the part that will be finished first, reported first, and counted first, while the keys that were already stolen keep opening doors.


Sources


Connected decisions in this library

Connected decisions in this library: Compare how to replace quarterly slide binders with a twelve-page board pack, then pair that position with how to set your first ninety-day mandate with the CEO.

Personal briefing notes

Storage: kept in this browser immediately; export a portable backup in My library to move notes to another device.

Your notes stay on this device.

Was this useful?

If it helped, say yes. If something was missing or unclear, say no and tell us what, and it goes straight to the author.

Something wrong on this page? Tell the author.

Read next

Bitcoin at $52,000 Just Priced the Cost of Cryptographic Immobility

Bitcoin broke below $52,000 minutes after the NSA and eight technology giants urged faster post-quantum upgrades. Markets did not price a broken cipher. They priced governance latency.

Practice pillar archive

Elsewhere in News (16)

Search library

Type a topic, framework, or keyword to search the library.

Shortcut: press ⌘K or Ctrl+K anywhereOpen full search
Studio directory

Explore Naxos One

Watch Ch 1

Copy this link to share it