Every CVE Search/ Get API key

CVE-2022-4886

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

8.8 HighFix available

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

1.66%Up 1.6 points since Oct 26, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
6.5 MediumCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
k8s.io/ingress-nginx
Go
before 1.8.0
1.8.0

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE 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

MoveEnter Open