The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-38163

CVE-2021-38163: SAP NetWeaver Visual Composer RCE Flaw

CVE-2021-38163 is a remote code execution vulnerability in SAP NetWeaver Visual Composer that allows authenticated attackers to upload malicious files and execute OS commands. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2021-38163 Overview

CVE-2021-38163 is a critical path traversal vulnerability affecting SAP NetWeaver Visual Composer 7.0 RT. This vulnerability allows an authenticated non-administrative user to upload malicious files over the network without restriction. Once uploaded, these files can be processed in a way that executes arbitrary operating system commands with the privileges of the Java Server process, potentially leading to complete system compromise.

Critical Impact

Attackers can achieve remote code execution, read or modify sensitive information on the server, and cause denial of service by shutting down the server. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild.

Affected Products

  • SAP NetWeaver 7.30
  • SAP NetWeaver 7.31
  • SAP NetWeaver 7.40
  • SAP NetWeaver 7.50

Discovery Timeline

  • September 14, 2021 - CVE-2021-38163 published to NVD
  • February 25, 2026 - Last updated in NVD database

Technical Details for CVE-2021-38163

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), allowing attackers to bypass intended file upload restrictions and write files to arbitrary locations on the server filesystem. The Visual Composer component in SAP NetWeaver fails to properly sanitize file paths during the upload process, enabling authenticated users to traverse directory structures using special character sequences.

The impact of successful exploitation is severe: attackers can execute operating system commands with the same privileges as the Java Server process running SAP NetWeaver. This typically provides extensive access to the underlying system, including the ability to read sensitive configuration files, modify application data, exfiltrate business-critical information, or completely disable the server.

Root Cause

The root cause lies in insufficient input validation and path sanitization within the Visual Composer file upload functionality. The component fails to properly neutralize path traversal sequences (such as ../) in user-supplied filenames or paths, allowing attackers to specify locations outside the intended upload directory. Combined with the ability to trigger processing of uploaded files, this creates a complete attack chain from file upload to code execution.

Attack Vector

The attack is network-based and requires low-privilege authentication to the SAP NetWeaver system. An attacker with valid credentials, even as a non-administrative user, can craft a malicious file upload request that:

  1. Utilizes path traversal sequences to place the file in a location where it will be automatically processed or executed
  2. Contains payload designed to execute operating system commands
  3. Triggers the Java Server to process the malicious file

The exploitation does not require user interaction beyond the attacker's own actions. Once the malicious file is processed, commands execute with the privileges of the SAP NetWeaver Java Server process.

The attack leverages the file upload functionality in the Visual Composer component to place a malicious file in a location where it can be processed by the server. By manipulating the file path parameter with directory traversal sequences, an attacker can write files outside the intended upload directory. When these files are subsequently processed by the Java Server, any embedded commands are executed with server-level privileges. This exploitation method is well-documented and has been observed in active attacks, as evidenced by its inclusion in the CISA Known Exploited Vulnerabilities Catalog.

Detection Methods for CVE-2021-38163

Indicators of Compromise

  • Unusual file upload requests to Visual Composer endpoints containing path traversal sequences such as ../ or encoded variants like %2e%2e%2f
  • Unexpected files appearing in directories outside the standard upload locations on SAP NetWeaver servers
  • Evidence of command execution originating from the Java Server process (e.g., spawning shells or executing system utilities)
  • Anomalous network activity from SAP NetWeaver servers to external destinations following file upload events

Detection Strategies

  • Monitor web application logs for HTTP requests to Visual Composer upload endpoints containing path manipulation patterns
  • Implement file integrity monitoring on SAP NetWeaver server directories to detect unauthorized file creations
  • Deploy endpoint detection rules to identify process chains where the Java Server process spawns unexpected child processes
  • Configure SIEM alerts for authentication events followed by suspicious file operations on NetWeaver systems

Monitoring Recommendations

  • Enable verbose logging on SAP NetWeaver Visual Composer components and centralize logs for analysis
  • Implement network traffic analysis to detect large or unusual file uploads to SAP systems
  • Monitor for privilege escalation attempts or lateral movement following any detected exploitation attempts
  • Review SAP Security Audit Logs regularly for anomalous user activity patterns

How to Mitigate CVE-2021-38163

Immediate Actions Required

  • Apply the security patch referenced in SAP Note #3084487 immediately
  • Review Visual Composer deployment necessity and consider disabling the component if not required for business operations
  • Audit user accounts with access to Visual Composer and remove unnecessary permissions
  • Implement network segmentation to limit access to SAP NetWeaver servers from untrusted networks

Patch Information

SAP has released a security patch addressing this vulnerability. Organizations should obtain and apply the patch following the instructions in SAP Note #3084487. Additional security guidance is available on the SAP Wiki Security Page. Given the active exploitation status confirmed by CISA, patching should be treated as an urgent priority.

Workarounds

  • If patching cannot be performed immediately, consider disabling the Visual Composer component entirely if it is not business-critical
  • Implement web application firewall (WAF) rules to block requests containing path traversal patterns targeting Visual Composer endpoints
  • Restrict network access to SAP NetWeaver systems using firewall rules to allow only trusted IP addresses
  • Implement additional authentication controls or access restrictions for Visual Composer functionality until the patch can be applied
bash
# Example: Restrict access to Visual Composer at the network level
# Add firewall rules to limit access to SAP NetWeaver ports
# iptables example - restrict port 50000 to specific trusted networks
iptables -A INPUT -p tcp --dport 50000 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 50000 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSap Netweaver

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability84.77%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-22
  • Technical References
  • SAP Note #3084487

  • CISA Known Exploit CVE-2021-38163
  • Vendor Resources
  • SAP Wiki Page
  • Related CVEs
  • CVE-2025-42944: SAP NetWeaver RCE Vulnerability

  • CVE-2025-42922: SAP NetWeaver AS Java RCE Vulnerability

  • CVE-2025-42963: SAP NetWeaver Java RCE Vulnerability

  • CVE-2025-23186: SAP NetWeaver ABAP RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English