CVE-2025-27623 Jenkins reveals encrypted values of secrets stored in agent configuration to users with Agent/Extended Read permission

Medium 4.3 Published Updated

Attackers with View/Read permissions can access encrypted secret values via REST API or CLI, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-27623?

CVE-2025-27623 is a medium-severity vulnerability in Jenkins Jenkins, published on 5 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins 2.499 and earlier, LTS 2.492.1 and earlier does not redact encrypted values of secrets when accessing `config.xml` of views via REST API or CLI, allowing attackers with View/Read permission to view encrypted values of secrets.

Weakness: CWE-312

Which versions are affected by CVE-2025-27623?

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.492.2
org.jenkins-ci.main:jenkins-core MavenAll versions2.492.2
org.jenkins-ci.main:jenkins-core MavenFrom 2.4932.500
org.jenkins-ci.main:jenkins-core MavenFrom 2.4932.500
jenkins BitnamiFrom 2.493.02.504.1

Products include Jenkins Jenkins.

How do I fix CVE-2025-27623?

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

Is CVE-2025-27623 being exploited?

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

All Jenkins Jenkins vulnerabilities

Sources

Also known as BIT-jenkins-2025-27623, GHSA-rfh6-9r2q-98vf, MINI-cqw2-mfm8-v9wm, MINI-h65r-q37m-2jm2.

Is CVE-2025-27623 in your software?

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

Check your SBOMs for free