CVE-2021-25746Kubernetes Ingress-nginx
High 7.1
Follow: this CVE · Kubernetes · Kubernetes Ingress-nginx We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- Yes
- Published
- May 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
What happens
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in 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.
What to do
- Apply the vendor's security update for Ingress-nginx.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kubernetes | ingress-nginx | < 1.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Mitigation Third Party Advisory
- groups.google.com Issue Tracking Mitigation Third Party Advisory
- security.netapp.com Third Party Advisory