Skip to main content
EPSS 0.2%top 91%

CVE-2025-11226: CWE-20 Improper Input Validation in QOS.CH Sarl Logback-core

0
High
VulnerabilityCVE-2025-11226cvecve-2025-11226cwe-20
Published: 10/01/2025 (10/01/2025, 07:26:12 UTC)
Source: CVE Database V5
Vendor/Project: QOS.CH Sarl
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
Scope
P
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/S:P/AU:N/RE:M/U:Green

Affected software

Affected versions
0.9.20

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 22:38:30 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses