# CVE-2021-25745: Ingress-nginx path can be pointed to service account token file

- Priority: **Routine**
- Reason: Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-06 · Modified: 2024-09-16
- Aliases: GHSA-pvmg-xgmx-9mxh, openSUSE-SU-2024:12031-1
- Record: https://cvemate.com/vulnerability/CVE-2021-25745 · JSON: https://cvemate.com/vulnerability/CVE-2021-25745/json

## Description

```text
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the spec.rules[].http.paths[].path field of an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 1.182%, percentile 68.775%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- k8s.io ingress-nginx (Go): \< 1.2.0
- kubernetes ingress-nginx: \< 1.2.0
- kubernetes kubernetes ingress-nginx: ≥ unspecified, \< 1.2.0
- opensuse rke&distro=openSUSE Tumbleweed (openSUSE): \< 1.3.10-1.1

## References

- <https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc>
- <https://github.com/kubernetes/ingress-nginx/issues/8502>
- <https://security.netapp.com/advisory/ntap-20220609-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25745>
- <https://github.com/kubernetes/ingress-nginx>
- <https://security.netapp.com/advisory/ntap-20220609-0006>
- <https://www.suse.com/security/cve/CVE-2021-25745>

---

Data as of 2026-12-05T11:16:05.630Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
