CVE-2025-31726
Java vulnerability analysis and mitigation

Overview

CVE-2025-31726 affects the Jenkins Stack Hammer Plugin versions 1.0.6 and earlier. The vulnerability was discovered and disclosed on April 2, 2025, impacting the plugin's security mechanism for storing API keys. The vulnerability affects installations of Jenkins using the Stack Hammer Plugin for job configurations (Jenkins Advisory, NVD).

Technical details

The vulnerability stems from the Stack Hammer Plugin storing API keys in an unencrypted format within job config.xml files on the Jenkins controller. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L. The weakness is classified as CWE-284 (Improper Access Control) (CISA-ADP).

Impact

The vulnerability exposes Stack Hammer API keys to unauthorized access. Users with Extended Read permission or those who have access to the Jenkins controller file system can view these unencrypted API keys, potentially compromising the security of associated services and systems (Jenkins Advisory).

Mitigation and workarounds

As of the advisory's publication date, no fix is available for the Stack Hammer Plugin. Organizations using affected versions should implement strict access controls to both the Jenkins controller file system and Extended Read permissions to minimize the risk of unauthorized access to the API keys (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-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 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