# CVE-2025-31726: Jenkins Stack Hammer Plugin Stores API Keys Unencrypted in Job `config.xml` Files

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-04-02T14:59:53.108Z
- Modified: 2026-06-17T09:10:50.613Z
- Also known as: GHSA-2wxq-944j-5g2v
- Weaknesses: CWE-284, CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: jenkins

## Description

Jenkins Stack Hammer Plugin 1.0.6 and earlier stores Stack Hammer API keys unencrypted in job config.xml files on the Jenkins controller where they can be viewed by users with Extended Read permission, or access to the Jenkins controller file system.

(As written by CVE List.)

## Affected

- Jenkins Project Jenkins Stack Hammer Plugin: up to 1.0.6
- org.jenkins-ci.plugins:stackhammer (Maven): up to 1.0.6
- jenkins stack_hammer: up to 1.0.6

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3520> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-31726> (advisory)
- <https://github.com/jenkinsci/stackhammer-plugin> (package)

## Sources

- CVE List: [CVE-2025-31726](https://www.cve.org/CVERecord?id=CVE-2025-31726), CVE Terms of Use, modified 2025-04-03
- GitHub Advisory Database: [GHSA-2wxq-944j-5g2v](https://github.com/advisories/GHSA-2wxq-944j-5g2v), CC-BY-4.0, modified 2025-04-02
- NVD: [CVE-2025-31726](https://nvd.nist.gov/vuln/detail/CVE-2025-31726), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31726 · Whole record: https://cve.day/CVE-2025-31726.json · Rebuilt by cve.day 2026-11-25T22:58:55.957Z
