# Restarting a run with revoked script approval allowed by Jenkins Pipeline: Declarative Plugin

Advisory record · `GHSA-p2qq-c693-q53w`

- **Identifiers:** `GHSA-p2qq-c693-q53w` · `CVE-2024-52551`
- **State:** Confirmed
- **Severity:** CVSS 8.0 High
- **Critical:** No
- **Weakness (CWE):** [CWE-276](https://cwe.mitre.org/data/definitions/276.html) · [CWE-285](https://cwe.mitre.org/data/definitions/285.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 13 Nov 2024
- **Updated:** 14 Nov 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Nov 2024, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.jenkinsci.plugins:pipeline-model-parent` (Maven): affected `<2.2218.v56d0cda`; fixed in `2.2218.v56d0cda`

## Machine-written summary

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

> Jenkins Pipeline: Declarative Plugin (Maven package org.jenkinsci.plugins:pipeline-model-parent) versions 2.2214.vb_b_34b_2ea_9b_83 and earlier are affected. An attacker with Item/Build permission can restart a previous build whose Jenkinsfile script is no longer approved, bypassing script approval. Upgrade to version 2.2218.v56d0cda or later, which refuses to restart such builds.

Written 8 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

- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0059, the 48th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-p2qq-c693-q53w)

## Sources

- [GitHub Advisory Database: GHSA-p2qq-c693-q53w](https://github.com/advisories/GHSA-p2qq-c693-q53w)
- [OSV: GHSA-p2qq-c693-q53w](https://osv.dev/vulnerability/GHSA-p2qq-c693-q53w)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52551>
- <https://github.com/jenkinsci/pipeline-model-definition-plugin>
- <https://www.jenkins.io/security/advisory/2024-11-13/#SECURITY-3361>

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

---

The web page: <https://agentprime.io/advisories/GHSA-p2qq-c693-q53w/>. Everything for agents: <https://agentprime.io/llms.txt>.
