CVE-2025-58459 Jenkins global-build-stats Plugin missing permission check can result in graph IDs being enumerated
Attackers with read permissions can enumerate graph IDs due to missing permission checks in the Jenkins global-build-stats plugin REST API.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-58459?
CVE-2025-58459 is a medium-severity missing authorization vulnerability in Jenkins global-build-stats Plugin, published on 3 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins global-build-stats Plugin 322.v22f4db_18e2dd and earlier does not perform permission checks in its REST API endpoints, allowing attackers with Overall/Read permission to enumerate graph IDs.
Weakness: CWE-284
Which versions are affected by CVE-2025-58459?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:global-build-stats. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:global-build-stats Maven | All versions | 347.v32a |
org.jenkins-ci.plugins:global-build-stats Maven | All versions | 347.v32a |
Products include Jenkins Global Build Stats.
How do I fix CVE-2025-58459?
Upgrade org.jenkins-ci.plugins:global-build-stats to 347.v32a or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-58459 being exploited?
There is no known exploitation of CVE-2025-58459 in the wild and no public exploit code.
Sources
Also known as GHSA-gm8g-fh49-qq6v.