SAP NetWeaver JAVA – Unrestricted File Upload in J2EE-APPS

Share

Advisory Information

Public Release Date
11/24/2026
Security Advisory ID
ONAPSIS-2026-0125
Researcher(s)
Fabian Hagg
Vendor
SAP
Affected Components
SAP NetWeaver Application Server for Java (J2EE-APPS)
(Check SAP Note 3643865 for detailed information on affected releases)
Vulnerability Class
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSS v3 Score
9.9 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H)
Risk Level
Critical
Assigned CVE
CVE-2025-42922
Vendor Patch Information
SAP Security NOTE 3643865

Impact on Business

Successful exploitation of this vulnerability highly impacts the confidentiality, integrity, and availability of the system. An attacker could upload arbitrary files to the server, potentially leading to arbitrary command execution and full system compromise, which severely impacts business operations and data security.

Vulnerability Details

An unrestricted file upload issue exists in the DeployWSService SOAP service of SAP NetWeaver Application Server Java. Authenticated users with no specific permissions or role assignments can upload arbitrary files onto the server. By leveraging path traversal techniques, an attacker can traverse the file system and upload malicious files, such as web shells. This can ultimately lead to arbitrary command execution and full system compromise under the context of the SAP administrator account.

Solution

SAP has released SAP Note 3643865 which provides patched versions of the affected components.

The patches can be downloaded from https://me.sap.com/notes/3643865.

Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected components in order to reduce business risks.

Report Timeline

  • 07/28/2025: Onapsis reports vulnerability to SAP
  • 09/09/2025: SAP issues the patch

References

Affected Components Description

The vulnerability affects SAP NetWeaver Application Server for Java, specifically the J2EE-APPS component. Please refer to SAP Security Note 3643865 for detailed information on the specific affected releases and support package levels.

About our Research Labs

Onapsis Research Labs provides the industry analysis of key security issues that impact mission-critical systems and applications. Delivering frequent and timely security and compliance advisories with associated risk levels, Onapsis Research Labs combine in-depth knowledge and experience to deliver technical and business-context with sound security judgment to the broader information security community.

This advisory is licensed under a Creative Commons 4.0 BY-ND International License