Read the docs
TI-2021-07835 Aliases CVE-2021-25745GHSA-pvmg-xgmx-9mxh

Ingress-nginx path can be pointed to service account token file

Priority LOW 38CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.01182 67th percentileScored 2026-11-07
Fix Fixed Kubernetes ingress-nginx (Kubernetes): 1.2.0k8s.io/ingress-nginx (Go): 1.2.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
KubernetesKubernetes ingress-nginxbefore 1.2.01.2.0Patch availableCNA
—k8s.io/ingress-nginx (Go)before 1.2.01.2.0Patch availableGHSA-pvmg-xgmx-9mxh
  • Kubernetes ingress-nginx VendorKubernetes Affected before 1.2.0 Fixed in 1.2.0 Patch available CNA
  • k8s.io/ingress-nginx (Go) Vendor— Affected before 1.2.0 Fixed in 1.2.0 Patch available GHSA-pvmg-xgmx-9mxh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*before 1.2.0VulnerableKubernetes
  • cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:* Versions before 1.2.0 Vulnerable ·Kubernetes

Remediation

  • Fix · CNA Kubernetes ingress-nginx (Kubernetes) Fixed in 1.2.0
  • Fix · GHSA-pvmg-xgmx-9mxh k8s.io/ingress-nginx (Go) Fixed in 1.2.0 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Kubernetes ingress-nginx 1.2.0

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2021-07836 Ingress-nginx directive injection via annotationsPriority LOW 36

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Advanced Cluster Management for Kubernetes 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-25745
  2. 2026-10-03 Alias added: GHSA-pvmg-xgmx-9mxh

References

  • 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-07833 Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces CVSS 3.1HIGH 7.6
  • TI-2021-07836 Ingress-nginx directive injection via annotations CVSS 3.1HIGH 7.6
See all 8 →

Sources