CVE-2025-31720 — Vulnerability in jenkins-core — CVE Details
Jenkins Missing Permission Check
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.84%). Schedule for your next planned update.
Does your project use an affected org.jenkins-ci.main:jenkins-core version?
Paste your pom.xml to check it for CVE-2025-31720 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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/Extended Read permission to copy an agent, gaining access to its configuration.
Jenkins 2.504, LTS 2.492.3 requires Computer/Extended Read permission to copy an agent.
Advisory Timeline
- First published April 2, 2025 (603 days ago).
- Last revised August 7, 2026 — 492 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.504 for org.jenkins-ci.main:jenkins-core -->
<!-- Update pom.xml dependency version to 2.492.3 for org.jenkins-ci.main:jenkins-core -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.jenkins-ci.main:jenkins-core Maven · Affected: 2.500, 2.501, 2.502, 2.503 | 2.504 |
| org.jenkins-ci.main:jenkins-core Maven · Affected: 1.396, 1.397, 1.398, 1.399 (+933 more) | 2.492.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-862Missing AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 4.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
Frequently Asked Questions
- What is CVE-2025-31720?
- Jenkins Missing Permission Check. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 4.3/10).
- How do I check if my project is affected by CVE-2025-31720?
- CVE-2025-31720 affects org.jenkins-ci.main:jenkins-core. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-31720 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 55.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2017-1000353CRITICAL
Deserialization of Untrusted Data in Jenkins
- CVE-2016-9299CRITICAL
Improper Neutralization of Special Elements used in an LDAP Query in Jenkins
- CVE-2025-59475MEDIUM
Jenkins is missing a permission check in the authenticated users' profile menu
- CVE-2026-53436MEDIUM
Jenkins Open Redirect via Relative Path Segments in Post-Login Redirect URL
- CVE-2026-53437MEDIUM
Jenkins Open Redirect Through Newline/Tab Characters in Redirect URL
- CVE-2025-59474MEDIUM
Jenkins has a missing permission check, allowing users to obtain agent names
- CVE-2025-31721MEDIUM
Jenkins Missing Permission Check
- CVE-2025-67639LOW
Jenkins has a CSRF vulnerability on the login form