CVE-2022-4886
Ingress-nginx `path` sanitization can be bypassed with `log_format` directive
Ingress-nginx path sanitization can be bypassed with log_format directive.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.8
Ingress-nginx `path` sanitization can be bypassed with `log_format` directive
Ingress-nginx path sanitization can be bypassed with log_format directive.
- Record
CVE-2022-4886- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2023-2743
8.8
Ingress-nginx path sanitization can be bypassed with log_format directive.
- Record
EUVD-2023-2743- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gvrm-w2f9-f77q
8.8
Ingress-nginx path sanitization can be bypassed
Ingress-nginx path sanitization can be bypassed with log_format directive.
- Record
GHSA-gvrm-w2f9-f77q- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
8.8
Ingress-nginx path sanitization can be bypassed with log_format directive.
- Record
CVE-2022-4886- 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 - 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
8.8
Ingress-nginx `path` sanitization can be bypassed with `log_format` directive
Ingress-nginx path sanitization can be bypassed with log_format directive.
- Record
CVE-2022-4886- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVGHSA-gvrm-w2f9-f77q
8.8
Ingress-nginx path sanitization can be bypassed
Ingress-nginx path sanitization can be bypassed with log_format directive.
- Record
GHSA-gvrm-w2f9-f77q- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
k8s.io/ingress-nginxGo |
before 1.8.0 | 1.8.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-4886 is a high vulnerability (CVSS 8.8) in Kubernetes Ingress-nginx, published October 25, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.66%, the 76th percentile. Fixed in k8s.io/ingress-nginx 1.8.0.
References
github.com/kubernetes/ingress-nginx/issues/10570
groups.google.com/g/kubernetes-security-announce/c/ge7u3qCwZLI
openwall.com/lists/oss-security/2023/10/25/5
security.netapp.com/advisory/ntap-20240307-0013
nvd.nist.gov/vuln/detail/CVE-2022-4886
github.com/advisories/GHSA-gvrm-w2f9-f77q
github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4886.json
github.com/kubernetes/ingress-nginx