CVE-2022-4886: Ingress-nginx `path` sanitization can be bypassed with `log_format` directive.
CVE-2022-4886 is a high-severity flaw (CVSS 8.8) affecting ingress-nginx. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Ingress-nginx `path` sanitization can be bypassed with `log_format` directive.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.8% (top 22%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2023-10-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-4886?
ingress-nginx: upgrade to 1.8.0. Exact commands for each OS are on this page.
Is CVE-2022-4886 being exploited?
CVE-2022-4886 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-4886 affect?
CVE-2022-4886 affects ingress-nginx. Severity is high (CVSS 8.8). Ingress-nginx `path` sanitization can be bypassed with `log_format` directive.
How urgent is CVE-2022-4886?
Priority 55/100. High severity; On your watchlist
Software pages
nginx vulnerabilities · Kubernetes vulnerabilities
Related CVEs
- CVE-2026-3288 HIGH 8.8 UPGRADE A security issue was discovered in ingress-nginx where the `nginx.ingress.kubernetes.io/rewrite-target` Ingres
- CVE-2023-5044 HIGH 7.6 UPGRADE Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.
- CVE-2023-5043 HIGH 7.6 UPGRADE Ingress nginx annotation injection causes arbitrary command execution.
- CVE-2021-25748 HIGH 7.6 UPGRADE A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can us
- CVE-2021-25742 HIGH 7.6 UPGRADE MITIGATE A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can us