# runc container escape and denial of service due to arbitrary write gadgets and procfs write redirects

Advisory record · `GHSA-cgrx-mc8f-2prm`

- **Identifiers:** `GHSA-cgrx-mc8f-2prm` · `CVE-2025-52881` · `GO-2025-4098`
- **State:** Confirmed
- **Severity:** CVSS 7.3 High
- **Critical:** No
- **Weakness (CWE):** [CWE-61](https://cwe.mitre.org/data/definitions/61.html) · [CWE-363](https://cwe.mitre.org/data/definitions/363.html)
- **Tags:** [CWE-61](https://agentprime.io/advisories/tag/cwe-61.md) · [CWE-363](https://agentprime.io/advisories/tag/cwe-363.md)
- **Published:** 5 Nov 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Nov 2025, 18:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/opencontainers/runc` (Go): affected `<1.2.8 || >=1.3.0-rc.1, <1.3.3 || >=1.4.0-rc.1, <1.4.0-rc.3`; fixed in `1.2.8`, `1.3.3`, `1.4.0-rc.3`
- `github.com/opencontainers/selinux` (Go): affected `<1.13.0`; fixed in `1.13.0`

## 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

- 7.3 High, CVSS 4.0: `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`, from CNA (GitHub_M)

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

## Timeline

- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-cgrx-mc8f-2prm)

## Sources

- [GitHub Advisory Database: GHSA-cgrx-mc8f-2prm](https://github.com/advisories/GHSA-cgrx-mc8f-2prm)
- [OSV: GHSA-cgrx-mc8f-2prm](https://osv.dev/vulnerability/GHSA-cgrx-mc8f-2prm)
- <https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r>
- <https://github.com/opencontainers/runc/security/advisories/GHSA-fh74-hm69-rqjw>
- <https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm>
- <https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-52881>
- <https://github.com/opencontainers/selinux/pull/237>
- <https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480>
- <https://github.com/opencontainers/runc/commit/ff6fe1324663538167eca8b3d3eec61e1bd4fa51>
- <https://github.com/opencontainers/runc/commit/fdcc9d3cad2f85954a241ccb910a61aaa1ef47f3>
- <https://github.com/opencontainers/runc/commit/ed6b1693b8b3ae7eb0250a7e76fc888cdacf98c1>
- <https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64>
- <https://github.com/opencontainers/runc/commit/d61fd29d854b416feaaf128bf650325cd2182165>

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-cgrx-mc8f-2prm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-cgrx-mc8f-2prm/>. Everything for agents: <https://agentprime.io/llms.txt>.
