Skip to content

ktlint-cli-1.5.0.jar: 7 vulnerabilities (highest severity is: 7.9) #3

Description

@mend-for-github-com
Vulnerable Library - ktlint-cli-1.5.0.jar

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (ktlint-cli version) Remediation Possible**
CVE-2026-13006 High 7.9 logback-core-1.3.14.jar Transitive N/A*
CVE-2025-11226 High 7.9 logback-core-1.3.14.jar Transitive 1.8.0
CVE-2024-12798 High 7.3 detected in multiple dependencies Transitive 1.6.0
CVE-2026-9828 Medium 5.4 logback-core-1.3.14.jar Transitive N/A*
CVE-2026-10532 Medium 5.4 logback-core-1.3.14.jar Transitive N/A*
CVE-2026-1225 Medium 5.0 logback-core-1.3.14.jar Transitive N/A*
CVE-2024-12801 Medium 4.6 logback-core-1.3.14.jar Transitive 1.6.0

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-13006

Vulnerable Library - logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.34 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.

Publish Date: 2026-06-24

URL: CVE-2026-13006

CVSS 3 Score Details (7.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-06-24

Fix Resolution: https://github.com/qos-ch/logback.git - v_1.5.35,ch.qos.logback:logback-core:1.5.35

CVE-2025-11226

Vulnerable Library - logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

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.

Publish Date: 2025-10-01

URL: CVE-2025-11226

CVSS 3 Score Details (7.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-25qh-j22f-pwp8

Release Date: 2025-10-01

Fix Resolution (ch.qos.logback:logback-core): 1.3.16

Direct dependency fix Resolution (com.pinterest.ktlint:ktlint-cli): 1.8.0

CVE-2024-12798

Vulnerable Libraries - logback-core-1.3.14.jar, logback-classic-1.3.14.jar

logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

logback-classic-1.3.14.jar

logback-classic module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core
upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows
attacker to execute arbitrary code by compromising an existing
logback configuration file or by injecting an environment variable
before program execution.
Malicious logback configuration files can allow the attacker to execute
arbitrary code using the JaninoEventEvaluator extension.
A successful attack requires the user to 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.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2024-12-19

URL: CVE-2024-12798

CVSS 3 Score Details (7.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: High
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-pr98-23f8-jwxv

Release Date: 2024-12-19

Fix Resolution (ch.qos.logback:logback-core): 1.3.15

Direct dependency fix Resolution (com.pinterest.ktlint:ktlint-cli): 1.6.0

Fix Resolution (ch.qos.logback:logback-classic): 1.3.15

Direct dependency fix Resolution (com.pinterest.ktlint:ktlint-cli): 1.6.0

CVE-2026-9828

Vulnerable Library - logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

Deserialization of untrusted data vulnerability in QOS.CH Sarl logback logback-core (HardenedObjectInputStream (logback-core) modules) allows Object Injection albeit heavily restricted.
More precisely, an attacker able to influence serialized data sent to
SimpleSocketServer or SimpleSSLSocketServer can instantiate objects from
classes in the java.lang and java.util packages that are not explicitly
blocked.
Although deserialization is heavily restricted by HardenedObjectInputStream and no
practical way to achieve remote code execution or significant privilege
escalation has been identified, this issue constitutes a bypass of the
intended security restrictions.
This issue affects logback: through 1.5.32 inclusive.

Publish Date: 2026-05-28

URL: CVE-2026-9828

CVSS 3 Score Details (5.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://logback.qos.ch/news.html#⁠1.5.33

Release Date: 2026-05-28

Fix Resolution: ch.qos.logback:logback-core:1.5.33

CVE-2026-10532

Vulnerable Library - logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

Deserialization of untrusted data vulnerability in QOS.CH Sarl logback logback-core (HardenedObjectInputStream (logback-core) modules) allows Object Injection, albeit heavily restricted.
More precisely, an attacker able to influence serialized data sent to
SimpleSocketServer or SimpleSSLSocketServer can instantiate Proxy objects.
Although deserialization is heavily restricted by HardenedObjectInputStream and no
practical way to achieve remote code execution or significant privilege
escalation has been identified, this issue constitutes a bypass of the
intended security restrictions.
This issue affects logback: through 1.5.33 inclusive.

Publish Date: 2026-06-01

URL: CVE-2026-10532

CVSS 3 Score Details (5.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-06-01

Fix Resolution: https://github.com/qos-ch/logback.git - v_1.5.34

CVE-2026-1225

Vulnerable Library - logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

ACE vulnerability in configuration file processing by QOS.CH logback-core up to and including version 1.5.24 in Java applications, allows an attacker to instantiate classes already present on the class path by compromising an existing logback configuration file.
The instantiation of a potentially malicious Java class requires that said class is present on the user's class-path. In addition, the attacker must have write access to a
configuration file. However, after successful instantiation, the instance is very likely to be discarded with no further ado.

Publish Date: 2026-01-22

URL: CVE-2026-1225

CVSS 3 Score Details (5.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-01-22

Fix Resolution: https://github.com/qos-ch/logback.git - v_1.5.25

CVE-2024-12801

Vulnerable Library - logback-core-1.3.14.jar

logback-core module

Library home page: http://www.qos.ch

Dependency Hierarchy:

  • ktlint-cli-1.5.0.jar (Root Library)
    • logback-classic-1.3.14.jar
      • logback-core-1.3.14.jar (Vulnerable Library)

Found in HEAD commit: bb7901da413205be580f8f2e6a10ace10ade6481

Found in base branch: main

Vulnerability Details

Server-Side Request Forgery (SSRF) in SaxEventRecorder by QOS.CH logback version 0.1 to 1.3.14 and 1.4.0 to 1.5.12  on the Java platform, allows an attacker to
forge requests by compromising logback configuration files in XML.
The attacks involves the modification of DOCTYPE declaration in  XML configuration files.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2024-12-19

URL: CVE-2024-12801

CVSS 3 Score Details (4.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-6v67-2wr5-gvf4

Release Date: 2024-12-19

Fix Resolution (ch.qos.logback:logback-core): 1.3.15

Direct dependency fix Resolution (com.pinterest.ktlint:ktlint-cli): 1.6.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions