CVE-2025-31721
jenkins: Missing permission check allows retrieving secrets from agent configurations
Overview
Description
A missing permission check in Jenkins 2.503 and earlier, LTS 2.492.2 and earlier allows attackers with Computer/Create permission but without Computer/Configure permission to copy an agent, gaining access to encrypted secrets in its configuration.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-862
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | <2.492.3>=2.493.0, <2.504.1 | 2.492.32.504.1 |
| Maven | org.jenkins-ci.main:jenkins-core | >=2.500, <2.504<2.492.3 | 2.5042.492.3 |
Open a package to see all its vulnerabilities.
Operating systems · 3 fixes
alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| edge | jenkins | 2.516.1-r0 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| jenkins-2-492 | 2.492.3-r0 | |
| jenkins | 2.504-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-31721
- github.com https://github.com/jenkinsci/jenkins/commit/b3651b475302e8dba20fc63c1ff89d144ec652f0
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-31721
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-31721
- www.jenkins.io https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3513
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.