Home / containerd / containerd / CVE-2023-25173
CVE-2023-25173: is it exploited, and which versions of containerd are affected and fixed?
CVE-2023-25173 is an incorrect authorization vulnerability in containerd. 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, 15:39 UTC). Affected: github.com/containerd/containerd before 1.5.18 and github.com/containerd/containerd from 1.6.0 before 1.6.18 (GitHub advisory GHSA-hmfx-3pcx-653p). Fixed in 1.5.18 and 1.6.18 (GitHub advisory GHSA-hmfx-3pcx-653p). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-25173?
containerd supplementary groups are not set up properly
containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 where supplementary groups are not set up properly inside a container. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. Downstream applications that use the containerd client library may be affected as well. This bug has been fixed in containerd v1.6.18 and v.1.5.18. Users should update to these versions and recreate containers to resolve this issue. Users who rely on a downstream application that uses containerd's client library should check that application for a separate advisory and instructions. As a workaround, ensure that the `"USER $USERNAME"` Dockerfile instruction is not used. Instead, set the container entrypoint to a value similar to `ENTRYPOINT ["su", "-", "user"]` to allow `su` to properly set up supplementary groups.
From the CVE record by GitHub_M, last updated March 10, 2025, 21:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| containerd | containerd | < 1.5.18 >= 1.6.0, < 1.6.18 |
As the CVE record by GitHub_M states it, last updated March 10, 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/containerd/containerd | < 1.5.18 | 1.5.18 | GHSA-hmfx-3pcx-653p |
| Go | github.com/containerd/containerd | >= 1.6.0, < 1.6.18 | 1.6.18 | GHSA-hmfx-3pcx-653p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 6, 2024. Summary: Supplementary groups are not set up properly in github.com/containerd/containerd.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | containerd | before 1.5.18 | application |
| linuxfoundation | containerd | from 1.6.0 before 1.6.18 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:40 UTC.
How severe is CVE-2023-25173?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | GitHub_M |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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-2023-25173 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 10, 2025)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653p x_refsource_CONFIRM
- https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4 x_refsource_MISC
- https://github.com/containerd/containerd/commit/133f6bb6cd827ce35a5fb279c1ead12b9d21460a x_refsource_MISC
- https://github.com/advisories/GHSA-4wjj-jwc9-2x96 x_refsource_MISC
- https://github.com/advisories/GHSA-fjm8-m7m6-2fjp x_refsource_MISC
- https://github.com/advisories/GHSA-phjr-8j92-w5v7 x_refsource_MISC
- https://github.com/containerd/containerd/releases/tag/v1.5.18 x_refsource_MISC
- https://github.com/containerd/containerd/releases/tag/v1.6.18 x_refsource_MISC
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/ x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
When was it published, and where is the official record?
- Reserved
- February 3, 2023
- Published
- February 16, 2023, 14:09 UTC
- CVE record updated
- March 10, 2025, 21:10 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:40 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect containerd?
- Nov 16, 2026CVE-2026-95839 containerd: uncaught exception (crash)
- Oct 12, 2026CVE-2026-95838 containerd: denial of service (uncontrolled resource consumption)
- Oct 12, 2026CVE-2026-95837 containerd: privilege escalation (improper privilege management)
- Sep 25, 2026CVE-2026-53493 containerd: denial of service (uncontrolled resource consumption)
- Sep 14, 2026CVE-2026-53495 containerd: denial of service (uncontrolled resource consumption)
- Jul 1, 2026CVE-2026-53489 containerd: UNIX Symbolic Link (Symlink) Following
- Jul 1, 2026CVE-2026-53492 containerd: improper input validation
- Jul 1, 2026CVE-2026-50195 containerd: data authenticity not verified
Questions about CVE-2023-25173
Is CVE-2023-25173 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of containerd are affected by CVE-2023-25173?
github.com/containerd/containerd before 1.5.18 and github.com/containerd/containerd from 1.6.0 before 1.6.18, per the GitHub advisory GHSA-hmfx-3pcx-653p. The tables above give every range the sources list.
Which version fixes CVE-2023-25173?
1.5.18 and 1.6.18, per the GitHub advisory GHSA-hmfx-3pcx-653p. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-25173?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-25173?
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.