CVE-2021-38163: SAP NetWeaver Unrestricted File Upload Vulnerability
CVE-2021-38163 is a critical-severity flaw (CVSS 9.9) affecting netweaver, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
SAP NetWeaver (Visual Composer 7.0 RT) versions - 7.30, 7.31, 7.40, 7.50, without restriction, an attacker authenticated as a non-administrative user can upload a malicious file over a network and trigger its processing, which is capable of running operating system commands with the privilege of the Java Server process. These commands can be used to read or modify any information on the server or shut the server down making it unavailable.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.9 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 36.9% (top 1%) |
| CISA exploited list | Yes, fix due 2022-06-30 |
| Weakness | CWE-22 |
| Published | 2021-09-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: core1impact/CVE-2021-38163 (4 stars)
- GitHub PoC: purpleteam-ru/CVE-2021-38163 (0 stars)
- Write-up: wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=585106405
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-38163?
netweaver: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-38163 being exploited?
Yes. CVE-2021-38163 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-38163 affect?
CVE-2021-38163 affects netweaver. Severity is critical (CVSS 9.9). SAP NetWeaver (Visual Composer 7.0 RT) versions - 7.30, 7.31, 7.40, 7.50, without restriction, an attacker authenticated as a non-administrative user can upload a malicious file over a network and trigger its processing, which is capable of
How urgent is CVE-2021-38163?
Priority 84/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV)
Software pages
Java vulnerabilities · SAP vulnerabilities
Related CVEs
- CVE-2025-42999 CRITICAL 9.1 EXPLOITED DOWNGRADE SAP NetWeaver Deserialization Vulnerability
- CVE-2025-31324 CRITICAL 10.0 EXPLOITED DOWNGRADE SAP NetWeaver Unrestricted File Upload Vulnerability
- CVE-2026-23685 MEDIUM 4.4 DOWNGRADE Due to a Deserialization vulnerability in SAP NetWeaver (JMS service), an attacker authenticated as an adminis
- CVE-2025-42968 MEDIUM 5.0 DOWNGRADE SAP NetWeaver allows an authenticated non-administrative user to call the remote-enabled function module which
- CVE-2024-27898 MEDIUM 5.3 DOWNGRADE SAP NetWeaver application, due to insufficient input validation, allows an attacker to send a crafted request