PHP2Shell Now Has a Working Public Exploit While a CA Private Key Was Literally the Number Four
Also this week, LiteLLM’s release pipeline shipped an info-stealer through PyPI and Docker, and APT28 spent two months inside a NATO-country shipbuilder.
Summary
The loudest story this week is not necessarily the most consequential one. PHP2Shell took the nickname and the emergency calls, and it has earned a fast patch. Now it also has a working public exploit. A researcher successfully exploited a live challenge and published the code, while separate honeypot research confirmed remote command execution. That changes the picture, but it still doesn’t mean reliable mass exploitation is underway.
Three other stories ran underneath the noise. LiteLLM’s own release pipeline was hijacked and used to push an info-stealer and a backdoor through PyPI and official Docker images. Researchers discovered that one of eMudhra’s intermediate CA private keys was literally the number four. The affected certificates were revoked, and the company announced it is leaving the global SSL/TLS business. Russian GRU-linked operators were inside a naval shipbuilder in a NATO member state for two months, roughly a week of which was spent hands-on-keyboard.
If you run internet-facing PHP, patch it on the emergency track and then put your remaining attention where it buys more, because the LiteLLM compromise has confirmed credential theft and a poisoned release pipeline behind it. The certificate story is a reminder that cryptographic trust can be reconstructed from carelessness, and the shipbuilder intrusion shows how much a patient operator collects in the stretch between the alert and the investigation.
Get The Monday Brief in your inbox every Monday. Subscribe for free, and share it with someone who’d find it useful.
Thanks for supporting The Monday Brief.
Weekly Signals Analysis
A severity score measures what happens if an exploit lands, not how often it lands. PHP2Shell is rated 9.2, and a working public exploit now exists. Researchers have also confirmed successful command execution against vulnerable honeypots. But this is still a long way from demonstrating reliable exploitation against arbitrary production servers. Patch on the emergency track, and prioritize investigations based on exposure and evidence of successful execution, not scanning volume alone.
A trusted release pipeline is a distribution channel an attacker wants more than your code. LiteLLM’s compromise rode PyPI and official Docker images into production AI gateways. Any system that installed version 1.107.0 should be treated as compromised, not downgraded and forgotten.
Cryptographic trust is only as strong as the randomness behind it. eMudhra’s intermediate CA private key was literally the number four, reconstructable in under a second. Scope this to the chains that actually touch you, and scope it this week, because Chrome removes emSign ECC Root CA - G3 on October 27 and legitimate certificates beneath it stop working that morning.
Persistent access and active collection leave different evidence. Symantec puts APT28 inside a shipbuilder in a NATO member state for two months, with operator commands concentrated in about a week of that. Investigate the whole window, not only the days somebody was visibly typing.
What not to over-index on: the PHP version your external scanner reports back. A distribution backport fixes both CVEs while leaving the version number low, and expose_php set to off means plenty of hosts never advertised a version in the first place. An external fingerprint is neither a verdict nor a clearance here. Settle this from your package inventory instead.
This Week’s Signals
Signal 1: PHP2Shell Has a Working Public Exploit, but Mass Compromise Is Another Question
Why it matters: CVE-2026-109618 and CVE-2026-109619 are remote code execution flaws in PHP, each rated CVSS 9.2, in a language running on almost 70% of websites whose server-side language is identifiable. Two fields in that score went missing from most of the coverage. PHP’s own advisory rates attack complexity high and attack requirements present. Cloudflare reports attack traffic and payloads being reshaped to evade its rules. Arctic Wolf Labs observed widespread scanning and active exploitation attempts, including attempts to validate command execution and deliver second-stage payloads tied to Potassium botnet infrastructure. Amazon identified attempts dating back to October 17. Since then, researchers have confirmed command execution against vulnerable honeypots, and a working public exploit has been released following a successful live hacking challenge. Successful execution is no longer theoretical. Widespread production compromise, however, remains unproven.
What is being misread: A 9.2 is being read as trivially exploitable from anywhere, and the number does not say that. Severity describes the consequence when an exploit lands. It says nothing about how often one lands. But the evidence has moved. At release, the PHP Foundation had no functional public exploit. Now we have one, calibrated to a specific Alpine PHP 8.4.26 build and worker configuration. The mistake would be jumping from a working exploit against a known environment to the conclusion that arbitrary production servers can be compromised reliably. Those are two very different claims.
Think Red (Douglas McKee): Hard is not safe, and I have shipped exploits on worse odds. But look at what this one asks of me. I have to land several requests on the same PHP worker, and your server picks which one answers, not me. The memory corruption then has to come out in a very specific shape, and that shape changes between PHP versions. Then there is the address of the function I want to call, which moves with whoever compiled your PHP, so Ubuntu’s 8.3 and a hand-built 8.3 are different targets. Each of those is a guess, and a wrong guess crashes the worker instead of handing me a shell. Against a target I have studied, where I can learn your setup and retry until it works, I get there, and an agent gets me there faster. Against the open internet, where I usually cannot tell which PHP setup you run and most of you publish no version, I have to be right about all of it on the first try.
Act Blue (Ismael Valenzuela): None of that argues for moving slowly, and the patching picture is better than the coverage suggests. The four point releases are 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and PHP also shipped minimal source backports for 7.4, 8.0 and 8.1, so an end-of-life branch is not automatically a dead end. Check your distribution before you conclude you are stuck, because Ubuntu fixed PHP 8.1 on 22.04 in 8.1.2-1ubuntu2.28. Do not let an external scan decide this in either direction. A backport keeps a low version number while being patched, and a host with expose_php off was never going to tell you anything useful anyway. Treat Apache mod_php as the highest-risk deployment, and do not read that as FPM being fine. Where patching has to wait, Cloudflare shipped WAF rules on October 21 and still tells customers to patch, which is the honest way to describe a holding control. Give yours an owner and an end date.
Arctic Wolf Labs: PHP2Shell exploitation attempts and Potassium botnet research
Rapid7 Intelligence: CVE-2026-109618 and CVE-2026-109619: Critical Unauthenticated Remote Code Execution in PHP
php-src: RCE via OOM corruption advisory, attack complexity and mitigations
Cloudflare: WAF protections deployed and observed attack traffic
AWS: Amazon threat intelligence identifies PHP2Shell exploitation prior to public disclosure
PHP Foundation: Today’s PHP security release and the disclosure chronology
KillaBoi: Steal My Bitcoin public PHP2Shell exploit and reproduction
BleepingComputer: PHP2Shell security flaws now successfully exploited in the wild
Signal 2: LiteLLM’s Release Pipeline Was Hijacked to Ship a Backdoor Through PyPI and Official Docker Images
Why it matters: Attackers compromised LiteLLM version 1.107.0 on October 21 and distributed it through the project’s own PyPI wheels and official Docker images. The release carried an info-stealer and a remote-access backdoor that harvested cloud credentials, CI/CD secrets, SSH and GPG material, and AI-provider API keys. The PyPI wheels were live from 11:39 to 13:23 UTC and the poisoned Docker tags until 14:20, and ClickPy data puts the release at roughly 49,000 downloads.
What is being misread: People will read this as “another malicious package, pin your dependencies.” That misses where the trust actually broke. There was a lookalike here, just not where anyone thinks to check for one. Stolen GitHub CLI OAuth tokens let the attacker disable branch protections and point LiteLLM’s own release workflow at Berri-AI/litellm, one hyphen away from BerriAI/litellm, and the artifacts that came out the far end shipped through the real project’s channels. The mental model that says “verify the publisher” fails when the publisher’s own pipeline is the thing executing the malicious release.
Think Red (Douglas McKee): Building a fake package means convincing people to install it, and that is the hard part. Taking over the real release pipeline skips all of it, because the package already has downloads, history, and a place in production AI gateways. Once I hold the GitHub CLI token, I am not impersonating the maintainer, I am the maintainer as far as the workflow is concerned. Nothing about the credential theft was incidental, either. Wiz watched the stolen AWS keys get exercised about four and a half hours after exfiltration, which is the entire reason to do this. Every system that auto-pulled the package handled distribution for me in under two hours.
Act Blue (Ismael Valenzuela): Every dependency you consume crosses a trust boundary, even the ones that feel internal, and this is a Zero Trust problem that lives in your build pipeline. Identify every host and CI/CD runner that installed or executed litellm 1.107.0 or the matching Docker image, isolate them, and treat them as compromised rather than simply reverting the version. Do that identification without starting Python in those environments. The payload drops a cook.pth and a sitecustomize.py that execute on every interpreter start, so running pip to check what is installed re-triggers collection, and removing the package leaves both files behind. Then rotate what the stealer could reach. Cloud provider keys, AI-provider API keys, GitHub tokens, SSH and GPG material, CI/CD secrets. We have given this rotation advice after a supply chain hit twice already, for the typosquatted dependency on August 21 and the poisoned provisioner on September 4, so here is what is different. The theft targeted developer OAuth tokens that grant release-workflow access, which puts the pipeline’s own identity in scope alongside application credentials. Do not stop the log review at the window the release was live, either.
Supporting sources:
The Hacker News: LiteLLM compromised in supply chain attack
BleepingComputer: LiteLLM release pipeline hacked to distribute info-stealer malware
LiteLLM: Security incident report, affected artifacts and registry windows
Wiz: Payload analysis, download estimate and observed credential abuse
Signal 3: A Certificate Authority’s Private Key Was the Number Four, and It Is Leaving the TLS Business
Why it matters: Researcher Scott Helme recovered the private keys behind eight eMudhra intermediate CA certificates on his laptop in under a second, because they were generated with almost no randomness. One key was literally the integer four. Anyone holding those keys could mint certificates that any client still trusting those chains would accept, though intercepting traffic also requires sitting on the path. Chrome blocked the affected intermediates within two hours of the report, eMudhra revoked the eight certificates, and the company then announced it is leaving the global SSL/TLS certificate business while keeping its other lines.
What is being misread: The coverage frames this as one sloppy CA getting caught, and that is true but small. The deeper issue is that the entire TLS trust model assumes a certificate authority can vouch for the secrecy and randomness of its own key generation. Certificate Transparency tells you what was issued. It says nothing about whether the key underneath was generated competently, and nothing in the issuance process checks. Nobody factored anything here, either. The private keys were single-byte numbers, so recovering one took at most 255 guesses against a certificate anybody can download. Helme’s own update records Claude doing it from a single prompt, which says less about the model than about how little was standing between a public certificate and the key behind it.
Think Red (Douglas McKee): When I teach bit flipping attacks in SANS SEC660, I discuss that the point is never the key. I do not learn the key. I change a value your system trusts the moment it comes out of the crypto, because people read encrypted and signed as synonyms for verified. This is that same lesson from the other side. Nobody broke P-384 here. The curve is as strong as it was last week, and the key decrypts nothing on its own. If I wanted your traffic I would still have to get onto the path. What that key buys is narrower and worse, which is the ability to make a claim your systems accept on provenance instead of inspection. So the only question that matters is who still accepts it. Chrome and Android had Certificate Transparency covering them before the block landed. The Java keystores, the container images and the appliances nobody has repackaged in years did not, and that is both the target and the worst-inventoried corner of your estate.
Act Blue (Ismael Valenzuela): Certificate trust has quietly sat with procurement and compliance teams, and this week it turns into an availability problem with a date on it. Chrome is expected to remove emSign ECC Root CA - G3 on October 27, meaning services still relying on that trust chain could stop working as the update rolls out. Find those services first and reissue through another CA in the Chrome Root Store. eMudhra has said it will provide free partner-issued replacements, without naming the partner. Replacing a server certificate does not update the clients that trusted the old chain, so work the trust stores too, which means Java keystores, Python certifi bundles, container base images, MDM-managed endpoints and anything embedded. Most teams cannot say today which CAs sign what across their internal services, and that gap is what makes a CA compromise hard to scope. Then test that an affected chain actually gets rejected afterward, because an untested distrust is a belief rather than a control.
Supporting sources:
CyberScoop: eMudhra kills its certificate business after researchers cracked its private keys
The Hacker News: eMudhra to exit global SSL/TLS business after 8 intermediate CA keys found guessable
Scott Helme: Reproduced key recovery across the eight intermediates
Google: Chrome and Android client protections and the October 27 root removal
Signal 4: Symantec Tied a Two-Month Intrusion at a NATO-Country Shipbuilder to APT28
Why it matters: Symantec attributed a months-long espionage campaign to APT28, also known as Swallowtail, Fancy Bear, and Forest Blizzard, the GRU-linked group. The operators compromised a naval shipbuilder, a military aircraft engine manufacturer, and a law enforcement agency across two NATO member states. The shipbuilder intrusion began when someone opened a macro-enabled Word document on July 24 and ran to at least September 24. Inside that window, a human operator returned repeatedly to one compromised host over about a week to steal credential material, which marks a deliberate target rather than an accidental infection.
What is being misread: The reflex is to collapse a two-month intrusion into two months of somebody typing. Symantec is careful on this point and the distinction carries the story. Operator commands cluster into roughly a week at the end of July. What runs on to September 24 is tooling, including a reflective loader whose payload was never recovered. So the question is not how long they were working. It is what that access was still good for once the typing stopped, and on that point the public record is simply blank.
Think Red (Douglas McKee): Two months on your keyboard is not the goal and in this case never was. I want enough time to turn a first foothold into access I will not have to build again, and a week is plenty for that. Credential material off a host, a tunnel that stays up, some tooling left behind for later. Then I go quiet. Every command I do not run is telemetry you never collect, so the silence is not me losing interest or getting sloppy, it is the single cheapest thing I own and the reason your timeline has a hole in it. Two months later the operation is not measured by what I did in September. It is measured by the fact that you still cannot tell me whether I can walk back in tomorrow.
Act Blue (Ismael Valenzuela): Start where the evidence actually sits. Entry was a macro-enabled Word document, so the first question is whether your engineering and design staff can receive one at all, and the second is what you keep when they do. Hunt for Office processes spawning scripting hosts, outbound connections to webhook relay services, unexpected SSH tunnels leaving workstations, and PowerShell capturing NTLM material. Those are the documented behaviors in this case, and the useful thing about them is that they are observable. The harder test is retrospective. Pick a host that matters, ask an analyst to reconstruct what it did in late July, and see how far back the answer survives. Where endpoint history has rolled off, record that in writing and fall back to network and identity records. A quiet two-month window is only frightening if you cannot see into it.
Supporting sources:
CyberScoop: Russian GRU hackers hit NATO shipbuilder, aircraft engine maker, law enforcement agency
The Hacker News: Russian APT28 breaches NATO naval shipbuilder
CyberPress: APT28 hackers breach NATO country’s naval shipbuilder, remain inside for two months
Symantec: Swallowtail intrusion timeline, observed commands and unresolved payload
Role-Based Takeaways
Executive / CISO / Board Level
A severity score is not a work queue, and this week hands you four items with very different evidence behind them. PHP2Shell earns the emergency patch track and now has a working public exploit, with successful command execution confirmed against vulnerable honeypots. But widespread production compromise remains unproven. The LiteLLM compromise has confirmed credential theft behind it, and the certificate work carries a hard October 27 deadline. Ask your security team how they sequenced the four and what evidence sits under each ranking, so the order is a decision you can see.
Third-party AI tooling is now a build-pipeline risk your organization inherits. The LiteLLM compromise poisoned production AI gateways through a vendor’s own release pipeline, not through your code. Request an inventory of every AI package and container your teams auto-pull into production, and require a named owner and a rotation plan for the credentials each one can reach.
Certificate and cryptographic trust belongs in your risk register, not just in procurement. A certificate authority announced its exit from the global SSL/TLS business this week after researchers recovered eight of its private keys in under a second, and Chrome drops the root above them on October 27. Direct your team to produce a full certificate and CA inventory, name an owner and a completion date for the replacements that deadline forces, and flag the services whose trust dependencies they cannot establish.
Enterprise Architect
Design Principle Impact: Signature and provenance checks still earn their place, but they cannot establish that an artifact is safe when the publisher’s own workflow produced it. The poisoned LiteLLM wheels were live for under two hours and the container tags for under three. A 24-hour promotion delay might have avoided this release, but time alone is not a security control. Require explicit promotion of verified artifacts, pin images by digest rather than resolving latest or main-stable at pull time, and restrict the credentials that can modify release workflows.
New Constraint/Dependency: Require that every internet-facing service can be degraded, isolated or taken offline without a vendor patch and without a code release. Price that option while it is hypothetical, because a holding control reduces particular attack paths rather than making an unpatched service safe.
Security Operations
Implementation Watch Item: One hard deadline and one urgent patching priority this week. Chrome is expected to remove emSign ECC Root CA - G3 on October 27, so inventory the services relying on that trust chain and reissue before the rollout. Separately, confirm internet-facing PHP runs 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or a vendor package with verified backported fixes for both CVEs. Check package inventories and security changelogs rather than version banners, and make sure PHP workers have restarted after patching.
Common Failure Mode: Uninstalling litellm 1.107.0 and calling the incident closed. The payload leaves cook.pth and sitecustomize.py behind and both run on every interpreter start, so the package can be gone while collection carries on. Close the ticket on three things instead, which are those files removed, any detached loader process stopped, and the credentials that environment could reach rotated.
Monitoring Patterns: For PHP2Shell, correlate suspicious HTTP requests, abnormal PHP worker crashes and memory-exhaustion events with unexpected shell execution, outbound connections and payload downloads originating from web-server processes. For the LiteLLM fallout, watch for cloud instance-role credentials belonging to CI runners or Kubernetes nodes authenticating from unfamiliar networks, IAM enumeration nobody scheduled, and inference spend with no owner. Stolen keys in this campaign were in use the same afternoon they were taken, so the window here is hours rather than weeks. For the shipbuilder pattern, watch for Office processes spawning scripting hosts, outbound traffic to webhook relay services, unexpected SSH tunnels leaving workstations, and PowerShell capturing NTLM material.
Signal vs Noise Guidance: For PHP2Shell, separate an attempted request from evidence that something executed. High-volume probing is still malicious, so rank it by exposure and by what the host did next rather than writing it off. For the shipbuilder pattern, a single interactive session is routine. Repeated access to one high-value host earns investigation when its source, parent process or purpose is unexplained, not merely because it repeats.
Adversarial edge item: For the LiteLLM compromise, seed a canary AWS or AI-provider API key into your CI/CD environment variables and alert on any use. The stealer harvests exactly that material, so a triggered canary tells you a poisoned build ran in an environment you may not have scoped yet.
The Monday Brief is produced by Douglas McKee and Ismael Valenzuela. The opinions expressed are our own and do not reflect those of our employers.


Discussion about this post