# CVE-2024-3177: Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin

- Severity: Low 2.7 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`
- 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): 2.17%, higher than 83% of CVEs (2026-11-30)
- Published: 2024-04-22T23:00:39.702Z
- Modified: 2026-09-10T03:50:12.868Z
- Also known as: GHSA-pxhw-596r-rwq5, GO-2024-2746
- Related: CGA-364c-643x-x3v9
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: kubernetes

## Description

A security issue was discovered in Kubernetes where users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using containers, init containers, and ephemeral containers with the envFrom field populated. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the kubernetes.io/enforce-mountable-secrets annotation are used together with containers, init containers, and ephemeral containers with the envFrom field populated.

(As written by CVE List.)

## Affected

- Kubernetes Kubernetes: up to 1.27.12; v1.28.0 - v1.28.8; v1.29.0 - v1.29.3; 1.29.0
- k8s.io/kubernetes (Go): before 1.27.13; from 1.29.0 before 1.29.4; from 1.28.0 before 1.28.9

## Every score

- kubernetes: CVSS:3.1 2.7 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.7 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://groups.google.com/g/kubernetes-security-announce/c/JxjHf7fkVd8/m/oVCzypyOAQAJ> (mailing-list, web)
- <https://github.com/kubernetes/kubernetes/issues/124336> (issue-tracking, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WL54MTLGMTBZZO5PYGEGEBERTMADC4WC/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRYFHIQ6XRKRYBI2F5UESH67BJBQXUPT/>
- <http://www.openwall.com/lists/oss-security/2024/04/16/4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-3177> (advisory)
- <https://github.com/kubernetes/kubernetes/commit/7c861b1ecad97e1ab9332c970c9294a72065111a> (fix, web)
- <https://github.com/kubernetes/kubernetes/commit/a619ca3fd3ee3c222d9df784622020de398076d2> (web)
- <https://github.com/kubernetes/kubernetes/commit/f9fb6cf52a769a599a45e700375115c2ecc86e9b> (web)
- <https://github.com/advisories/GHSA-pxhw-596r-rwq5> (advisory)
- <https://github.com/kubernetes/kubernetes> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRYFHIQ6XRKRYBI2F5UESH67BJBQXUPT> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WL54MTLGMTBZZO5PYGEGEBERTMADC4WC> (web)
- <https://pkg.go.dev/vuln/GO-2024-2746> (web)

## Sources

- CVE List: [CVE-2024-3177](https://www.cve.org/CVERecord?id=CVE-2024-3177), CVE Terms of Use, modified 2024-09-10
- GitHub Advisory Database: [GHSA-pxhw-596r-rwq5](https://github.com/advisories/GHSA-pxhw-596r-rwq5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2746](https://pkg.go.dev/vuln/GO-2024-2746), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-3177](https://nvd.nist.gov/vuln/detail/CVE-2024-3177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3177 · Whole record: https://cve.day/CVE-2024-3177.json · Rebuilt by cve.day 2026-11-25T22:58:39.520Z
