Skip to main content

CVE-2025-31721 — Vulnerability in jenkins-core — CVE Details

MEDIUM

Jenkins Missing Permission Check

Published April 2, 2025Updated August 7, 2026Source: OSV

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-31721 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.

Check my pom.xml

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/Configure permission to copy an agent, gaining access to encrypted secrets in its configuration.

This is due to an incomplete fix of SECURITY-3495/CVE-2025-27622.

Jenkins 2.504, LTS 2.492.3 requires Computer/Configure permission to copy an agent containing secrets.

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.

Maven
Update org.jenkins-ci.main:jenkins-core to 2.504 or later
<!-- Update pom.xml dependency version to 2.504 for org.jenkins-ci.main:jenkins-core -->
Maven
Update org.jenkins-ci.main:jenkins-core to 2.492.3 or later
<!-- 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).

PackageFixed In
org.jenkins-ci.main:jenkins-core Maven · Affected: 2.500, 2.501, 2.502, 2.5032.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-862
    Missing AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 4.3 score means for each attack dimension.

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

Frequently Asked Questions

What is CVE-2025-31721?
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-31721?
CVE-2025-31721 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-31721 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
4.3

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.84%
EPSS percentile: 55.1

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

GHSA-wr6w-jxg7-qpfh
BIT-jenkins-2025-31721

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml