# CVE-2021-20188: Improper Authorization in github.com/containers/libpod

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 11% of CVEs (2026-11-30)
- Published: 2021-02-11T15:31:47.000Z
- Modified: 2026-06-17T03:33:26.490Z
- Also known as: GHSA-9h63-7qf6-mv6r, GO-2022-0641
- Weaknesses: CWE-863
- Assigned by: redhat

## Description

A flaw was found in podman before 1.7.0. File permissions for non-root users running in a privileged container are not correctly checked. This flaw can be abused by a low-privileged user inside the container to access any other file in the container, even if owned by the root user inside the container. It does not allow to directly escape the container, though being a privileged container means that a lot of security features are disabled when running the container. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

(As written by CVE List.)

## Affected

- podman: podman 1.7.0
- github.com/containers/libpod (Go): before 1.7.0
- podman_project podman: before 1.7.0
- redhat openshift_container_platform: 3.11
- redhat enterprise_linux: 7.0; 8.0

## Every score

- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1915734> (issue-tracking, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20188> (advisory)
- <https://github.com/containers/podman/commit/2c7b579fe7328dc6db48bdaf60d0ddd9136b1e24> (web)
- <https://github.com/containers/podman/commit/c8bd4746151e6ae37d49c4688f2f64e03db429fc> (web)
- <https://github.com/containers/podman/commit/dcf3c742b1ac4d641d66810113f3d17441a412f4> (web)
- <https://github.com/advisories/GHSA-9h63-7qf6-mv6r> (advisory)

## Sources

- CVE List: [CVE-2021-20188](https://www.cve.org/CVERecord?id=CVE-2021-20188), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9h63-7qf6-mv6r](https://github.com/advisories/GHSA-9h63-7qf6-mv6r), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0641](https://pkg.go.dev/vuln/GO-2022-0641), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-20188](https://nvd.nist.gov/vuln/detail/CVE-2021-20188), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20188 · Whole record: https://cve.day/CVE-2021-20188.json · Rebuilt by cve.day 2026-11-25T22:57:59.903Z
