Skip to content
Back to security research

Security research

CVE-2026-90436: a 20-year-old RCE in Apache Axis 1

At OKIOK, we pentest our own software the way we pentest our clients’. One morning last spring, during one of those pentests, I handed an AI model a jar file and asked it to read every class. By breakfast, a proof of concept worked on a server.

The flaw had been in public source code for more than twenty years. Apache published it as CVE-2026-90436 on November 6, 2026 and credited the discovery to OKIOK and to me. Twelve days later, CISA added it to its Known Exploited Vulnerabilities (KEV) catalog.

In short

  • Affected: Apache Axis 1.x, every version through 1.4.
  • Impact: remote code execution (RCE). An unauthenticated attacker needs one SOAP request.
  • Fix: Apache recommends migrating to another SOAP engine. A patch exists in the Axis 1 source, with no new 1.x release.

Axis 1 checks the type too late

A SOAP server can name a Java exception class in the <exceptionName> element of a fault, so that the client rebuilds a typed exception. An Axis 1 server accepts the same element in a request. SOAPFaultDetailsBuilder loads the class that the message names.

} else if ("exceptionName".equals(hint)) {
    String faultClassName = (String) value;
    Class faultClass = ClassUtils.forName(faultClassName);   // any class, initialized
    builder.setFaultClass(faultClass);

SOAPFaultBuilder.createFault() then calls the constructor and casts the result to AxisFault. With a class that is not an AxisFault, the cast fails, the catch ignores the exception and the server returns no error.

try {
    Constructor con = faultClass.getConstructor(new Class[] { argClass });
    f = (AxisFault) con.newInstance(new Object[] { faultData });   // runs, then casts
} catch (Exception e) {
    // Don't do anything here
}

Why a server is exposed

  • An attacker picks the class and its argument. Both are plain text in the request.
  • Axis 1 parses the fault before any service handler runs. An authentication handler configured on the service never sees the request.
  • Authentication before Axis 1 still works. A filter or a proxy that authenticates first rejects the request.

What an attacker gets

An attacker can instantiate any class on the classpath that has a public constructor taking one string.

  • With the JDK alone: java.io.FileOutputStream truncates the file whose path it receives. With other classes, the server sends requests to a destination the attacker chooses.
  • With Spring on the classpath: ClassPathXmlApplicationContext loads bean definitions from a URL. Those beans can start a process. The URL can be remote or local (file://).

The technique is known. Attackers have already used this Spring class against other Java software.

Two analysis tools, no finding on this flaw

After the discovery, I ran two common static analysis tools on this code.

  • Semgrep 1.151, five standard rulesets, on the two vulnerable files: zero findings. Its free analysis works one file at a time. This flaw is split across two files. I did not test Semgrep Pro.
  • CodeQL 2.25.6, security-extended suite, on the whole Axis 1 repository: about 70 findings. None was on this path.

CodeQL reported the full path once I wrote a query specific to Axis 1. That query tells CodeQL where the code receives untrusted data and how the class name passes from one file to the other. Writing it takes someone who already knows the framework.

How I found it

That pentest targeted a Java application that OKIOK develops and that depends on Axis 1. I had access to the source code and had already reviewed the application’s own code. The next step was this dependency, because it reads each request before the application does.

Claude Opus 4.7 reviewed the classes of the jar for input that differs from what the code expects. The model flagged the handling of SOAP faults. The proof of concept worked first on a local Axis 1 server, then on a deployed one.

The tester leads, the model reads

I chose the code to review, wrote the instruction and confirmed the result on a server. The model read the code.

On engagements where the client agrees, OKIOK’s testers now use AI in their code reviews. Their experience decides what the model reads and what a result is worth.

What to do

Apache recommends migrating to another SOAP engine, such as Apache Axis2/Java. The project plans no new Axis 1.x release.

Teams that must stay on Axis 1.x can build it from source with Apache’s patch. The patch accepts the named class only if it is an AxisFault. Its commit lists an AI model as co-author.

What OKIOK does

The OKIOK application where I found this flaw still uses Axis 1.4. A dependency this deep in a production application takes time to remove.

Apache has released no new version of Axis 1 since 2006, so OKIOK maintains its own fork of Axis 1.4. Our testers pentest it and we apply security patches to it. This CVE came out of that work, and our fork had the fix well before Apache published it. Each release of the application moves more endpoints from Axis to REST web services, and each one brings it closer to running without Axis at all.

Twenty years, one morning

The file that reads the class name dates from October 2002. The last release, Axis 1.4, dates from 2006 and contains this file. Semgrep and CodeQL reported nothing on it in my tests.

Anyone could read this file for twenty years. One morning was enough. It takes a tester who knows where to look and a model able to read all that code in one pass. And the day goes on.

José Apari-Pantigozo, OKIOK

References

Tell us about your challenges

Your situation may be different from the one covered here. We want to hear about it.

Send us a message

Only your email is required. Pick a subject, add a note, and send.

Incident in progress? Call the 24/7 line instead of waiting for a reply: +1 450 681-1681, extension 277