# CVE-2022-1798: Path Traversal vulnerability in Kubevirt

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-cvx8-ppmc-78hm, GHSA-qv98-3369-g364, GO-2022-1000
- **Published:** 2022-08-18T19:02:18.000Z
- **Modified:** 2026-09-10T03:50:07.601Z

## Who should check

- Projects that depend on Go package kubevirt.io/kubevirt (\>= 0.20.0, \< 0.55.1)
- Anyone running Google LLC Kubevirt \>= unspecified, \< 0.55.1; \>= unspecified, \< 0.56.0

## Description

A path traversal vulnerability in KubeVirt versions up to 0.56 (and 0.55.1) on all platforms allows a user able to configure the kubevirt to read arbitrary files on the host filesystem which are publicly readable or which are readable for UID 107 or GID 107. /proc/self/\<\> is not accessible.

## Affected and fixed versions

- Go `kubevirt.io/kubevirt`: affected \>= 0.20.0, \< 0.55.1; fixed 0.55.1 (osv)
- Google LLC Kubevirt: \>= unspecified, \< 0.55.1; \>= unspecified, \< 0.56.0 (cvelist)

## Mitigation

- Upgrade kubevirt.io/kubevirt to 0.55.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-1798. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-1798.md
Affected: kubevirt.io/kubevirt >= 0.20.0, < 0.55.1
Fixed in: 0.55.1

Steps:
1. Search this machine and project for kubevirt.io/kubevirt (Go), Google LLC Kubevirt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-1798 being exploited?

There is no confirmed exploitation: CVE-2022-1798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-1798?

High: CVSS 8.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-1798?

kubevirt.io/kubevirt \>= 0.20.0, \< 0.55.1.

### Is there a fix for CVE-2022-1798?

Yes. Fixed in 0.55.1. Upgrade kubevirt.io/kubevirt to 0.55.1 or later.

### How do I check if I'm affected by CVE-2022-1798?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/kubevirt/kubevirt/security/advisories/GHSA-qv98-3369-g364>
- vendor: <https://github.com/google/security-research/security/advisories/GHSA-cvx8-ppmc-78hm>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-1798>
- patch: <https://github.com/kubevirt/kubevirt/pull/8198>
- patch: <https://github.com/kubevirt/kubevirt/pull/8268>
- other: <https://github.com/kubevirt/kubevirt>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-1798>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cvx8-ppmc-78hm> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qv98-3369-g364> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-1798> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-1798>
