CVE-2025-59476
JSON

5.3medium

Jenkins has a log message injection vulnerability

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-qrh5-jg98-cr48BIT-JENKINS-2025-59476

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.

Affected

Product or packageVersionsReported by
Jenkins Project JenkinsNot specified
Not affected: from 2.516.3 before 2.516.*, from 2.528 before *
CVE List
org.jenkins-ci.main:jenkins-core (Maven)before 2.516.3, from 2.517 before 2.528GitHub Advisory Database
jenkins jenkinsbefore 2.516.3, before 2.528NVD
jenkins (Bitnami)before 2.516.3, from 2.517.0 before 2.528.0Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-74CWE-117

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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 > .

NVD (es)

Jenkins 2.527 y anteriores, LTS 2.516.2 y anteriores no restringe ni transforma los caracteres que pueden insertarse desde contenido especificado por el usuario en mensajes de registro, permitiendo a los atacantes capaces de controlar el contenido de los mensajes de registro insertar caracteres de salto de línea, seguidos de mensajes de registro falsificados que pueden inducir a error a los administradores que revisan la salida del registro.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59476 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-qrh5-jg98-cr48 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-59476 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-JENKINS-2025-59476 changed 2026-09-08Apache-2.0