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

- Severity: High 8.8 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.66%, higher than 77% of CVEs (2026-12-02)
- Published: 2023-10-25T19:18:45.982Z
- Modified: 2026-08-07T08:12:28.081Z
- Also known as: GHSA-gvrm-w2f9-f77q
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: kubernetes

## Description

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

(As written by CVE List.)

## Affected

- Kubernetes ingress-nginx: before 1.8.0; 1.8.0
- k8s.io/ingress-nginx (Go): before 1.8.0

## Every score

- kubernetes: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/kubernetes/ingress-nginx/issues/10570> (issue-tracking, mitigation, vendor-advisory, web)
- <https://groups.google.com/g/kubernetes-security-announce/c/ge7u3qCwZLI> (mailing-list, mitigation, web)
- <http://www.openwall.com/lists/oss-security/2023/10/25/5> (mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240307-0013/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4886> (advisory)
- <https://github.com/kubernetes/ingress-nginx> (package)
- <https://security.netapp.com/advisory/ntap-20240307-0013> (web)

## Sources

- CVE List: [CVE-2022-4886](https://www.cve.org/CVERecord?id=CVE-2022-4886), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-gvrm-w2f9-f77q](https://github.com/advisories/GHSA-gvrm-w2f9-f77q), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2022-4886](https://nvd.nist.gov/vuln/detail/CVE-2022-4886), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4886 · Whole record: https://cve.day/CVE-2022-4886.json · Rebuilt by cve.day 2026-11-25T22:58:19.650Z
