Written by:

 

TL;DR

  • AI is accelerating vulnerability discovery and exploit development, making it increasingly difficult for defenders to keep pace.
  • Recent vulnerabilities such as PHP2Shell highlight the importance of knowing which systems and services your organisation exposes to the Internet.
  • Patching remains essential, but reducing your external attack surface is just as important. Start with the basics: identify your exposed assets, remove unnecessary services and restrict access wherever possible.

 

Earlier this year, we and many others warned that advances in artificial intelligence (AI) could trigger a wave of newly discovered software vulnerabilities (From Mythos to Logos and the Coming Vulnerability Wave). That warning is now becoming reality.

On 21 October, the critical PHP2Shell vulnerabilities yet again demonstrated how AI-assisted research can uncover longstanding weaknesses in widely used software, potentially affecting millions of websites worldwide. Less than a week later, Norway's National Security Authority (NSM) raised the national cyber risk level to HIGH for the first time publicly, partly due to observing three times as many successful cyber operations against Norwegian organisations over the last six months.

These developments highlight how quickly the cybersecurity landscape is changing. While not every newly discovered vulnerability is exploited, the growing volume and speed of discovery, as well as the advancements of attacker capabilities create real challenges for security teams worldwide. This means that the security gaps we have known about for years are becoming harder to ignore, and more costly to leave unaddressed.

As AI makes it faster to discover and exploit vulnerabilities, organisations have less time to react. Reducing unnecessary exposure limits the opportunities attackers have to exploit newly discovered weaknesses.

This article won't introduce any groundbreaking new research, nor will it offer a silver bullet for general cybersecurity. It simply serves as a reality check on recent developments and a small nudge towards getting the security basics right.

How AI is accelerating vulnerability discovery and exploitation

Two graphs illustrate perhaps the most important trends in today's vulnerability landscape. The first shows the growing number of newly disclosed vulnerabilities (CVEs). The second shows how the time between vulnerability disclosure and exploitation is shrinking, with some vulnerabilities exploited even before they are publicly disclosed.

 

Source: CVE Tracker from cve.0xosprey.com
Source: Mandiant M-Trends 2026 Report

Neither trend is new. Both of these graphs have been moving in the same directions for the last decade. What is changing now is the pace. What we are seeing is that AI is both accelerating vulnerability discovery and making it far easier and faster to develop exploits. However, it is worth remembering that most disclosed vulnerabilities will never actually be exploited in the wild. The challenge is therefore not simply the growing number of vulnerabilities, but identifying which ones actually pose a risk.

Either way, looking at these graphs at least one thing is clear; simply trying to patch everything faster is a race we as defenders cannot win.

PHP2Shell: A sign of things to come

The recent PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) are just the latest in a series of high-profile vulnerability disclosures. While the actual impact may have been less severe than initially feared, they received massive attention and remain a good illustration of this growing challenge we are now facing. Using frontier AI models such as Gemini 4 Argon and GPT-5.6 Sol, researchers at Wiz identified weaknesses and developed working exploits for flaws that had existed in PHP's codebase for over a decade. The result was two critical vulnerabilities affecting a technology powering countless websites and online services visited by virtually every Internet user. While not all of these were vulnerable, the potential impact was significant.

Furthermore, the AI models used in this research have now already been surpassed by newer, more capable models. As AI continues to improve, and both security researchers and malicious actors become better at using them, we should expect even more vulnerabilities to be uncovered and exploited.

For more technical details, see mnemonic's PHP2Shell: What we know after 24 hours.

Where to start: Attack surface visibility

When PHP2Shell was disclosed, millions of organisations worldwide all faced the same simple question: ‘Are we running PHP, and if so, where?’ And obviously the most immediate concern was Internet-facing systems. But do you really know what your organisation exposes to the Internet, and what is running on those systems?

Even organisations with mature security programs usually only cover their centrally managed IT systems, but they often have a much larger external attack surface, including subsidiary websites, third-party hosting, marketing platforms, IoT or OT devices (fridges anyone?), legacy applications and other forgotten infrastructure.

This is where External Attack Surface Management (EASM) differs from traditional vulnerability scanning. Rather than only assessing assets already within a defined scanning scope, EASM continuously discovers and attributes Internet-facing assets, including those the organisation may not even know exist. This is hardly new advice, and EASM solutions started to become popular almost 10 years ago. NSM has also emphasised the importance of knowing your systems and software for years through its ICT Security Principles (1.1 and 1.2). Yet many organisations still struggle with this basic requirement, and the consequences are now becoming increasingly serious.

This visibility gap is something we regularly help organisations address through mnemonic's Exposure Management services.

When PHP2Shell emerged, our analysts proactively identified and alerted nearly two-thirds of our active Exposure Management customers to potential exposure. About half were previously unaware that these systems could be affected.

Not all identified systems were necessarily vulnerable. However, knowing where affected software is running allows organisations to investigate, apply temporary mitigations or, in severe cases, take services offline until the risk is understood. This happened following PHP2Shell, with organisations including KS Digital, Digitaliseringsdirektoratet and OsloMet temporarily shutting down services as a precaution while they investigated further.

Such early identification is particularly important because even when vulnerability scanners release new detections quickly, the relevant assets must still be covered and scanned before alerts can be generated. This usually takes at least more than 24 hours. Furthermore, external scans cannot always determine which software versions are actually running.

The most important first step is simple: know what you have, or at the very least, know what you have exposed to the Internet.

From vulnerability management to exposure reduction

With all this happening, trying to win the patching race against AI-enabled attackers is no longer a realistic strategy. A common response to this is ‘defenders must start using AI too’. And while that is absolutely true, it is not necessarily where you should start.

Instead, start with the basics: the security hygiene and best practices we've known for decades. Retire unused systems, move services behind your internal perimeter where possible, close unnecessary ports, restrict access to administrative interfaces and keep development and test environments off the public Internet. Review forgotten websites and third-party services, and make sure someone is responsible for what remains exposed.

The first steps are that simple, yet their effects can be substantial. None of this requires any advanced AI, but for every unnecessary exposure you remove there is one less opportunity for attackers to compromise your organisation. We cannot control when the next critical vulnerability is discovered, but we can control how much of our organisation is exposed when it happens.

 

Get in touch