Unencrypted API Key Exposure in Jenkins Stack Hammer Plugin

5.5MEDIUM

CVE-2025-31726

Key Information:

Vendor

Jenkins

CVE ID
CVE ID:
CVE-2025-31726
Vendor
CVE Published:
2 April 2025

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Jenkins Stack Hammer Plugin. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.5).

What is CVE-2025-31726?

The Stack Hammer Plugin for Jenkins before version 1.0.7 has a vulnerability that results in the insecure storage of API keys within job configuration files on the Jenkins controller. This allows users with Extended Read permissions or direct access to the file system to view these sensitive keys. It is crucial to upgrade to the latest version of the plugin to mitigate the risk of unauthorized access to API credentials.

Affected Version(s)

Jenkins Stack Hammer Plugin 0 <= 1.0.6

References

Deserialization Vulnerability in Jenkins

CVE-2026-117624
JenkinsJenkins8.8HIGH

Deserialization Flaw in Jenkins

CVE-2026-117612
JenkinsJenkins8.8HIGH

Deserialization Flaw in Jenkins Core Products

CVE-2026-70426
JenkinsJenkins9CRITICAL
View more Jenkins vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged
.