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-2020-1953

CVE-2020-1953: Apache Commons Configuration RCE Flaw

CVE-2020-1953 is a remote code execution vulnerability in Apache Commons Configuration caused by unsafe YAML parsing defaults. Untrusted YAML files can instantiate arbitrary classes and execute code. Learn the technical details.

Published: March 11, 2026

CVE-2020-1953 Overview

Apache Commons Configuration versions 2.2 through 2.6 contain an insecure deserialization vulnerability in its YAML parsing functionality. The library uses a third-party YAML parser (SnakeYAML) which by default allows the instantiation of arbitrary Java classes if the YAML input includes special constructor statements. Since Apache Commons Configuration did not modify these default settings, applications that load YAML files from untrusted sources are vulnerable to remote code execution attacks.

Critical Impact

Attackers can achieve full remote code execution by crafting malicious YAML files that instantiate arbitrary Java classes, potentially leading to complete system compromise with no user interaction required.

Affected Products

  • Apache Commons Configuration versions 2.2, 2.3, 2.4, 2.5, 2.6
  • Oracle Database Server versions 11.2.0.4, 12.1.0.2, 12.2.0.1, 18c, 19c
  • Oracle Healthcare Foundation versions 7.1.1, 7.2.0, 7.2.1, 7.3.0

Discovery Timeline

  • March 13, 2020 - CVE-2020-1953 published to NVD
  • October 2020 - Oracle releases security patches via Oracle Security Alert - October 2020
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-1953

Vulnerability Analysis

This vulnerability stems from Apache Commons Configuration's use of SnakeYAML for parsing YAML configuration files. SnakeYAML, by default, supports YAML tags that enable object instantiation during deserialization. When a YAML file contains special tags like !! followed by a fully-qualified Java class name, SnakeYAML will attempt to instantiate that class and invoke its constructor. This is a well-known class of vulnerabilities known as unsafe deserialization.

The core issue is that Apache Commons Configuration versions 2.2 through 2.6 did not configure SnakeYAML with a SafeConstructor or restrict the types of objects that can be instantiated. This means any application using these versions to parse YAML from untrusted sources inherits this dangerous default behavior.

Root Cause

The root cause is the failure to override SnakeYAML's default constructor settings. SnakeYAML's default Constructor class allows arbitrary object instantiation through YAML type tags. Apache Commons Configuration should have used SafeConstructor or implemented a custom constructor that restricts deserialization to safe, known types. The oversight in not changing these library defaults created a direct path from untrusted input to arbitrary code execution.

Attack Vector

An attacker can exploit this vulnerability by supplying a maliciously crafted YAML file to an application that uses a vulnerable version of Apache Commons Configuration. The attack requires the application to parse YAML content from an untrusted source, such as user uploads, external APIs, or network-based configuration fetching. The malicious YAML file contains special constructor tags that reference dangerous Java classes capable of executing system commands or loading remote classes.

The attack flow involves the attacker embedding a payload within a YAML document using YAML's type instantiation syntax. Common exploitation chains leverage classes available on the classpath that have dangerous side effects when instantiated, such as javax.script.ScriptEngineManager for JavaScript execution or java.lang.Runtime for command execution through gadget chains.

Detection Methods for CVE-2020-1953

Indicators of Compromise

  • Presence of unusual YAML files containing !! type tags followed by Java class names in application input directories
  • Log entries showing instantiation of unexpected Java classes during YAML parsing operations
  • Unexpected outbound network connections from Java applications that process YAML configurations
  • Process spawning from Java applications, particularly shell processes or scripting engines

Detection Strategies

  • Monitor application logs for SnakeYAML parsing errors that reference unexpected class instantiation attempts
  • Implement file integrity monitoring on directories where YAML configuration files are stored
  • Deploy runtime application security monitoring to detect unexpected object deserialization patterns
  • Scan inbound YAML content for suspicious patterns including !! tags and fully-qualified Java class names

Monitoring Recommendations

  • Enable verbose logging for configuration parsing operations in affected applications
  • Configure endpoint detection to alert on Java processes spawning unexpected child processes
  • Implement network monitoring for applications processing external YAML content to detect command-and-control communications
  • Review application dependencies using software composition analysis tools to identify vulnerable Commons Configuration versions

How to Mitigate CVE-2020-1953

Immediate Actions Required

  • Upgrade Apache Commons Configuration to version 2.7 or later, which addresses the unsafe deserialization issue
  • Audit all applications using Apache Commons Configuration to identify those parsing YAML from untrusted sources
  • Implement input validation to reject YAML files containing !! type tags before passing to the parser
  • Apply Oracle's October 2020 Critical Patch Update for affected Oracle Database Server and Healthcare Foundation deployments

Patch Information

Apache has addressed this vulnerability in Apache Commons Configuration version 2.7 and later by implementing safer YAML parsing defaults. Organizations should upgrade to the latest available version of Apache Commons Configuration. For Oracle products, security patches are available through the Oracle Security Alert - October 2020.

Related projects such as Apache Tomcat, Apache ServiceComb, and Apache Camel have also issued updates to address this dependency vulnerability. Review the Apache Tomcat Announcement and Apache ServiceComb Commit Update for details.

Workarounds

  • If immediate patching is not possible, configure the YAML parser to use SnakeYAML's SafeConstructor which restricts object instantiation to safe standard types
  • Implement a pre-processing filter that strips or rejects YAML content containing type instantiation tags (!!)
  • Restrict file upload functionality to prevent untrusted YAML files from reaching vulnerable parsing code
  • Deploy web application firewalls with rules to detect and block YAML payloads containing Java class instantiation patterns
bash
# Verify Apache Commons Configuration version in Maven projects
mvn dependency:tree | grep commons-configuration

# Check for vulnerable versions in Gradle projects
./gradlew dependencies | grep commons-configuration

# Update Maven dependency to patched version
# In pom.xml, update to version 2.7 or later:
# <dependency>
#   <groupId>org.apache.commons</groupId>
#   <artifactId>commons-configuration2</artifactId>
#   <version>2.7</version>
# </dependency>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability2.73%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Apache Tomcat Announcement

  • Apache ServiceComb Commit Update

  • Apache Camel Commit Notification

  • Oracle Security Alert - October 2020
  • Related CVEs
  • CVE-2016-15057: Apache Continuum RCE Vulnerability

  • CVE-2025-67895: Apache Airflow Edge3 Provider RCE Flaw

  • CVE-2025-58098: Apache HTTP Server SSI RCE Vulnerability

  • CVE-2025-53192: Apache Commons OGNL 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