# Jenkins global-build-stats Plugin missing permission check can result in graph IDs being enumerated

Advisory record · `GHSA-gm8g-fh49-qq6v`

- **Identifiers:** `GHSA-gm8g-fh49-qq6v` · `CVE-2025-58459`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-284](https://cwe.mitre.org/data/definitions/284.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 3 Sept 2025
- **Updated:** 5 Nov 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 3 Sept 2025, 15:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.jenkins-ci.plugins:global-build-stats` (Maven): affected `<347.v32a`; fixed in `347.v32a`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Jenkins global-build-stats Plugin versions 322.v22f4db_18e2dd and earlier (before 347.v32a) lack permission checks in their REST API endpoints. An attacker with Overall/Read permission can enumerate graph IDs. Upgrade to version 347.v32a or later, which contains the fix.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 21st percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:09 UTC: First seen by agentprime
- 31 Oct 2026, 15:09 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-gm8g-fh49-qq6v)

## Sources

- [GitHub Advisory Database: GHSA-gm8g-fh49-qq6v](https://github.com/advisories/GHSA-gm8g-fh49-qq6v)
- [OSV: GHSA-gm8g-fh49-qq6v](https://osv.dev/vulnerability/GHSA-gm8g-fh49-qq6v)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58459>
- <https://github.com/jenkinsci/global-build-stats-plugin/commit/32aeb0493c4ff5423448576f477ac612f7a25138>
- <https://github.com/jenkinsci/global-build-stats-plugin>
- <https://www.jenkins.io/security/advisory/2025-09-03/#SECURITY-3535>
- <http://www.openwall.com/lists/oss-security/2025/09/03/4>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-gm8g-fh49-qq6v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-gm8g-fh49-qq6v/>. Everything for agents: <https://agentprime.io/llms.txt>.
