CVE-2025-59476 Jenkins has a log message injection vulnerability

Medium 5.3 Published Updated

Attackers can inject line breaks into Jenkins logs to forge entries, misleading administrators during log review.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-59476?

CVE-2025-59476 is a medium-severity vulnerability in Jenkins Jenkins, published on 17 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jenkins 2.527 and earlier, LTS 2.516.2 and earlier does not restrict or transform the characters that can be inserted from user-specified content in log messages, allowing attackers able to control log message contents to insert line break characters, followed by forged log messages that may mislead administrators reviewing log output.

Weakness: CWE-117

Which versions are affected by CVE-2025-59476?

5 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core and jenkins. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenAll versions2.516.3
org.jenkins-ci.main:jenkins-core MavenAll versions2.516.3
org.jenkins-ci.main:jenkins-core MavenFrom 2.5172.528
org.jenkins-ci.main:jenkins-core MavenFrom 2.5172.528
jenkins BitnamiAll versions2.516.3, 2.528.0

Products include Jenkins Jenkins.

How do I fix CVE-2025-59476?

Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.516.3 or 2.528.

Is CVE-2025-59476 being exploited?

There is no known exploitation of CVE-2025-59476 in the wild and no public exploit code.

All Jenkins Jenkins vulnerabilities

Sources

Also known as BIT-jenkins-2025-59476, GHSA-qrh5-jg98-cr48, MINI-3f26-v58r-fwj3, MINI-qj5p-v93h-67jx, MINI-xxvm-8mq7-pj7v.

Is CVE-2025-59476 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free