Bug 2576294

Summary: CVE-2026-126631 openscap: Symlink escape in offline scanning mode allows reading host files outside the scanned root [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: openscapAssignee: Michal Ambroz <rebus>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: evgenyz, jcerny, mburket, mhaicman, mmarhefk, rebus, vpolasek
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["02f9047c-adf6-4883-9aa8-d6ea825cd21d"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2571597    

Description Vladimir Vasilev 2026-11-19 09:40:13 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.