CVE-2021-25745Ingress-nginx path can be pointed to service account token file
- 7.6HighCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 32% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By kubernetes
- 16 months later
· 16 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| kubernetesCNA (assigner) | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.6.
Affected products
Kubernetes · Kubernetes ingress-nginx
- affected unspecified – < 1.2.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gok8s.io/ingress-nginxGHSA-pvmg-xgmx-9mxh (opens in a new tab)
References
References3
- https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/kubernetes/ingress-nginx/issues/8502 (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20220609-0006/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-4829 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pvmg-xgmx-9mxh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-25745)Record last updated .