CVE Database›CVE-2026-13006

CVE-2026-13006

logback-core: Logback-core: Arbitrary Code Execution via Malicious Configuration or Environment Variable

Loading…

Severity

Moderate

Red Hat Product Security

6

CVSS 3.1

Review impact separately from score.

Published · June 24, 2026

Updated · June 28, 2026

Description

A flaw was found in logback-core, a logging framework for Java applications. This vulnerability allows an attacker with existing privileges and write access to a configuration file, or the ability to inject a malicious environment variable, to execute arbitrary code. This can be achieved by compromising an existing logback configuration file or by injecting an environment variable before program execution, circumventing existing protections. A successful attack requires the Janino library to be present on the user's class path.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

CWE-94 · Improper Control of Generation of Code ('Code Injection')