Bug 2571597 (CVE-2026-126631) - CVE-2026-126631 openscap: Symlink escape in offline scanning mode allows reading host files outside the scanned root
Summary: CVE-2026-126631 openscap: Symlink escape in offline scanning mode allows read...
Keywords:
Status: NEW
Alias: CVE-2026-126631
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2576294
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-11 08:57 UTC by OSIDB Bzimport
Modified: 2026-11-19 09:40 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-11 08:57:40 UTC
A flaw was found in OpenSCAP's offline scanning mode. In PROBE_OFFLINE_OWN mode, the OVAL file probes only prefix target paths with OSCAP_PROBE_ROOT instead of confining file access to the scanned root, and oval_fts follows symlinks without checking that the resolved target stays within it. When scanning an untrusted filesystem image, such as a container image or VM disk, an absolute symlink inside the image is resolved against the host's root filesystem. A crafted image can therefore make oscap read host files and include their contents in the scan results, or manipulate compliance results. When offline scans run with elevated privileges, as is typical, this can disclose host files to anyone able to read the scan results.


Note You need to log in before you can comment on or make changes to this bug.