A JNDI injection in SAP NetWeaver AS Java, fixed in November 2025, is now under attack. CISA lists it as exploited, and Onapsis describes the attack path and mitigation steps.
Attackers are exploiting CVE-2025-42884, a vulnerability in SAP NetWeaver Application Server Java that SAP patched in November 2025. The US Cybersecurity and Infrastructure Security Agency (CISA) added the flaw to its Known Exploited Vulnerabilities (KEV) catalog on November 20, 2026. Security vendor Onapsis, whose research team found the issue, published a technical analysis on November 25 and updated it on December 1.
The flaw is an unauthenticated JNDI injection in a SOAP web service of the SAP Enterprise Portal. The Java Naming and Directory Interface (JNDI) lets Java applications look up objects through interchangeable service providers. The portal uses it to access the Portal Content Directory, which stores content such as pages and roles. According to Onapsis, the affected service, reachable under /DefaultService_PcmSi/, copies environment settings supplied by the caller into the JNDI context without restriction. A remote client can therefore choose which context factory the server uses and which host it connects to.
Onapsis describes how this behavior can be escalated to remote code execution with a single HTTP request. The attacker points the server to a rogue RMI endpoint, which replies with a serialized object that the server deserializes before any type check takes place. A gadget chain built from classes in SAP’s own Service Data Objects libraries can then run code as the SAP system user. The researchers state that the chain needs no third-party components and was already seen in attacks on CVE-2025-31324, a Visual Composer flaw widely exploited in 2025. They did not publish the code used to construct it.
The severity ratings differ. Onapsis reported the issue to SAP on August 18, 2025, with a CVSS score of 10.0 based on the full exploit chain. SAP fixed it on November 11, 2025, with Security Note 3660969 and rated it 6.5, a medium severity. Onapsis attributes the gap mainly to assumptions about which gadgets are available at runtime, which depends on installed libraries and deserialization filtering.
In October 2025, SAP released Security Note 3660659. It adds a JVM-wide deserialization filter that blocks, among others, the code-execution component used in the researchers’ proof of concept. Such a blocklist covers only known gadgets, Onapsis notes. A gadget identified later in the SAP jConnect SDK for ASE was addressed in December 2025 under CVE-2025-42928.
In calendar week 45 of 2026, roughly a year after the patch, the Onapsis Threat Intel Network recorded the first exploitation attempts against the endpoint. Most requests failed because the XML did not match the service’s interface definition, which Onapsis interprets as trial and error by the attacker. One well-formed request, using the list operation, reached the vulnerable code. Its property names and the factory class name were HTML-encoded, apparently to obscure the payload. Onapsis says other reports of active exploitation have since appeared.
SAP NetWeaver AS Java remains the runtime for the Enterprise Portal and Process Orchestration. Portals often serve as an entry point for employees, partners and suppliers, so affected systems may be reachable from the internet.
Onapsis recommends applying both Security Notes, 3660969 and 3660659. Where the portal’s content-administration services are not needed, it advises blocking access to /DefaultService_PcmSi/ at the SAP Web Dispatcher or a reverse proxy. It also recommends restricting outbound traffic from Java systems.
Organizations whose systems were reachable and unpatched in week 45 should check for compromise, since patching does not remove implants or stolen credentials. Indicators include:
- POST requests to the endpoint containing the java.naming.factory.initial or java.naming.provider.url properties, possibly encoded;
- outbound connections from the portal to unknown external hosts;
- unexpected child processes of the server node.
Onapsis concludes that a CVSS score alone can understate risk. An injection that merely triggers an outbound connection looks harmless in isolation, but combined with the deserialization technique and an available gadget chain it becomes remote code execution. The chain is not specific to this bug and could be reused with any new deserialization entry point on AS Java, which is why Onapsis considers the general hardening in Note 3660659 as important as the specific fix.
The findings on exploitation originate from Onapsis, which sells SAP security products. SAP’s security notes and CISA’s catalog entry can be consulted independently.

Dr. Jakob Jung is Editor-in-Chief of Security Storage and Channel Germany. He has been working in IT journalism for more than 20 years. His career includes Computer Reseller News, Heise Resale, Informationweek, Techtarget (storage and data center) and ChannelBiz. He also freelances for numerous IT publications, including Computerwoche, Channelpartner, IT-Business, Storage-Insider and ZDnet. His main topics are channel, storage, security, data center, ERP and CRM.
Contact via Mail: jakob.jung@security-storage-und-channel-germany.de