CVE-2025-27622: Medium severity Jenkins Jenkins vulnerability
Jenkins 2.499 and earlier, LTS 2.492.1 and earlier does not redact encrypted values of secrets when accessing config.xml of agents via REST API or CLI, allowing attackers with Agent/Extended Read permission to view encrypted values of secrets.
Other sources
Jenkins 2.499 and earlier, LTS 2.492.1 and earlier does not redact encrypted values of secrets when accessing config.xml of agents via REST API or CLI.
This allows attackers with Agent/Extended Read permission to view encrypted values of secrets.
Jenkins 2.500, LTS 2.492.2 redacts the encrypted values of secrets stored in agent config.xml accessed via REST API or CLI for users lacking Agent/Configure permission.
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.jenkins-ci.main:jenkins-coreto a version that resolves this vulnerability.Fixed in 2.492.2 - Upgrade
Upgrade
maven/org.jenkins-ci.main:jenkins-coreto a version that resolves this vulnerability.Fixed in 2.500 - Upgrade
Upgrade
Jenkinsto a version that resolves this vulnerability.Fixed in 2.500 - Upgrade
Upgrade
Jenkins LTSto a version that resolves this vulnerability.Fixed in 2.492.2
Event History
Frequently Asked Questions
What is the severity of CVE-2025-27622?
CVE-2025-27622 has a high severity rating due to its potential for unauthorized access to sensitive encrypted values.
Who is affected by CVE-2025-27622?
CVE-2025-27622 affects Jenkins versions 2.499 and earlier, as well as LTS 2.492.1 and earlier.
How do I fix CVE-2025-27622?
To fix CVE-2025-27622, upgrade Jenkins to version 2.500 or later, or LTS 2.493 or later.
What type of permissions allow exploitation of CVE-2025-27622?
Attackers with Agent or Extended Read permission can exploit CVE-2025-27622 to view encrypted values of secrets.
What is the main issue highlighted by CVE-2025-27622?
CVE-2025-27622 highlights that Jenkins does not redact encrypted values of secrets in the config.xml file accessible via REST API or CLI.