# CVE-2022-4886: Ingress-nginx \`path\` sanitization can be bypassed with \`log\_format\` directive

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-25 · Modified: 2025-02-13
- Aliases: GHSA-gvrm-w2f9-f77q
- Record: https://cvemate.com/vulnerability/CVE-2022-4886 · JSON: https://cvemate.com/vulnerability/CVE-2022-4886/json

## Description

```text
Ingress-nginx `path` sanitization can be bypassed with `log_format` directive.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.663%, percentile 77.526%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- k8s.io ingress-nginx (Go): \< 1.8.0
- kubernetes ingress-nginx: \< 1.8.0

## References

- <https://github.com/kubernetes/ingress-nginx/issues/10570>
- <https://groups.google.com/g/kubernetes-security-announce/c/ge7u3qCwZLI>
- <http://www.openwall.com/lists/oss-security/2023/10/25/5>
- <https://security.netapp.com/advisory/ntap-20240307-0013/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4886>
- <https://github.com/kubernetes/ingress-nginx>
- <https://security.netapp.com/advisory/ntap-20240307-0013>

---

Data as of 2026-12-05T11:10:46.374Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
