CVE-2025-11226: CWE-20 Improper Input Validation in QOS.CH Sarl Logback-core
ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.18 in Java applications, allows an attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution. A successful attack requires the presence of Janino library and Spring Framework to be present on the user's class path. In addition, the attacker must have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.
AI Analysis
Technical Summary
This vulnerability in Logback-core (version 0.9.20) arises from improper input validation (CWE-20) during conditional configuration file processing. An attacker with write access to a logback configuration file or the ability to inject an environment variable before program execution can execute arbitrary code. Exploitation depends on the presence of the Janino library and Spring Framework on the user's class path and requires existing high privileges. The vulnerability is rated with a CVSS 4.0 score of 7.0 (high severity). No patch or official fix details are currently available.
Potential Impact
An attacker who already has high privileges and write access to configuration files or the ability to inject environment variables can execute arbitrary code within the affected Java application using Logback-core. This could lead to full compromise of the application environment. However, exploitation requires specific conditions including the presence of Janino and Spring Framework and existing privileges, limiting the attack surface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to logback configuration files and control environment variable injection to trusted sources only. Monitor for unauthorized changes to configuration files and environment variables as a precaution.
CVE-2025-11226: CWE-20 Improper Input Validation in QOS.CH Sarl Logback-core
Description
ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.18 in Java applications, allows an attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution. A successful attack requires the presence of Janino library and Spring Framework to be present on the user's class path. In addition, the attacker must have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.
CVSS v4.0
Score 7.0high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Logback-core (version 0.9.20) arises from improper input validation (CWE-20) during conditional configuration file processing. An attacker with write access to a logback configuration file or the ability to inject an environment variable before program execution can execute arbitrary code. Exploitation depends on the presence of the Janino library and Spring Framework on the user's class path and requires existing high privileges. The vulnerability is rated with a CVSS 4.0 score of 7.0 (high severity). No patch or official fix details are currently available.
Potential Impact
An attacker who already has high privileges and write access to configuration files or the ability to inject environment variables can execute arbitrary code within the affected Java application using Logback-core. This could lead to full compromise of the application environment. However, exploitation requires specific conditions including the presence of Janino and Spring Framework and existing privileges, limiting the attack surface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to logback configuration files and control environment variable injection to trusted sources only. Monitor for unauthorized changes to configuration files and environment variables as a precaution.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- NCSC.ch
- Date Reserved
- 2025-10-01T07:25:16.311Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68ddc314107aa30f08655c3b
Added to database: 10/02/2025, 00:11:00 UTC
Last enriched: 07/01/2026, 22:38:30 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 438
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.