# Jenkins Missing Permission Check

Advisory record · `GHSA-wr6w-jxg7-qpfh`

- **Identifiers:** `GHSA-wr6w-jxg7-qpfh` · `BIT-jenkins-2025-31721` · `CVE-2025-31721`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-862](https://cwe.mitre.org/data/definitions/862.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 2 Apr 2025
- **Updated:** 7 Aug 2026
- **Reviewed by a person:** No

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

## Affected packages

- `org.jenkins-ci.main:jenkins-core` (Maven): affected `>=2.500, <2.504 || <2.492.3`; fixed in `2.504`, `2.492.3`

## Machine-written summary

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

> Jenkins core (org.jenkins-ci.main:jenkins-core) versions from 2.500 up to but not including 2.504, and versions before 2.492.3, are affected. An attacker who has the Computer/Create permission but not Computer/Configure can copy an agent because an HTTP endpoint lacks a permission check, which exposes encrypted secrets in the agent's configuration. Upgrade to Jenkins 2.504 or LTS 2.492.3.

Written 2 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.0039, the 33rd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:19 UTC: First seen by agentprime
- 31 Oct 2026, 14:19 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-wr6w-jxg7-qpfh)

## Sources

- [GitHub Advisory Database: GHSA-wr6w-jxg7-qpfh](https://github.com/advisories/GHSA-wr6w-jxg7-qpfh)
- [OSV: GHSA-wr6w-jxg7-qpfh](https://osv.dev/vulnerability/GHSA-wr6w-jxg7-qpfh)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-31721>
- <https://github.com/jenkinsci/jenkins/commit/b3651b475302e8dba20fc63c1ff89d144ec652f0>
- <https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3513>

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-wr6w-jxg7-qpfh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wr6w-jxg7-qpfh/>. Everything for agents: <https://agentprime.io/llms.txt>.
