Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces
Priority LOW 37CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.
Why it matters now
EPSS 0.02067 81st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Kubernetes | Kubernetes ingress-nginx | up to 0.49.0; up to 1.0.0 | — | No fix listed | CNA |
- Kubernetes ingress-nginx VendorKubernetes Affected up to 0.49.0; up to 1.0.0 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:* | before 0.49.1 | Vulnerable | Kubernetes |
| cpe:2.3:a:kubernetes:ingress-nginx:1.0.0:*:*:*:*:*:*:* | 1.0.0 | Vulnerable | Kubernetes |
| cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:* Versions before 0.49.1 Vulnerable ·Kubernetes
- cpe:2.3:a:kubernetes:ingress-nginx:1.0.0:*:*:*:*:*:*:* Versions 1.0.0 Vulnerable ·Kubernetes
- cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2021-25742
- 2026-10-03 Alias added: GHSA-4pp2-3663-mcw8
References
More Kubernetes Ingress-nginx vulnerabilities
- TI-2026-02839 ingress-nginx rewrite-target nginx configuration injection CVSS 3.1HIGH 8.8
- TI-2023-04644 Improper input validation in Kubernetes ingress-nginx CVSS 3.1HIGH 8.8
- TI-2023-04643 Improper input validation in Kubernetes ingress-nginx CVSS 3.1HIGH 8.8
- TI-2022-04479 Improper input validation in Kubernetes ingress-nginx CVSS 3.1HIGH 8.8
- TI-2021-07835 Ingress-nginx path can be pointed to service account token file CVSS 3.1HIGH 8.1
- TI-2021-07836 Ingress-nginx directive injection via annotations CVSS 3.1HIGH 7.6
Sources
- CVE-2021-25742 · CVE Program
- CVE-2021-25742 · NVD
- FIRST EPSS
- GHSA-4pp2-3663-mcw8 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-25742 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences