CVE-2025-31721: Medium severity jenkins lts vulnerability

Published Apr 2, 2025
·
Updated

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.

Other sources

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.

GitHub

Affected Software

6 affected componentsFixes available
Jenkins Jenkins<2.503
Jenkins Jenkins LTS<2.492.2
maven/org.jenkins-ci.main:jenkins-core<2.492.3
2.492.3
maven/org.jenkins-ci.main:jenkins-core>=2.500<2.504
2.504
Jenkins Jenkins<2.492.3
Jenkins Jenkins<2.504

Event History

Apr 2, 2025
CVE Published
via MITRE·02:59 PM
Data Sourced
via MITRE·02:59 PM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-31721?

The severity of CVE-2025-31721 is classified as critical due to the potential unauthorized access to encrypted secrets.

2

How do I fix CVE-2025-31721?

To fix CVE-2025-31721, update your Jenkins installation to version 2.504 or later, or LTS 2.493 or later.

3

What are the potential impacts of CVE-2025-31721?

The potential impacts of CVE-2025-31721 include unauthorized access to sensitive data and configuration settings through compromised agents.

4

Who is affected by CVE-2025-31721?

CVE-2025-31721 affects users of Jenkins versions 2.503 and earlier, as well as LTS versions 2.492.2 and earlier.

5

What permissions are involved in CVE-2025-31721?

CVE-2025-31721 involves the Computer/Create permission which allows users to copy an agent without the necessary Computer/Configure permission.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203