SAP CVE-2025-42884: Scored 6.5, Exploited as a 10

By 11 min read
SAP CVE-2025-42884, an unauthenticated JNDI injection in SAP NetWeaver Enterprise Portal now under active exploitation

SAP called it a medium-severity bug and fixed it on 11 November 2025. A year later attackers are sending crafted SOAP requests at it, and CISA has given federal agencies three days to patch.

In short: SAP CVE-2025-42884 is an unauthenticated JNDI injection in the SAP NetWeaver Enterprise Portal that lets a remote attacker redirect the server’s naming lookups to a host they control, and Onapsis says that can lead to remote code execution. It is now exploited in the wild. Apply SAP Security Note 3660969, keep the portal off the internet, and check your logs for the request pattern below.

What is SAP CVE-2025-42884?

CVE-2025-42884 is a flaw in the Portal Content Management (PCM) admin SOAP web service of SAP NetWeaver Enterprise Portal, which runs on the NetWeaver Application Server Java (AS Java). SAP describes it as a JNDI injection and fixed it in Security Note 3660969. CISA lists it as “SAP NetWeaver Improper Neutralization of Special Elements in Data Query Logic Vulnerability”, and the weakness class is CWE-943.

JNDI, the Java Naming and Directory Interface, is the Java API that applications use to look up objects and services by name. A JNDI injection happens when an outsider can control where those lookups go. If the server can be told to ask an attacker’s naming service for an object, the attacker decides what comes back.

Where does the flaw live?

Onapsis traced it to the development component com.sap.portal.pcm.admin.ws.adminWSEar, exposed at the endpoint /DefaultService_PcmSi/. Three SOAP operations on that service, lookup, search and list, accept an env parameter. That parameter lets a client set JNDI environment properties such as java.naming.factory.initial and java.naming.provider.url, and no login is required.

Enterprise Portal is the browser front door that employees and partners use to reach SAP applications. That is why it tends to be reachable from wider networks than the back-end systems behind it.

Why does SAP rate it 6.5 when Onapsis said 10?

The two scores measure different things. SAP’s rating, CVSS 3.1 6.5 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N, scores the injection on its own: network reachable, no authentication, limited confidentiality and integrity impact. When Onapsis reported the bug to SAP on 18 August 2025, it scored it 10.0 with a changed scope and high impact on all three axes.

Onapsis CTO JP Perez-Etchegoyen summed up the gap for The Hacker News: it is a 6.5 vulnerability that “has the potential to perform RCE through deserialization.” That potential depends on conditions, which is why SAP’s lower score is not simply wrong. It is the right score for the bug and the wrong score for the risk on many real systems.

Four headline figures: SAP score 6.5, Onapsis score 10.0, 374 days to KEV, 3-day deadline
The vendor score and the researcher score sit at opposite ends of the scale, and the patch was a year old before exploitation was confirmed. Data: SAP, Onapsis, CISA.

How does the attack work?

At a conceptual level, the attack turns a configuration parameter into an outbound connection. The attacker never needs credentials; they need the portal’s PCM admin service to be reachable.

  1. The attacker sends an unauthenticated SOAP request to /DefaultService_PcmSi/ calling one of the three vulnerable operations.
  2. Inside the env parameter, EnvironmentElement entries replace the portal’s normal content directory (PCD) provider with an attacker-chosen naming provider on an external host.
  3. The AS Java server connects out to that host to perform the lookup.
  4. The attacker’s service answers with serialized Java data.
  5. If a usable deserialization gadget chain is present and no filter blocks it, that data can run code on the server.

A gadget chain is a sequence of existing classes in an application’s libraries that, when an object graph is deserialized, ends up executing an action the attacker chooses. Onapsis says the chain it used in research, built from SAP’s SDO libraries, had already appeared in attacks against CVE-2025-31324 in 2025. That reuse matters: the hardest part of the exploit was already known to attackers.

Five-stage chain from an unauthenticated SOAP request to possible code execution on SAP AS Java
The injection alone redirects a lookup; code execution needs the deserialization step at the end to succeed. Data: Onapsis.

What the observed attack actually looked like

Onapsis researchers Fabian Hagg and Ignacio Favro wrote that most of the requests they recorded failed. The actor sent many SOAP calls to DefaultService_PcmSi that the service rejected. Only one request was well formed and reached the vulnerable code, using the list operation and setting both JNDI properties to point at an external host. Onapsis also notes that the actor HTML-encoded property names, a detail worth remembering when writing detection rules.

Onapsis has not said whether that request led to code execution on the target. Read the activity as a working probe of the vulnerable path, not as proof of a successful compromise.

When was it exploited? A timeline

The gap between fix and exploitation is the most important number in this story. SAP shipped the note on its November 2025 Patch Day. Onapsis’s threat intelligence network picked up the first attempts against the endpoint in calendar week 45 of 2026, the first days of November.

Date Event Source
18 Aug 2025 Onapsis reports the flaw to SAP, scoring it CVSS 10.0 Onapsis
11 Nov 2025 SAP releases Security Note 3660969, rated CVSS 6.5 SAP via Onapsis
Early Nov 2026 Exploitation attempts against /DefaultService_PcmSi/ Onapsis
20 Nov 2026 Onapsis advisory ONAPSIS-2026-0100; CISA adds the CVE to KEV Onapsis, CISA
23 Nov 2026 Remediation deadline for US federal civilian agencies CISA
25 Nov 2026 Onapsis publishes its technical deep dive Onapsis
Timeline from the August 2025 report to the November 2026 CISA KEV listing and deadline
Fifteen months passed between the private report and the federal patch deadline, but only days between the first attempts and the KEV listing. Data: Onapsis, CISA.

Is there a public exploit?

Not according to Onapsis. Perez-Etchegoyen told The Hacker News that no public exploit exists, which suggests an attacker with specialised SAP knowledge built their own. Rescana, writing on 21 November, also found no public proof of concept. Onapsis’s deep dive on 25 November explains the technique in detail, so the window in which only skilled actors can use it is likely closing.

Who is affected and how do you check exposure?

Rescana and Onapsis list SAP NetWeaver Enterprise Portal 7.50 with the components EP-RUNTIME and EP-BASIS. Onapsis tested on EP-RUNTIME 1000.7.50.32.0 with Java kernel 7.50.3301. ABAP-only systems and S/4HANA systems without Enterprise Portal are not listed for this CVE. The exact fixed patch levels are inside SAP Note 3660969, which requires an SAP Support Portal login.

A practical exposure check

  1. Inventory. List every AS Java system with Enterprise Portal deployed, including test and sandbox portals that are often forgotten.
  2. Patch level. On the NetWeaver System Information page, compare the EP-RUNTIME and EP-BASIS patch levels with those named in Note 3660969.
  3. Reachability. Test whether /DefaultService_PcmSi/ answers from the internet or from partner networks. It should not.
  4. History. If a portal was reachable and unpatched at any point since November 2025, treat it as needing a compromise assessment, not just a patch.

How do you detect exploitation of CVE-2025-42884?

Onapsis published three concrete detection points, quoted by The Hacker News. They cover the request, the network side effect and the host side effect, so each one can catch what another misses.

HTTP and SOAP logs

Look for POST requests to /DefaultService_PcmSi/ whose SOAP body contains EnvironmentElement together with java.naming.factory.initial or java.naming.provider.url. Because the observed actor HTML-encoded property names, match on decoded content or include encoded variants. Many failed requests followed by one accepted one is the pattern Onapsis described.

Network telemetry

Alert on outbound TCP connections from AS Java server processes to internet hosts, especially to RMI or JRMP ports or unusual high ports, shortly after such a request. RMI (Remote Method Invocation) and its wire protocol JRMP are how Java programs call objects on other machines; a portal server has little reason to speak them to the internet.

Host telemetry

Watch for unexpected child processes of the AS Java server node, such as shells, curl, wget or scripting interpreters, running as the <sid>adm operating system user. This is the classic sign that deserialization turned into command execution.

ATT&CK mapping

Onapsis does not publish a MITRE ATT&CK mapping for this campaign. Based on the behaviour it describes, the closest technique is T1190, Exploit Public-Facing Application, with T1059, Command and Scripting Interpreter, if the host signals above fire. No IP addresses, hashes or actor names have been published, so there is no indicator list to block.

How do you mitigate CVE-2025-42884?

Patching is the fix; everything else buys time. Rescana stresses that a web application firewall or reverse proxy is not a substitute for the note.

  1. Apply SAP Security Note 3660969 on every system with EP-RUNTIME or EP-BASIS 7.50. It also fixes related JNDI injections in the same components, according to Onapsis.
  2. Apply SAP Security Note 3660659 (CVE-2025-42944), which adds a JVM-wide deserialization filter to AS Java. Onapsis recommends both notes together; the filter targets the step that turns this bug into code execution.
  3. Restrict exposure. Until patched, put the portal behind a VPN or address allow-list and block /DefaultService_PcmSi/ from untrusted networks.
  4. Block egress. Stop AS Java hosts from opening arbitrary outbound connections. A server that cannot reach the attacker’s naming service cannot fetch the payload.
  5. Run a compromise assessment on any portal that was reachable and unpatched, and preserve logs before you change anything.
  6. Verify and record. Confirm the component versions after patching and keep evidence of the check.

How does it compare with CVE-2025-31324?

The obvious comparison is CVE-2025-31324, the SAP Visual Composer flaw exploited as a zero-day in 2025 and covered in depth by Onapsis and ReliaQuest. Both sit on the AS Java stack and both are unauthenticated. The differences tell you why this one is less explosive so far, and why it still matters.

  CVE-2025-31324 CVE-2025-42884
Component Visual Composer metadata uploader Enterprise Portal PCM admin service
Bug type Missing authorisation, file upload JNDI injection
SAP CVSS 10.0 6.5
Fix Note 3594142, 24 Apr 2025 Note 3660969, 11 Nov 2025
Exploited as zero-day? Yes, from at least March 2025 per Mandiant via Onapsis No, about a year after the fix
Typical payload JSP webshells such as helper.jsp Not reported; RCE needs deserialization
Attribution Several, incl. China-nexus and ransomware groups None published

CVE-2025-31324 dropped webshells into the irj/root directory, and ReliaQuest later linked follow-on activity to ransomware operators. In August 2025 ReliaQuest reported an exploit chaining it with CVE-2025-42999, a 9.1 deserialization flaw. CVE-2025-42884 has no such history yet. The shared gadget chain is the link: the knowledge built for the 2025 campaign makes this year’s bug easier to weaponise.

Bar chart comparing CVSS scores of CVE-2025-42884 and three other SAP AS Java flaws
Among recent SAP Java flaws, only CVE-2025-42884 carries a medium score, which is exactly why it may have been left unpatched. Data: SAP via Onapsis.

The rest of the same KEV batch

CISA listed this flaw on 20 November alongside three others with very different stories. We covered the Apache Roller XML-RPC deserialization flaw, the Cisco Expressway cluster root RCE and the vCenter zero-day used by ARMORY CASTLE. SAP NetWeaver also appears on the target list of the crew behind LostTrust ransomware, a reminder that SAP Java bugs attract more than one kind of attacker.

Why medium-severity bugs get exploited

The lesson here is about triage, not SAP. Many patch programmes schedule medium findings for the next maintenance window, and SAP systems often have long windows because downtime is expensive. A bug that is unauthenticated, network reachable and adjacent to a known gadget chain does not behave like a medium.

CISA’s own SSVC entry for the CVE, as reported by Rescana, marks exploitation as active and the attack as automatable. Those two fields say more about urgency than the base score does. If your process sorts only by CVSS, this is the kind of bug that slips through for a year.

What is still unknown?

  • Who is attacking. No source names an actor, and CISA lists ransomware use as unknown.
  • Whether anyone was compromised. Onapsis saw one request reach the vulnerable code but has not reported confirmed code execution or victims.
  • Scale. The Hacker News reports the activity as targeted rather than widespread; there is no public count of exposed portals.
  • Exact affected patch levels. These sit in the login-gated SAP note, so public write-ups rely on Onapsis and NVD’s CPE for release 7.50.
  • Conflicting early reporting. Rescana wrote on 21 November that no indicators or detection guidance had been published; The Hacker News added Onapsis’s detection guidance in an update on 23 November. Some secondary sites also overstate CISA’s wording, which says only that there is evidence of active exploitation.

The bottom line

CVE-2025-42884 is a medium-rated SAP bug with a known path to remote code execution, and it is now being exploited a year after its patch. If you run SAP NetWeaver Enterprise Portal 7.50, apply notes 3660969 and 3660659, pull the PCM admin service off untrusted networks and hunt for SOAP requests that rewrite JNDI settings. Score SAP findings by reachability and exploitability, not by the base number alone.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is SAP CVE-2025-42884?

It is an unauthenticated JNDI injection vulnerability in SAP NetWeaver Enterprise Portal, in the PCM admin SOAP web service on the AS Java stack. A remote client can set the JNDI environment properties the server uses, which lets it point the server at an attacker-controlled naming provider.

Is CVE-2025-42884 being exploited?

Yes. CISA added it to the Known Exploited Vulnerabilities catalog on 20 November 2026 based on evidence of active exploitation. Onapsis says it observed attempts in early November 2026 and described the activity to The Hacker News as targeted rather than widespread.

Which SAP note fixes CVE-2025-42884?

SAP Security Note 3660969, released on SAP's November 2025 Patch Day on 11 November 2025. Onapsis also recommends Note 3660659, which adds a JVM-wide deserialization filter to SAP NetWeaver AS Java.

Which SAP systems are affected by CVE-2025-42884?

Systems running SAP NetWeaver Enterprise Portal 7.50 with the EP-RUNTIME and EP-BASIS components, according to Rescana and Onapsis. ABAP-only systems and S/4HANA systems without Enterprise Portal are not listed for this CVE. The exact patch levels are in the login-gated SAP note.

Why is CVE-2025-42884 rated only 6.5 if it can lead to remote code execution?

SAP scored the injection itself, which gives limited confidentiality and integrity impact. Onapsis argues it can be turned into a Java deserialization primitive and then into full remote code execution under specific conditions, which is why it originally scored it 10.0.

Is there a public exploit for CVE-2025-42884?

Onapsis CTO JP Perez-Etchegoyen told The Hacker News there is no publicly available exploit, which suggests the attacker built their own. Onapsis has since published a technical deep dive, so defenders should assume that will change.

How do I detect exploitation of CVE-2025-42884?

Look for POST requests to /DefaultService_PcmSi/ whose SOAP body contains EnvironmentElement with java.naming.factory.initial or java.naming.provider.url, outbound connections from AS Java server processes to internet hosts, and unexpected shells or curl and wget processes running as the sidadm user.

Who is behind the CVE-2025-42884 attacks?

No source has named an actor. CISA lists known ransomware use as unknown, and neither CISA, SAP nor Onapsis has published attacker IP addresses or hashes.

Keep reading

SAP CVE-2025-42884SAP NetWeaverEnterprise PortalJNDI injectionCISA KEVOnapsisvulnerability management