Openscap: symlink escape in offline scanning mode allows reading host files outside the scanned root
- CVE-2026-126631
- GHSA-8gc8-v9hm-mgp8
- EUVD-2026-129506
Description
A flaw was found in OpenSCAP. This vulnerability allows for information disclosure when performing offline scans of untrusted filesystem images, such as container images or virtual machine (VM) disks. Because the scanner does not properly restrict symbolic link (symlink) resolution to the target image's root directory, an attacker can supply a crafted image containing links pointing to files on the host system. When the scan runs, typically with elevated privileges, OpenSCAP follows these links to read sensitive host files and expose their contents in the scan report or manipulate compliance results.
Text from the CVE.org record.
Recommendation
Cvelo has no version information for this record. Check the vendor advisory.
Affected
Red Hat Red Hat Enterprise Linux 10
No versions listed
Red Hat Red Hat Enterprise Linux 6
No versions listed
Red Hat Red Hat Enterprise Linux 7
No versions listed
Red Hat Red Hat Enterprise Linux 8
No versions listed
Red Hat Red Hat Enterprise Linux 9
No versions listed
Red Hat Red Hat Hardened Images
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.