Friday, November 27, 2026

Cacti 4HTTP2ROOT Zero-Day: Four Guest Requests to RCE on Your Monitoring Server

An unpatched Cacti zero-day called 4HTTP2ROOT (also tracked as 4HTTP2SHELL) lets an unauthenticated attacker run commands on a Cacti server in four HTTP requests, as long as the guest account is turned on. The flaw affects Cacti 1.2.31, the current release, and was disclosed publicly on November 26, 2026 by a researcher using the alias "ek0ms savi0r," with a working proof-of-concept published alongside the write-up. As of November 27 there is no CVE identifier, no vendor patch, and no confirmed exploitation in the wild. Cacti is an open-source network monitoring tool, and that detail is why this one matters more than its preconditions suggest.

Monitoring servers are the quiet center of a network. They talk to everything.

What is the Cacti 4HTTP2ROOT vulnerability?

Cacti polls routers, switches, firewalls and servers, usually over SNMP (the Simple Network Management Protocol devices use to report their status), and turns the numbers into graphs. To do that job it has to hold the keys: SNMP community strings, sometimes SSH credentials, database logins, and connection details for a large share of the infrastructure. The Hacker News quoted watchTowr's advisory on the Cacti flaw making exactly this point: because Cacti often stores credentials and connection details for devices across the network, command execution on it gives an attacker a foothold that reaches well beyond the monitoring box. The researcher was blunter. As reported by SecurityOnline's technical summary of the 4HTTP2ROOT disclosure, the write-up says that in a lot of shops the Cacti server is more valuable than the domain controller, because it's trusted everywhere and audited by nobody.

I'd quibble only with "a lot of." In a typical enterprise network, the monitoring server has broader network reach than any user workstation and gets less scrutiny than the directory servers. It sits in the management VLAN. Its firewall rules were written once, generously, so that polling would work, and nobody has revisited them since.

The precondition is the guest account. Cacti can allow anonymous visitors to view graphs without logging in, which is handy for a wallboard in the network operations center. Guest access has been disabled by default since Cacti 0.8.7, so a fresh install isn't exposed. The feature survives because it's useful, and that's the problem. Somebody wanted the graphs on a screen without typing a password, turned it on years ago, and moved on.

How four HTTP requests turn guest access into command execution

The chain is worth understanding at the level of mechanism, because none of its individual pieces looks dangerous on its own. That's the lesson.

Step one is a type problem. Cacti lets each user, including the guest, save display preferences. One of those is preview_graphs_per_page, which controls how many graphs show up on a page in preview mode. It should be a number. According to the disclosure, Cacti writes whatever the guest submits into the database using a safe, parameterized query, but never checks that the value is actually an integer. So the database now holds a string where a number belongs. Nothing has broken yet. The write itself was clean.

Step two is where that stored string goes off. When the graph preview page, graph_view.php, loads with its default filters, Cacti reads the saved preference back and places it into the LIMIT clause of a SQL query. Request-side validation doesn't catch it, because the value didn't come from this request; it came from the database, which the code trusts. This is called second-order SQL injection: the malicious input is stored safely in one step and becomes injection later, when a different piece of code reads it back and assumes it's clean. SecurityOnline reports that Cacti's PHP database driver (PDO) accepts stacked statements, meaning a second SQL command can ride along after the first. The researcher's demonstration used that to modify a row in Cacti's poller table.

Step three closes the loop. The poller table holds the commands Cacti runs to collect data. When the realtime graph endpoint, graph_realtime.php, is called from the same guest session, Cacti's realtime poller reads that modified row and hands its contents to PHP's popen() function, which executes a shell command. The Hacker News reports there's no allowlist or sanitization check on that path. As the researcher put it, the database row the guest can write is the row the poller executes.

The researcher summarized it as four failures stacked together: a guest can write a numeric setting as arbitrary text, the stored value bypasses request validation, the database driver accepts stacked statements through the LIMIT clause, and the poller executes a command string stored in the database. Fix any one of them and the chain breaks. All four had to be wrong at once. Each one probably looked reasonable to whoever wrote it.

Commands run as whatever account the Cacti web tier and poller use, typically a web user such as www-data or apache on Linux. SecurityOnline notes the demo reached a root shell only because the test lab's web server ran as root. That's a smaller blast radius on a well-built host, but don't take much comfort. The web user can read Cacti's database, and Cacti's database is where the network credentials live. An attacker with those can also quietly edit the poller table to suppress alerts, which is the monitoring equivalent of cutting the camera feed before the break-in.

Why a public PoC changes the clock

No exploitation has been confirmed. That's the honest status. But the full technical notes, a demo video and proof-of-concept code are all public, the vulnerable version is the latest one, and there's no patch to apply. Those are the conditions under which scanning tends to start quickly. Cacti instances have been a recurring target over the years for exactly the reasons above.

There's a second-order effect here that connects to this morning's news out of Switzerland. National agencies in Switzerland, Italy and the UK all warned this week that AI-driven attack frameworks are hammering known, unpatched weaknesses on internet-facing systems at machine speed. A public, unauthenticated, four-request chain against a widely deployed web application is close to an ideal input for that kind of automation. I'm not claiming anyone has wired 4HTTP2ROOT into an agent. I'm saying the distance between "PoC on GitHub" and "being tried against every exposed Cacti login page" is shorter than it used to be, and planning should assume the short version.

The log footprint doesn't help. SecurityOnline reports that the requests look like normal guest traffic and leave only a small PHP warning about a non-numeric value. Defenders who wait for an alert will likely wait a long time.

Why "upgrade to the latest version" doesn't help this time

The usual first line of advice is to upgrade. Here it's useless in one direction and urgent in the other. 1.2.31 is the vulnerable release, and SecurityOnline reports it shipped in June 2026 with nothing newer since. But 1.2.31 is also the release that closed a cluster of critical bugs disclosed that month. IONIX's write-up of CVE-2026-39938 describes an unauthenticated local file inclusion flaw, rated 9.8 on the CVSS scale, in every version up to and including 1.2.30, which can escalate to remote code execution. Another June advisory, CVE-2026-40079, covers command injection through a function called escape_command() that, according to the published description, returned its input unchanged before it reached a shell. Organizations still on 1.2.30 or older aren't safe from 4HTTP2ROOT by luck; they're exposed to older, documented bugs instead.

So the practical answer is to move to 1.2.31 if you aren't there, then apply the mitigations below on top of it. And notice the family resemblance. An escaping function that doesn't escape, a numeric setting that isn't checked for being numeric, a command column that's executed because it came from a trusted table. Cacti has a recurring habit of trusting values once they're inside the system.

How to check and protect Cacti servers before a patch ships

Until the Cacti project releases a fix (SecurityOnline suggests watching for a 1.2.32 release on Cacti's GitHub), mitigation means removing the conditions the chain needs. Disabling guest access blocks this path. It does not repair the underlying SQL injection, so treat it as a tourniquet, not surgery. In order:

  • Turn off the guest account in Cacti's authentication settings, so anonymous visitors can't open a session or save profile values.
  • Get the Cacti web interface off the internet. Put it behind a VPN or restrict it to a management network with firewall rules. Wallboards can authenticate.
  • Make sure neither the web server nor the poller runs as root.
  • Review the stored guest preferences for preview_graphs_per_page and any other numeric setting holding non-numeric text, and review the poller table for command entries you didn't create.
  • Search PHP and web server logs for non-numeric value warnings tied to graph_view.php, and for guest sessions hitting graph_realtime.php.

If any of those checks turn up something odd, assume the credentials Cacti holds are compromised. Rotate the SNMP community strings and any device or database passwords stored on the host, and look at the devices Cacti could reach for logins you can't explain. That's the expensive part, which is the argument for doing the cheap part today.

For penetration testers, this is a reminder to put monitoring platforms on the scope list and to check them specifically for anonymous or guest access. Report it even when the instance is patched, because "guest can see graphs" has a way of becoming "guest can reach the poller" in the next release that nobody reads the changelog for. And when testing Cacti in a client environment, keep to the conceptual chain and confirm the guest setting rather than firing a public exploit at a production box. Proving a monitoring server can run your commands isn't worth knocking over the system that tells the client their network is up.

The bigger lesson is about trust boundaries inside an application. Cacti validated input where input arrived and trusted it everywhere after that. Data that came from the database was treated as clean, and a command string that came from a table was treated as safe to execute. Those are the same assumption made twice. Any codebase that stores user preferences and later builds queries or commands from them deserves a second look this week, not only Cacti.

Check whether guest access is enabled on every Cacti instance you run tonight. It takes about two minutes per server, and it's the difference between a tidy weekend and a credential rotation project.

References

The Hacker News. (2026, November 27). Unpatched Cacti zero-day enables RCE in just four HTTP requests via guest access. https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html

IONIX. (2026, June 25). CVE-2026-39938: Unauthenticated LFI / remote code execution in Cacti 1.2.30 and prior. https://www.ionix.io/threat-center/cve-2026-39938/

Son, D. (2026, November 26). Cacti unauthenticated RCE zero-day (4HTTP2ROOT): PoC published. SecurityOnline. https://securityonline.info/cacti-zero-day-rce-4http2root-poc/

AI Agents Breached Swiss Critical Infrastructure. Now the Patch Window Is 24 Hours

Switzerland's National Cyber Security Centre (NCSC) has confirmed the country's first cyberattacks carried out with the help of AI agents, and most of them worked. In an advisory published on November 24, 2026, the agency said that in every case it knew of at that point, the use of AI agents led to a successful compromise. Two days later, NCSC director Florian Schütz told Swiss broadcaster SRF the agency had confirmed five cases, four of which broke in, and that three of the five targeted operators of critical infrastructure. Nobody has been named, no attacker has been identified, and no major outage was reported. What makes this worth your morning is the advice that came with it: patch critical flaws on internet-facing systems within 24 hours.

That number is the story.

What did Switzerland's NCSC actually confirm about AI agent attacks?

The advisory is short and careful. It says organizations and critical infrastructure operators across at least two sectors were hit, and that the attackers used what the agency calls agentic offensive frameworks. An AI agent, in this sense, is software built on a large language model that doesn't just answer questions. It takes a goal, picks tools, runs them, reads the results and decides what to do next, looping until it gets somewhere or runs out of options. The NCSC describes these frameworks as agents that search for vulnerabilities on their own, select attack tools, evaluate what came back, and plan and execute the next step. It also points out, correctly, that the same software is used by security professionals for penetration testing. Dual-use is the polite term.

The counts don't line up perfectly, and it's better to say so than to smooth it over. The written advisory gives no number and says every known case succeeded. Schütz's SRF interview gives five cases and four successes. A Keystone-SDA report carried by Swissinfo, as summarized by Tech Times in its breakdown of the conflicting Swiss figures, says two attacks succeeded, in a sentence that may refer only to the three critical infrastructure cases. The Hacker News reported that small and medium-sized companies were among the victims and that they came forward voluntarily. The advisory doesn't explain the shift between "all" and "four of five." My reading is simple: the tally grew as reports came in, and the first notice was written before the fifth case landed.

One more caveat matters for anyone tempted to treat five as a trend line. Swiss critical infrastructure operators have been required to report cyberattacks within 24 hours since April 1, 2025, but smaller firms report voluntarily. Five is the number of attacks someone reported and someone recognized as agent-driven. The real number is at least that.

Why AI agents shrink the time defenders have to patch

Here's the part that should change how you schedule work. According to the NCSC, these agents mostly exploit default or easily guessed passwords and known vulnerabilities in internet-facing systems. Nothing exotic. What they change is tempo. The agency says agents need a fraction of the time a human would to find vulnerable systems and exploit them, and that they switch to other known attack methods when a defense pushes back. That leaves organizations, in the NCSC's words, significantly less time to detect an attack and respond.

Think about what a human intrusion operator actually spends time on. Reading scan output. Matching a banner to a CVE. Trying a credential list, noticing the lockout, slowing down. Picking the next host. Every one of those is a decision point where a tired person makes a call, and every one of them takes minutes or hours. An agent compresses those decisions into seconds and runs dozens of them in parallel against different targets. It doesn't get bored at 3 a.m. It doesn't skip the boring host because it looks unpromising.

Schütz put the defensive logic bluntly in the SRF interview: without a vulnerability, an AI agent can't get into a system. That's comforting and uncomfortable at the same time. Comforting because the fix is the same discipline we already preach. Uncomfortable because most organizations don't practice it at the speed this requires. Tech Times cites Verizon's 2026 Data Breach Investigations Report putting median full remediation at 43 days, and notes that the U.S. federal benchmark, CISA's Binding Operational Directive 26-04 issued June 10, 2026, gives agencies three days for the highest-risk exploited vulnerabilities. Switzerland is now telling private companies to beat that by a factor of three. The FBI, per the same report, has observed some intrusions using the ARTEX framework go from initial targeting to privileged access in under three hours. Run that clock against a 43-day median and the outcome isn't in doubt.

That rule sounds harsh until you remember the agent doesn't wait for your change advisory board.

ARTEX, CyberStrikeAI and the tools anyone can download

The NCSC named two frameworks, ARTEX and CyberStrikeAI, as examples of AI agents reachable over the internet. It did not say either was used in the Swiss cases, and that distinction is worth holding onto. The agency's statistic is that the number of such agents accessible online has nearly doubled since October 2026. That counts available tools, not victims. Tech Times reports that Palo Alto Networks' Unit 42 counted 609 internet-facing ARTEX hosts and 1,323 running CyberStrikeAI as of October, and that the FBI says researchers found more than 1,600 exposed ARTEX consoles in early November. I wrote about why ARTEX drew an FBI warning earlier this month; the difference now is that a national agency is confirming breaches in its own jurisdiction rather than describing a capability.

Switzerland isn't alone, either. Italy's national incident response team, CSIRT Italia, described mass compromise campaigns in a bulletin this week in which AI-directed agents broke into a large number of systems within a few hours. The Hacker News and eSecurity Planet's coverage of the Swiss and Italian advisories both report that the Italian bulletin named four tools: ARTEX, CyberStrikeAI, PentAGI and DeepSeek Harness, an open-source agent whose "Red Team Mode" uses a built-in prompt to get around the underlying model's safety limits. Britain's NCSC said in guidance this week that it has seen a marked rise in AI-assisted cyberattacks since September 2026. And the European Commission has confirmed that attackers using ARTEX reached its human resources, medical reimbursement and translation systems in an intrusion first detected on October 22.

Three governments, one week, the same story. That's a pattern, not a press cycle.

The British framing is the most useful for practitioners. According to The Hacker News, the UK NCSC lists the weaknesses being hit as old ones: credentials committed to code repositories, misconfigured infrastructure-as-code (the templates that define cloud resources), default or missing authentication, and weak APIs. It says what changed is the speed, persistence and low cost of the attacks. It also says the frameworks are noisy. That last word deserves more attention than it's getting.

How to detect and slow agent-driven intrusions

An agent working through a target generates a particular kind of traffic. Each individual request looks like ordinary user or API activity, which is why signature-based detection struggles. The tell is in the shape: bursts of requests, high error rates as the agent tries and discards approaches, odd ordering of actions, and data volumes that don't match the account's history. The UK guidance, as reported, recommends correlating logs specifically to catch those bursts and error spikes. CSIRT Italia makes a similar point about context: where requests come from, how often they arrive, how much moves, and in what order.

In practice, that means the detection work is less about new tooling and more about whether anyone is looking at the aggregate. A web application firewall that logs a thousand 404s from one source in four minutes is telling you something. So is a service account that suddenly enumerates every API endpoint it has rights to. What I'd check first is whether those signals reach a human, or a rule, within the same hour they happen. If your log review is weekly, the agent has finished before you've opened the dashboard.

The combined advice from the Swiss, Italian and British agencies is consistent enough to work from directly:

  • Patch critical flaws on internet-facing systems within 24 hours of release, and prioritize anything already being exploited.
  • Reduce what's exposed. Use geo-blocking, IP allow lists and authentication in front of services; isolate or disconnect systems you can't patch quickly.
  • Require multi-factor authentication (MFA) or passkeys on everything reachable from the internet, with no exceptions for webmail or VPN.
  • Grant the lowest privileges that work, so a compromised identity doesn't hand over the estate.
  • Watch for behavioral and data-volume anomalies, and put bot challenges and honeytokens (decoy credentials or records that should never be touched) in front of high-value endpoints.

Honeytokens are the underrated item on that list. An agent is thorough by design. It will find the decoy AWS key in the repository and try it, because trying everything is the whole point. A human attacker might sniff out the bait. An agent optimizing for coverage is far more likely to bite, and a single tripped canary gives you a timestamp, a source and a head start.

The NCSC's last recommendation is regular penetration testing, and I'd sharpen it. If the attackers are using agentic frameworks to find your exposed weaknesses, your authorized testers should be using the same class of tool to find them first, under contract and inside scope. The software is identical. The authorization is what separates an assessment from an incident.

The hardest part of all this isn't technical. Raphael Reischuk, co-founder of Switzerland's National Test Institute for Cybersecurity, said he expects a larger wave and called it unrealistic for tens of thousands of small firms to raise their security on their own. He's right about the economics. A 24-hour patch window is achievable for a team with on-call staff and tested rollback plans; it's a fantasy for a twelve-person firm whose IT is one contractor on Thursdays. For those organizations, the honest move is to shrink the attack surface rather than race it: fewer internet-facing services, more of them behind a VPN or an identity-aware proxy, and nothing on the public internet that doesn't need to be.

The Swiss count will grow. The tools are free, the targets are the same ones we've been told to fix for a decade, and the only variable that's changed is how long you get before someone, or something, tries the door. Measure your actual time from vendor advisory to installed patch on your exposed systems this week. If the answer is longer than a day, that's the number to work on.

References

Belmonte, K. (2026, November 27). Swiss AI agent cyberattacks confirmed: Five cases, three targeted critical infrastructure. Tech Times. https://www.techtimes.com/articles/331659/20261127/swiss-ai-agent-cyberattacks-confirmed-five-cases-three-targeted-critical-infrastructure.htm

eSecurity Planet. (2026, November 26). Switzerland confirms AI-assisted cyberattacks, urges 24-hour patching. https://www.esecurityplanet.com/threats/news-ai-assisted-cyberattacks-emea-switzerland/

National Cyber Security Centre. (2026, November 24). Cyberattacks involving AI agents: First confirmed cases in Switzerland. Swiss Federal Office for Cybersecurity. https://www.bacs.admin.ch/en/26-ki-agenten-1-en

The Hacker News. (2026, November 27). Switzerland confirms AI-assisted cyberattacks breached critical infrastructure operators. https://thehackernews.com/2026/11/switzerland-confirms-ai-assisted.html