A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2025-11226

CVE-2025-11226: Logback-Core RCE Vulnerability

CVE-2025-11226 is a remote code execution flaw in QOS.CH logback-core up to version 1.5.18 that enables attackers to execute arbitrary code via compromised configuration files. This article covers technical details.

Published: May 26, 2026

CVE-2025-11226 Overview

CVE-2025-11226 is an arbitrary code execution (ACE) vulnerability in QOS.CH logback-core versions up to and including 1.5.18. The flaw resides in conditional configuration file processing within Java applications that use logback. An attacker with existing privileges can execute arbitrary code by tampering with a logback configuration file or by injecting a malicious environment variable that points to an attacker-controlled configuration file. Exploitation requires the Janino library and the Spring Framework to be on the application's class path. The vulnerability is tracked under [CWE-20] Improper Input Validation.

Critical Impact

An authenticated local attacker with write access to a logback configuration file or the ability to set environment variables can execute arbitrary Java code in the context of the target application.

Affected Products

  • QOS.CH logback-core versions up to and including 1.5.18
  • Java applications loading logback when the Janino library is on the class path
  • Java applications loading logback when the Spring Framework is on the class path

Discovery Timeline

  • 2025-10-01 - CVE-2025-11226 published to the National Vulnerability Database
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-11226

Vulnerability Analysis

Logback supports conditional processing inside its XML configuration files. The conditional evaluation logic in logback-core invokes the Janino expression compiler, which can compile and execute Java expressions at runtime. When the Spring Framework is also present on the class path, the expression context exposes APIs that can be chained to load and execute arbitrary Java code. An attacker who controls the contents of a logback configuration file controls the expressions Janino evaluates, which results in arbitrary code execution inside the JVM process that loads the configuration.

Because the issue lives in conditional configuration handling, exploitation does not require a network-facing input. The configuration file itself becomes the malicious payload. The vulnerability is classified as Improper Input Validation [CWE-20] because logback does not constrain or sanitize the expressions executed during configuration parsing.

Root Cause

The root cause is unrestricted evaluation of expressions inside <if> conditional blocks during logback configuration parsing. Logback delegates expression compilation to Janino without isolating it from sensitive class paths. When Spring Framework classes are reachable, those expressions can instantiate and invoke arbitrary code paths. Logback treats configuration files as trusted input, but applications regularly read configuration paths from environment variables such as logback.configurationFile, which an attacker with shell access can override.

Attack Vector

There are two viable attack paths. First, an attacker with write access to an existing logback configuration file can inject a malicious <if> block containing Java expressions. Second, an attacker who can set environment variables for the target process before it starts can point logback to a configuration file under their control. Both require existing privilege on the host, which is why the attack vector is local. Once the application starts and parses the configuration, Janino compiles the embedded expression and the JVM executes the attacker's code with the privileges of the application.

No verified public exploit code is available. The vulnerability mechanism is described in the Logback Release Notes 1.5.19 and the Logback Release Notes 1.3.16.

Detection Methods for CVE-2025-11226

Indicators of Compromise

  • Unexpected modifications to logback.xml, logback-test.xml, or logback-spring.xml files in application directories.
  • Logback configuration files containing <if> conditional blocks that reference Spring classes or invoke reflection APIs.
  • Process environment variables such as logback.configurationFile pointing to paths outside the application's standard configuration directory.
  • Java application processes spawning unexpected child processes (bash, sh, cmd.exe, powershell.exe) shortly after startup.

Detection Strategies

  • Inventory Java applications and identify those bundling vulnerable logback-core versions at or below 1.5.18 alongside Janino and Spring.
  • Apply file integrity monitoring to all logback configuration files and alert on unauthorized writes.
  • Hunt for Janino runtime classes (org.codehaus.janino.*) being loaded by processes that do not normally use expression compilation.
  • Correlate JVM process starts with environment variable changes that override logback configuration paths.

Monitoring Recommendations

  • Forward Java application logs and host process telemetry to a central data lake for correlation across configuration changes and child process creation.
  • Alert on writes to configuration files by non-administrative users or service accounts that should not modify application configuration.
  • Track environment variable assignments in shell history and systemd unit overrides on production hosts running Java workloads.

How to Mitigate CVE-2025-11226

Immediate Actions Required

  • Upgrade logback-core to version 1.5.19 or later on the 1.5.x branch, or 1.3.16 or later on the 1.3.x branch.
  • Audit logback configuration files for unauthorized <if> blocks and revert any unexpected changes.
  • Restrict filesystem permissions on logback configuration files so only the application owner can modify them.
  • Remove Janino from the class path of applications that do not require conditional configuration processing.

Patch Information

QOS.CH addressed the vulnerability in logback-core 1.5.19 and 1.3.16. Update Maven, Gradle, or other dependency manifests to pull the fixed versions. Refer to the Logback Release Notes 1.5.19 and the Logback Release Notes 1.3.16 for upgrade details.

Workarounds

  • Remove the Janino dependency from applications that do not need conditional configuration logic, which prevents expression compilation.
  • Set strict filesystem ACLs on logback configuration files so only privileged service accounts have write access.
  • Disallow environment variable overrides for logback.configurationFile in service launch scripts and container manifests.
  • Run Java applications under least-privilege service accounts to limit the impact of code execution within the JVM.
bash
# Configuration example: restrict write access to logback configuration
chown root:appgroup /opt/app/config/logback.xml
chmod 640 /opt/app/config/logback.xml

# Maven dependency override to a patched version
# <dependency>
#   <groupId>ch.qos.logback</groupId>
#   <artifactId>logback-core</artifactId>
#   <version>1.5.19</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/TechQos Logback

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:X/V:X/RE:M/U:Green
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-20
  • Technical References
  • Logback Release Notes 1.3.16

  • Logback Release Notes 1.5.19
  • Related CVEs
  • CVE-2021-42550: Qos Logback RCE Vulnerability

  • CVE-2023-6378: Qos Logback DOS Vulnerability

  • CVE-2023-6481: Qos Logback DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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