Database/Container, Kubernetes & orchestration
ingress-nginx: `log_format` directive bypasses path sanitization
CVSS 8.8CVE-2022-4886Container, Kubernetes & orchestrationcurated
Impact
log_format directive bypasses path sanitization; read arbitrary files including the SA token
Who can reach it
Cluster user who can create Ingress objects
What to do
Rolling controller upgrade; scope the controller's RBAC down from cluster-wide secret read
References
Related entries
- ingress-nginx: Annotation validation bypass reaching config injection and cluster-wide secret accessCVE-2024-7646 · ingress-nginxHigh
- ingress-nginx: Config injection via unsanitized auth-tls-match-cn annotationCVE-2025-1097 · ingress-nginxHigh
- ingress-nginx: Config injection via unsanitized mirror annotationsCVE-2025-1098 · ingress-nginxHigh
- ingress-nginx: Config injection via the auth-proxy-set-headers annotationCVE-2025-15566 · ingress-nginxHigh
- ingress-nginx: Config injection via unsanitized auth-url annotation (part of the IngressNightmare set)CVE-2025-24514 · ingress-nginxHigh
- ingress-nginx: Config injection via the auth-method annotationCVE-2026-1580 · ingress-nginxHigh
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.