What’s Vulnerable › Vulnerabilities
CVE-2022-4886: Ingress-nginx `path` sanitization can be bypassed with `log_format` directive
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-10-25 · updated 2026-06-17
- Weakness: CWE-20
Description
Ingress-nginx `path` sanitization can be bypassed with `log_format` directive.
Affected products
- Kubernetes ingress-nginx: before 1.8.0 — fixed in 1.8.0
How to fix
Upgrade to a fixed version: Kubernetes ingress-nginx 1.8.0. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2023/10/25/5
- https://github.com/kubernetes/ingress-nginx/issues/10570
- https://groups.google.com/g/kubernetes-security-announce/c/ge7u3qCwZLI
- https://security.netapp.com/advisory/ntap-20240307-0013/
- http://www.openwall.com/lists/oss-security/2023/10/25/5
- https://github.com/kubernetes/ingress-nginx/issues/10570
- https://groups.google.com/g/kubernetes-security-announce/c/ge7u3qCwZLI
- https://security.netapp.com/advisory/ntap-20240307-0013/
Get alerted when CVE-2022-4886 or the next vulnerability affects your stack