MODERATE 5.3

CVE-2025-59476

Jenkins has a log message injection vulnerability

Description

In Jenkins 2.527 and earlier, LTS 2.516.2 and earlier, the log formatter that prepares log messages for console output (including jenkins.log and equivalent) does not restrict or transform the characters that can be inserted from user-specified content in log messages.

This allows attackers able to control log message contents to insert line break characters, followed by forged log messages that may mislead administrators reviewing log output.

Jenkins 2.528, LTS 2.516.3 adds an indicator at the beginning of a line that was inserted as part of log message content: [CR], [LF], or [CRLF] (representing the kind of line break), followed by > .

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.main » jenkins-core
< 2.516.3>= 2.517, < 2.528
2.516.3, 2.528

Blast radius

1affected artifacts
11,359affected versions
116dependent artifacts (est.)
14,156dependent versions

56% of the dependent artifacts (65) still pull an affected version in their latest release.

DepthDependent versions
Direct
12,900
2 hops
1,048
3 hops
35
4 hops
81
5 hops
26
6 hops
66

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webjenkins.io
Webopenwall.com