# Patch triage when AI finds bugs faster than you can fix them

> Java4Shell, nginx HTTP/2 and Ruby2Shell landed in one week of November 2026. A patch triage method for small teams: exposure, KEV, EPSS, workarounds, cadence.

Source: https://ebrahimsameh.com/blog/patching-when-ai-finds-bugs-faster/
Updated: 2026-11-30

When AI finds bugs faster than you can patch, stop patching in CVSS order. For each new advisory, answer four questions: is the affected component running anywhere you own, can the internet reach it, is it being exploited (CISA KEV) or likely to be (EPSS), and is there a safe workaround for today? Then patch inside a deadline set by those answers.

## What happened in November 2026?

In one week, critical bugs landed in software almost every web team runs, and several were found with AI tools. [Java4Shell](https://calif.io/java4shell/) (CVE-2026-114938), a memory-corruption bug in OpenJDK's Base64 decoder, was disclosed on November 17. Calif says its researcher found it with Codex in about an hour and built a working exploit in two more. [Wiz published two nginx HTTP/2 bugs](https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities) on November 18 and says they were found with AI-powered code scanning, by several teams independently. The same nginx release fixed seven other CVEs in the stable branch, including a similar use-after-free in HTTP/3. Ruby [shipped fixed releases](https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/) the same day and said it was "aware of PoCs" showing remote code execution. The [Ruby2Shell write-up](https://verialabs.com/ruby2shell/) credits Anthropic with reporting the underlying primitive and says default Rails apps are affected, with no login needed.

Here is where they stood as of November 30, 2026. EPSS comes from FIRST's API, whose latest scores were dated November 29. KEV status comes from catalog version 2026.11.27, still the newest on November 30:

| Bug | Affected | Fixed in | Workaround | EPSS | In KEV? |
| --- | --- | --- | --- | --- | --- |
| Java4Shell, CVE-2026-114938 | OpenJDK 17.0.6 and later (Java 17, 21, 25, 27) on x86-64 CPUs with AVX-512 VBMI. ARM64 not affected | Oracle builds 17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1 (November 17) | `-XX:-UseBASE64Intrinsics` or `-XX:UseAVX=2` | 0.73 | No |
| nginx HTTP/2, CVE-2026-123007 | nginx 1.9.5 to 1.31.8 with HTTP/2 on | 1.30.7 stable, 1.31.9 mainline | Turn HTTP/2 off | 0.46 | No |
| nginx HTTP/2, CVE-2026-123633 | nginx 1.19.7 to 1.31.8, reverse-proxy setups with HTTP/2 | 1.30.7, 1.31.9 | Turn HTTP/2 off | 0.22 | No |
| Ruby2Shell, CVE-2026-132825 | Ruby 2.4.0 to 4.0.9. Default Rails and classic Sinatra apps, before authentication | Ruby 4.0.10, 3.4.13, 3.3.14. No fix for 3.2 and older | None besides upgrading. A WAF rule helps | 0.02 | No |
| OpenSSL, CVE-2026-121481 | OpenSSL 4.0.0 to 4.0.3 and 4.1.0 | 4.0.4 and 4.1.1, not released as of November 30 | Bound the input length in your own code | 0.006 | No |

Version ranges come from the [nginx security advisories page](https://nginx.org/en/security_advisories.html), the Calif and Wiz write-ups, the Ruby advisory, the Canadian Centre for Cyber Security's [Java4Shell alert](https://www.cyber.gc.ca/en/alerts-advisories/al26-029-critical-vulnerability-impacting-oracle-java-cve-2026-114938), which lists Oracle's fixed builds, and the [CVE record for the OpenSSL bug](https://app.opencve.io/cve/CVE-2026-121481). Check your vendor's page before you act on any of them, because distro builds, Temurin, Corretto and the rest carry their own version numbers.

For nginx, aim past the minimum. On November 23 nginx shipped 1.30.8 and 1.31.10 with one more security fix (CVE-2026-132779, excessive CPU use with `ssl_early_data`), so install those. They were still the newest nginx releases on November 30.

None of the five was in KEV as of November 30. In the two weeks to November 27, CISA added 27 other entries, including [LiteLLM](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) on November 18, Drupal core twice, GeoServer and VMware vCenter. If your AI team runs a LiteLLM proxy, that one deserved your attention more than the bugs on the front page of Hacker News.

## Why is the patch window now days instead of weeks?

Finding a bug and writing an exploit both got cheaper, and the official deadlines now assume attackers move fast. You can see it in CISA's own numbers. I counted them in the KEV JSON feed: every one of the 31 entries added in October 2025 had a 21-day deadline. Of the 42 added in November 2026 (through the 27th), 32 had 3 days and 10 had 14 days.

The change came from a directive. [BOD 26-04](https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk), issued June 10, 2026, replaced BOD 19-02 and BOD 22-01 with tiers of 3 days, 14 days, 60 days and "fix on system upgrade". The 3-day tier applies when a bug is in KEV, the asset is publicly exposed, exploitation can be automated, and the impact is total control. In that case agencies also have to do a forensic triage to check whether they were already compromised. It binds US federal civilian agencies only, but you can borrow the model for free.

The fix can also arrive later than you'd like. On November 25, Hanno Böck [wrote on oss-security](https://www.openwall.com/lists/oss-security/2026/11/25/9) that Ubuntu still had no fix for a kernel bug published nine days earlier, while other distributions had already shipped one. If you rely on distro packages, your patch date is the distro's date, and you need a plan B for the gap.

## Do I really need to drop everything for a CVSS 9.8?

Often not. Severity scores now disagree with each other often enough that a single number shouldn't set your priority. The OpenSSL bug in the table is the example. The Hacker News thread that spread it had "CVSS 9.8" in the title. OpenSSL rated it Low because "no attacker-controlled path to the overflow is known", and [Red Hat](https://access.redhat.com/security/cve/cve-2026-121481) scored it 3.7 because the caller has to pass about 2 GB of input. CISA's score on the CVE record went from 9.8 to 5.9 on November 20. As of November 30 the fix was still an open pull request, with one maintainer arguing that misuse of an API contract shouldn't be a CVE at all. The bug wasn't on OpenSSL's own vulnerabilities page either, and 4.0.4 and 4.1.1 weren't on its download page yet.

Even a real emergency gets two numbers: Calif scored Java4Shell 9.2 under CVSS 4.0, [Oracle's risk matrix](https://www.oracle.com/security-alerts/cspunov2026.html) 8.1 under CVSS 3.1. Neither tells you whether you run it.

This isn't a one-off. A [review of 103 OpenSSL CVEs](https://reptile.haus/journal/openssl-cve-2026-121481-cisa-cvss-vs-vendor-severity-103-cves-2026/) published November 20 found CISA's score was higher than OpenSSL's rating in 88 cases and never lower, while CISA's own exploitation assessment said "none" for 101 of the 103. An alert rule that fires on "CVSS 9 or above" will keep pulling your team off real work.

Two free signals help:

- [KEV](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) lists vulnerabilities with evidence of exploitation in the wild. If you run it and it's in KEV, it's urgent.
- [EPSS](https://www.first.org/epss/) is FIRST's daily estimate of the probability that a CVE is exploited in the next 30 days. On November 29 Java4Shell scored 0.73, in the top 1% of all CVEs, and the OpenSSL bug 0.006.

This script checks both for any list of CVEs. It needs `curl` and `python3`:

```sh
#!/bin/sh
# Usage: ./check-cve.sh CVE-2026-114938 CVE-2026-123007
kev=$(mktemp)
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json > "$kev"
for cve in "$@"; do
  epss=$(curl -s "https://api.first.org/data/v1/epss?cve=$cve" |
    python3 -c 'import sys,json; d=json.load(sys.stdin)["data"]; print(d[0]["epss"] if d else "n/a")')
  inkev=$(python3 -c 'import sys,json; c=sys.argv[1]; v=[x for x in json.load(open(sys.argv[2]))["vulnerabilities"] if x["cveID"]==c]; print("KEV since "+v[0]["dateAdded"] if v else "not in KEV")' "$cve" "$kev")
  echo "$cve  EPSS=$epss  $inkev"
done
rm -f "$kev"
```

On November 29 it printed `CVE-2026-114938  EPSS=0.725390000  not in KEV` for Java4Shell and `KEV since 2026-11-18` for the LiteLLM bug (CVE-2026-40217). It downloads the KEV feed once per run, so it's fine in a daily cron job.

## How do I set a deadline for each advisory?

Use a short decision table and write it down before the next wave, so nobody argues about it during one. This is my adaptation of the BOD 26-04 tiers for a team of two to ten engineers:

| Can the internet reach it? | Exploited or very likely? | What an attacker gets | Deadline |
| --- | --- | --- | --- |
| Yes | In KEV, or a public technical write-up of a pre-auth bug | Code execution or full control | Patch or mitigate within 3 days, then check logs for signs of compromise |
| Yes | Not yet, but EPSS is climbing | Code execution or full control | Within 7 days |
| No, internal or behind auth | In KEV | Any | Within 14 days |
| Yes or no | Not exploited, low EPSS, or your code doesn't reach the path | Partial | Next weekly window |
| Any | Library is present but the vulnerable function is never called | None in practice | Next routine upgrade, with a note explaining why |

Two rules make the table work. "Can the internet reach it" means traffic can get to the vulnerable code, so a Java service on a private network still counts if nginx forwards request data to it. And a pre-auth bug with a public write-up is in the top row on purpose: AI tools turn write-ups into exploits quickly, so I wouldn't wait for CISA to confirm attacks.

A CDN in front can change the answer for protocol bugs. Cloudflare's [nginx2root post](https://blog.cloudflare.com/nginx2root/) says attacker HTTP/2 and HTTP/3 frames end at its edge and never reach an origin behind its proxy. That only holds if the origin accepts traffic from the CDN alone; if it answers on its own public IP, it's exposed.

## How do I find out if I'm running the affected version?

You need an inventory you can search in minutes. The fastest start is an SBOM (software bill of materials) for every image you deploy, plus a scan of your repos.

[Trivy](https://trivy.dev/latest/docs/supply-chain/sbom/) and [OSV-Scanner](https://google.github.io/osv-scanner/usage/) are both free:

```sh
# SBOM for each production image, stored next to the image tag
trivy image --format cyclonedx --output sbom-myapp.json myapp:prod

# Re-scan stored SBOMs when a new advisory lands, no rebuild needed
trivy sbom sbom-myapp.json

# Lockfiles and manifests across a repo, and a container image
osv-scanner scan -r ./
osv-scanner scan image myapp:prod
```

Runtimes and servers often don't appear in a language lockfile, so check hosts and images directly too. Run the CPU check on every instance type you use, not one laptop: a cloud fleet can mix CPU generations, and Calif names Intel Xeon from Ice Lake on and AMD Zen 4 or newer as the affected families.

```sh
java -version 2>&1 | head -1
grep -o -m1 avx512vbmi /proc/cpuinfo || echo "no AVX-512 VBMI on this CPU"
java -XX:+PrintFlagsFinal -version 2>/dev/null | grep UseBASE64Intrinsics
nginx -v 2>&1
nginx -T 2>/dev/null | grep -nE 'http2|quic'
ruby -v
openssl version
```

Look past your own code. Java4Shell affects apps that bundle a JVM, and Calif lists Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate as exploitable without a login in default configurations, and Kafka, Solr, Elasticsearch and Gerrit after one. Your CI server and your identity provider are part of your attack surface even though nobody on the team wrote them.

Be careful who else can read your inventory. In [pentest remediation work I wrote about](/blog/pentest-quick-wins/), a public `vendor/composer/installed.json` listed every dependency with its exact version, which hands an attacker the same list you're working from.

## What can I do if I can't patch today?

Apply the vendor's documented workaround, record it as temporary, and set a date to remove it. For this month's bugs, start with nginx.

Turn HTTP/2 off until you're on 1.30.8 or 1.31.10. Browsers fall back to HTTP/1.1. Anything that needs HTTP/2 end to end, such as gRPC, will break, so check first. On nginx 1.25.1 and later it's one directive, `http2`:

```nginx
server {
    listen 443 ssl;
    http2 off;   # temporary: remove after upgrading to 1.30.8+ or 1.31.10+
    # ...
}
```

On older versions, remove the `http2` parameter from the `listen` line. Run `nginx -t` before you reload. If you also serve HTTP/3 (a `listen ... quic` line), CVE-2026-121810 is a similar bug there, and turning off HTTP/2 does nothing for it. Treat this as a few days' cover: the upgrade also fixes the resolver, mail proxy and `try_files` bugs, which this switch doesn't touch.

For the others:

- Java: add `-XX:-UseBASE64Intrinsics` to each JVM's options (for example in `JAVA_TOOL_OPTIONS`, without overwriting what's already there) and restart it, or move the service to ARM64 hosts, which aren't affected. To confirm, run the `PrintFlagsFinal` line above with the same options: it should show `false` with the source `{command line}` or `{environment}`. Expect slower Base64 handling, and measure it. After you install a fixed build, restart again: a running JVM keeps the old code.
- OpenSSL 4.x: if your code passes lengths it doesn't control to `EVP_EncodeBlock()`, cap them before the call.
- Ruby: there is no workaround besides upgrading. On 3.2 and older there is no fix at all, so the plan is a move to 3.3.14 or later with a date on it.

A WAF can add a layer. Cloudflare [shipped Java4Shell rules](https://blog.cloudflare.com/java4shell-waf-protection/) on November 18 for Pro, Business and Enterprise plans, but they were enabled in Log mode by default, so they record attacks without blocking them until you change the action. Cloudflare's own post says "the WAF is an additional layer of defense, not a replacement for the patch." Its [Ruby2Shell rules](https://blog.cloudflare.com/ruby2shell-waf-protection/) went the other way: they block by default, on every plan including Free. For the nginx bugs Cloudflare says WAF rules aren't relevant, because these are protocol-level bugs. So check, per advisory, what your WAF does by default.

## How do I patch this fast without causing an outage?

Make fast patches small and reversible, and test them against real load. The Microsoft 365 email outage of November 12 to 14 came from a defect shipped in July that got through testing, [The Register reported](https://www.theregister.com/saas/2026/11/16/microsoft-blames-monster-email-outage-on-software-defect-introduced-in-july-fix/5310026). Microsoft's report said "our load testing tended to focus on weaker hardware with fewer cores."

What keeps a 3-day patch safe:

- Keep the previous image tag or package version so rollback is one command.
- Patch one instance or a small share of traffic first, and give it at least an hour of real traffic.
- Point the health check at a path that exercises the patched component, not a static page.
- Write down what "broken" looks like before you start (error rate, latency, busy workers, crashes), so the rollback decision takes seconds. Watch latency and busy workers, not only errors: a component that hangs instead of failing fills the worker pool quietly, which is how [a tracing exporter took a site down](/blog/observability-took-the-site-down/).

When the outage comes from someone else's rushed fix, see the sibling post on [third-party outages for small teams](/blog/third-party-outages-small-teams/).

## What patch cadence should a small team run?

Run two lanes: a boring weekly one and an emergency one with a named owner. The weekly lane takes Dependabot or Renovate PRs, base image rebuilds and distro updates on a fixed day. Zaher.AI's repos already run Dependabot, and the weekly lane is where those PRs get merged instead of piling up. The emergency lane uses the decision table above, has one person who decides, and ends with a short note on what was patched, what was mitigated and when the workaround comes out.

Rebuild images on a fresh base image even when your code hasn't changed. A container built in September still has September's JVM and OpenSSL.

## What I'd do this week

- Run the inventory commands on every host and image. List every JVM, nginx, Ruby and OpenSSL 4.x version you find, including inside vendor apps like Jenkins or Keycloak.
- Upgrade nginx to 1.30.8 or 1.31.10, or turn HTTP/2 (and HTTP/3 if you use it) off until you can.
- Patch Java on x86-64 hosts with AVX-512 VBMI and restart every JVM, or set the intrinsic flag as a stopgap.
- Upgrade Ruby to 4.0.10, 3.4.13 or 3.3.14, and schedule the move off 3.2 or older.
- Check KEV for the last 30 days against your inventory. LiteLLM and Drupal core are the likely hits for web and AI teams.
- If you use a WAF with managed rules, switch new emergency rules from Log to Block once you've checked for false positives.
- Write the decision table into your runbook and pick the owner for the emergency lane.
- Generate SBOMs in CI from now on, so the next advisory starts with a search. The sibling post on [what your CI can reach](/blog/what-can-your-ci-reach/) covers locking down the pipeline that produces them.

## Further reading and tools

- [CISA BOD 26-04](https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk), with the full remediation timeline table
- [CISA KEV catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) (CSV and JSON feeds) and [FIRST EPSS](https://www.first.org/epss/) (daily scores, free API)
- [nginx security advisories](https://nginx.org/en/security_advisories.html), the page to watch for the next round
- For coding agents as auditors of your own code, the sibling post on [AI security audit tools](/blog/ai-security-audit-tools/)

If you want a second pair of eyes on your patch process or an inventory of what you actually run, that's part of my [fractional CTO work](/services/fractional-cto/).

## Questions

### How fast should a small team patch a critical vulnerability?

It depends on exposure and exploitation, not the CVSS number alone. A useful benchmark is CISA's BOD 26-04, which gives US federal agencies 3 days for internet-facing systems with known-exploited, automatable, full-control bugs, and 14 or 60 days for lower-risk cases. Most small teams can copy that shape and run a weekly window for everything else.

### Is a CVSS 9.8 vulnerability always an emergency?

No. In November 2026 the OpenSSL EVP_EncodeBlock bug (CVE-2026-121481) was shown as 9.8 in some feeds while OpenSSL rated it Low, because the overflow needs a caller to pass about 2 GB of input. Check whether your code reaches the vulnerable path, whether it is exploited (CISA KEV) and how likely exploitation is (EPSS) before you drop everything.

### What is the difference between CISA KEV and EPSS?

KEV is CISA's list of vulnerabilities with evidence of exploitation in the wild. EPSS, published daily by FIRST, is a model's estimate of the probability a CVE will be exploited in the next 30 days. KEV tells you it is happening; EPSS tells you how likely it is to start. Use both, and treat a KEV listing as a hard deadline.

### What can I do if I can't patch nginx or Java today?

Use the vendor's documented workaround and log that it is temporary. For the two November 2026 nginx HTTP/2 bugs, turning HTTP/2 off removes the vulnerable code path, but the same nginx release fixed several other bugs, so upgrade within days. For Java4Shell, the JVM flag -XX:-UseBASE64Intrinsics disables the affected intrinsic until you restart on a fixed build. A WAF rule can help, but Cloudflare itself says a WAF is not a replacement for the patch.
