Home / opencontainers / runc / CVE-2025-52565
CVE-2025-52565: is it exploited, and which versions of opencontainers runc are affected and fixed?
CVE-2025-52565 is an UNIX Symbolic Link (Symlink) Following vulnerability in opencontainers runc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: github.com/opencontainers/runc from 1.0.0-rc3 before 1.2.8, github.com/opencontainers/runc from 1.3.0-rc.1 before 1.3.3 and github.com/opencontainers/runc from 1.4.0-rc.1 before 1.4.0-rc.3 (GitHub advisory GHSA-qw9x-cqr3-wc7r). Fixed in 1.2.8, 1.3.3 and 1.4.0-rc.3 (GitHub advisory GHSA-qw9x-cqr3-wc7r). Severity: High (8.4, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-52565?
container escape due to /dev/console mount and related races
runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of `/dev/pts/$n` to `/dev/console` as configured for all containers that allocate a console). This happens after `pivot_root(2)`, so this cannot be used to write to host files directly -- however, as with CVE-2025-31133, this can load to denial of service of the host or a container breakout by providing the attacker with a writable copy of `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern` (respectively). This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.
From the CVE record by GitHub_M, last updated November 6, 2025, 21:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| opencontainers | runc | >= 1.0.0-rc3, < 1.2.8 >= 1.3.0-rc.1, < 1.3.3 >= 1.4.0-rc.1, < 1.4.0-rc.3 |
As the CVE record by GitHub_M states it, last updated November 6, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/opencontainers/runc | >= 1.0.0-rc3, < 1.2.8 | 1.2.8 | GHSA-qw9x-cqr3-wc7r |
| Go | github.com/opencontainers/runc | >= 1.3.0-rc.1, < 1.3.3 | 1.3.3 | GHSA-qw9x-cqr3-wc7r |
| Go | github.com/opencontainers/runc | >= 1.4.0-rc.1, < 1.4.0-rc.3 | 1.4.0-rc.3 | GHSA-qw9x-cqr3-wc7r |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2025. Summary: runc container escape with malicious config due to /dev/console mount and related races.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | runc | from 1.0.1 before 1.2.8 | application |
| linuxfoundation | runc | from 1.3.0 before 1.3.3 | application |
| linuxfoundation | runc | 1.0.0 | application |
| linuxfoundation | runc | 1.4.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:36 UTC.
How severe is CVE-2025-52565?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-52565 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 6, 2025)
- EPSS
- 0.83% probability of exploitation activity in the next 30 days, percentile 58.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r x_refsource_CONFIRM
- https://github.com/opencontainers/runc/commit/01de9d65dc72f67b256ef03f9bfb795a2bf143b4 x_refsource_MISC
- https://github.com/opencontainers/runc/commit/398955bccb7f20565c224a3064d331c19e422398 x_refsource_MISC
- https://github.com/opencontainers/runc/commit/531ef794e4ecd628006a865ad334a048ee2b4b2e x_refsource_MISC
- https://github.com/opencontainers/runc/commit/9be1dbf4ac67d9840a043ebd2df5c68f36705d1d x_refsource_MISC
- https://github.com/opencontainers/runc/commit/aee7d3fe355dd02939d44155e308ea0052e0d53a x_refsource_MISC
- https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64 x_refsource_MISC
- https://github.com/opencontainers/runc/commit/de87203e625cd7a27141fb5f2ad00a320c69c5e8 x_refsource_MISC
- https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 18, 2025
- Published
- November 6, 2025, 20:02 UTC
- CVE record updated
- November 6, 2025, 21:32 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:36 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect runc?
- Jul 1, 2026CVE-2026-41579 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Nov 6, 2025CVE-2025-52881 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Nov 6, 2025CVE-2025-31133 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Sep 3, 2024CVE-2024-45310 opencontainers runc: race Condition Enabling Link Following
- Jan 31, 2024CVE-2024-21626 opencontainers runc: exposure of File Descriptor to Unintended Control Sphere
- Mar 29, 2023CVE-2023-25809 opencontainers runc: permissions not preserved
- Mar 29, 2023CVE-2023-28642 opencontainers runc: permissions not preserved
- May 17, 2022CVE-2022-29162 opencontainers runc: insecure default permissions
Questions about CVE-2025-52565
Is CVE-2025-52565 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.83% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of opencontainers runc are affected by CVE-2025-52565?
github.com/opencontainers/runc from 1.0.0-rc3 before 1.2.8, github.com/opencontainers/runc from 1.3.0-rc.1 before 1.3.3 and github.com/opencontainers/runc from 1.4.0-rc.1 before 1.4.0-rc.3, per the GitHub advisory GHSA-qw9x-cqr3-wc7r. The tables above give every range the sources list.
Which version fixes CVE-2025-52565?
1.2.8, 1.3.3 and 1.4.0-rc.3, per the GitHub advisory GHSA-qw9x-cqr3-wc7r. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-52565?
High (8.4, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-52565?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.