{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-11226", "assignerOrgId": "455daabc-a392-441d-aa46-37d35189897c", "state": "PUBLISHED", "assignerShortName": "NCSC.ch", "dateReserved": "2025-10-01T07:25:16.311Z", "datePublished": "2025-10-01T07:26:12.567Z", "dateUpdated": "2026-06-25T16:04:42.152Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "455daabc-a392-441d-aa46-37d35189897c", "shortName": "NCSC.ch", "dateUpdated": "2026-06-24T08:35:28.533Z" }, "title": "Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-20", "description": "CWE-20 Improper Input Validation", "type": "CWE" } ] } ], "impacts": [ { "descriptions": [ { "lang": "en", "value": "Arbitrary code execution on previously compromised system" } ] }, { "capecId": "CAPEC-242", "descriptions": [ { "lang": "en", "value": "CAPEC-242 Code Injection" } ] } ], "affected": [ { "vendor": "QOS.CH Sarl", "product": "Logback-core", "platforms": [ "Java" ], "modules": [ "logback-core" ], "versions": [ { "status": "affected", "version": "0.9.20", "lessThanOrEqual": "1.5.18", "versionType": "maven" }, { "status": "unaffected", "version": "1.5.19" }, { "status": "unaffected", "version": "1.3.16" } ], "defaultStatus": "affected" } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:qos.ch_sarl:logback-core:*:*:java:*:*:*:*:*", "versionEndIncluding": "1.5.18", "versionStartIncluding": "0.9.20", "vulnerable": true }, { "criteria": "cpe:2.3:a:qos.ch_sarl:logback-core:1.5.19:*:java:*:*:*:*:*", "vulnerable": false }, { "criteria": "cpe:2.3:a:qos.ch_sarl:logback-core:1.3.16:*:java:*:*:*:*:*", "vulnerable": false } ], "negate": false, "operator": "OR" } ], "operator": "OR" } ], "descriptions": [ { "lang": "en", "value": "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.\n\n\n\nA 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 \nconfiguration file. Alternatively, the attacker could inject a malicious \nenvironment variable pointing to a malicious configuration file. In both \ncases, the attack requires existing privilege.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "
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 \nconfiguration file. Alternatively, the attacker could inject a malicious \nenvironment variable pointing to a malicious configuration file. In both \ncases, the attack requires existing privilege.\n\n\n

" } ] } ], "references": [ { "url": "https://logback.qos.ch/news.html#1.5.19" }, { "url": "https://logback.qos.ch/news.html#1.3.16" } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ], "cvssV4_0": { "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "subConfidentialityImpact": "LOW", "vulnIntegrityImpact": "HIGH", "subIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "Safety": "PRESENT", "Automatable": "NO", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "MODERATE", "providerUrgency": "GREEN", "version": "4.0", "baseSeverity": "HIGH", "baseScore": 7, "vectorString": "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" } } ], "workarounds": [ { "lang": "en", "value": "Remove Janino from the Java classpath or update to logack version 1.5.19 or later.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "Remove Janino from the Java classpath or update to logack version 1.5.19 or later.
" } ] } ], "solutions": [ { "lang": "en", "value": "Remove Janino from the Java classpath or update to logack version 1.5.19 or later.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "Remove Janino from the Java classpath or update to logack version 1.5.19 or later.
" } ] } ], "exploits": [ { "lang": "en", "value": "No known exploitation", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "No known exploitation
" } ] } ], "credits": [ { "lang": "en", "value": "Heihu577", "type": "finder" } ], "source": { "discovery": "UNKNOWN" }, "x_generator": { "engine": "Vulnogram 0.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-06-25T16:04:36.111603Z", "id": "CVE-2025-11226", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-06-25T16:04:42.152Z" } } ] } }