CVE-2026-126631Openscap: symlink escape in offline scanning mode allows reading host files outside the…
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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | openscap | Fix pending | UBUNTU-CVE-2026-126631 | |
| Ubuntu 26.04 | openscap | Under investigation | UBUNTU-CVE-2026-126631 | |
| Ubuntu 24.04 | openscap | Under investigation | UBUNTU-CVE-2026-126631 | |
| Ubuntu 22.04 | openscap | Under investigation | UBUNTU-CVE-2026-126631 | |
| Ubuntu 20.04 | openscap | Fix pending | UBUNTU-CVE-2026-126631 | |
| Ubuntu 18.04 | openscap | Fix pending | UBUNTU-CVE-2026-126631 | |
| Ubuntu 16.04 | openscap | Fix pending | UBUNTU-CVE-2026-126631 | |
| Debian 14 | openscap | Fix pending | DEBIAN-CVE-2026-126631 | |
| Debian 13 | openscap | Fix pending | DEBIAN-CVE-2026-126631 | |
| Debian 12 | openscap | Fix pending | DEBIAN-CVE-2026-126631 | |
| Red Hat Enterprise Linux 10 | openscap | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | openscap-engine-sce | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | openscap-scanner | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | openscap-utils | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap-engine-sce | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap-engine-sce-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap-python3 | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap-scanner | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | openscap-utils | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap-engine-sce | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap-engine-sce-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap-python3 | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap-scanner | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | openscap-utils | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-containers | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-engine-sce | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-engine-sce-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-extra-probes | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-python | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-scanner | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-selinux | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | openscap-utils | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | openscap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-content | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-engine-sce | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-engine-sce-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-extra-probes | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-scanner | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openscap-utils | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
Workaround: Avoid executing offline OpenSCAP scans against untrusted container or virtual machine filesystem images directly on sensitive host systems. If inspecting untrusted images is required, perform scans within an isolated sandbox environment, such as a disposable container or virtual machine without access to confidential host files or secrets. Caveats: Utilizing isolated scanning environments introduces operational overhead and requires managing dedicated, ephemeral scan instances.
References
- https://access.redhat.com/security/cve/CVE-2026-126631
- https://bugzilla.redhat.com/show_bug.cgi?id=2571597
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.