CVE-2026-13006: 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.36 in Java applications, allows an attacker to execute arbitrary code circumventing existing protections against CVE-2025-11226 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 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. Please note that in logack version 1.5.37 conditional processing using Janino was removed.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-13006) affects QOS.CH Sarl Logback-core versions up to and including 1.5.36. It arises from improper input validation (CWE-20) in the conditional processing of configuration files, which can be exploited by an attacker who has write access to a logback configuration file or can inject a malicious environment variable before program execution. The presence of the Janino library on the class path is required for exploitation. The vulnerability enables arbitrary code execution, circumventing protections implemented for a previous vulnerability (CVE-2025-11226). The issue was mitigated in version 1.5.37 by removing the conditional processing feature that relied on Janino.
Potential Impact
An attacker with existing high privileges and write access to configuration files or the ability to inject environment variables can execute arbitrary code within the affected Java application. This can lead to compromise of the application integrity and potentially the host system. The vulnerability requires the Janino library to be present, which is a prerequisite for exploitation. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade to Logback-core version 1.5.37 or later, where conditional processing using Janino has been removed, effectively mitigating this vulnerability. Since no official patch or temporary fix is listed, the vendor's removal of the vulnerable feature in 1.5.37 is the recommended remediation. Ensure that only trusted users have write access to configuration files and environment variables to reduce risk.
CVE-2026-13006: 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.36 in Java applications, allows an attacker to execute arbitrary code circumventing existing protections against CVE-2025-11226 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 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. Please note that in logack version 1.5.37 conditional processing using Janino was removed.
CVSS v4.0
Score 7.0high
Affected software
pkg:maven/ch.qos.logback/logback-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-13006) affects QOS.CH Sarl Logback-core versions up to and including 1.5.36. It arises from improper input validation (CWE-20) in the conditional processing of configuration files, which can be exploited by an attacker who has write access to a logback configuration file or can inject a malicious environment variable before program execution. The presence of the Janino library on the class path is required for exploitation. The vulnerability enables arbitrary code execution, circumventing protections implemented for a previous vulnerability (CVE-2025-11226). The issue was mitigated in version 1.5.37 by removing the conditional processing feature that relied on Janino.
Potential Impact
An attacker with existing high privileges and write access to configuration files or the ability to inject environment variables can execute arbitrary code within the affected Java application. This can lead to compromise of the application integrity and potentially the host system. The vulnerability requires the Janino library to be present, which is a prerequisite for exploitation. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade to Logback-core version 1.5.37 or later, where conditional processing using Janino has been removed, effectively mitigating this vulnerability. Since no official patch or temporary fix is listed, the vendor's removal of the vulnerable feature in 1.5.37 is the recommended remediation. Ensure that only trusted users have write access to configuration files and environment variables to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NCSC.ch
- Date Reserved
- 2026-06-23T14:31:36.004Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3b7811eed863c81e5f7204
Added to database: 06/24/2026, 06:24:17 UTC
Last enriched: 07/01/2026, 21:39:26 UTC
Last updated: 08/08/2026, 00:41:11 UTC
Views: 184
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.
External Links
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.