Bug 2576294 - CVE-2026-126631 openscap: Symlink escape in offline scanning mode allows reading host files outside the scanned root [fedora-all]
Summary: CVE-2026-126631 openscap: Symlink escape in offline scanning mode allows read...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: openscap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michal Ambroz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["02f9047c-adf6-4883-9aa8-d...
Depends On:
Blocks: CVE-2026-126631
TreeView+ depends on / blocked
 
Reported: 2026-11-19 09:40 UTC by Vladimir Vasilev
Modified: 2026-11-19 09:40 UTC (History)
7 users (show)

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


Attachments (Terms of Use)

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.


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