CVE-2025-31721
Java vulnerability analysis and mitigation

Overview

CVE-2025-31721 is a security vulnerability discovered in Jenkins, affecting versions 2.503 and earlier, and LTS 2.492.2 and earlier. The vulnerability was disclosed on April 2, 2025, and is identified as SECURITY-3513 in Jenkins security advisory. This vulnerability stems from a missing permission check in an HTTP endpoint that affects the Jenkins core system (Jenkins Advisory).

Technical details

The vulnerability is characterized by a missing permission check in Jenkins' HTTP endpoint, which is related to agent configuration handling. The issue has been assigned a Medium severity CVSS rating with a base score of 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N). The vulnerability is classified under CWE-862 (Missing Authorization) (NVD).

Impact

The vulnerability allows attackers with Agent/Create permission but without Agent/Configure permission to copy an agent and gain unauthorized access to encrypted secrets stored in its configuration. This represents a significant security risk as it could lead to the exposure of sensitive information (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Jenkins 2.504 and LTS 2.492.3. The fix implements proper permission checks requiring Agent/Configure permission to copy an agent containing secrets. Organizations using affected versions should upgrade to these patched versions to mitigate the risk (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-43790HIGH7.4
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 11, 2025
CVE-2025-43786MEDIUM6.9
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 09, 2025
CVE-2025-43784MEDIUM6.2
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 10, 2025
CVE-2025-43783MEDIUM5.1
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 10, 2025
CVE-2025-43785MEDIUM4.6
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management