CVE-2025-31721
Jenkins Missing Permission Check
4.3
MEDIUM
CVSS 3.1
EPSS 0.09%
Description
Jenkins 2.503 and earlier, LTS 2.492.2 and earlier does not perform a permission check in an HTTP endpoint. This allows attackers with Computer/Create permission but without Computer/Configure permission to copy an agent, gaining access to encrypted secrets in its configuration. This is due to an incomplete fix of [SECURITY-3495](https://www.jenkins.io/security/advisory/2025-03-05/#SECURITY-3495)/CVE-2025-27622. Jenkins 2.504, LTS 2.492.3 requires Computer/Configure permission to copy an agent containing secrets.
How to fix CVE-2025-31721
To remediate CVE-2025-31721, upgrade the affected package to a fixed version below.
- —upgrade to 2.492.3 or later
- —upgrade to 2.504 or later
Is CVE-2025-31721 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.492.3, >= 2.493.0, < 2.504.1
- >= 2.500, < 2.504
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |