Red Hat OpenSCAP Path Traversal Enables Unauthorized File Writes During SDS Decomposition

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-85518?

CVE-2026-85518 is a vulnerability classified as Improper Limitation of a Pathname to a Restricted Directory, affecting Red Hat Hardened Images, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, and 2 more products. This vulnerability is rated Medium, with a CVSS score of 6.1. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

A flaw was found in OpenSCAP. When decomposing a Source DataStream (SDS) file, the application does not properly validate relative file path attributes, leading to a path traversal vulnerability. An attacker can exploit this flaw by tricking a user or automated system into decomposing a crafted datastream containing directory traversal sequences. Successful exploitation allows unauthorized file creation or modification outside the intended target directory with the permissions of the executing process.

Affected products and scope

  • Red Hat Hardened Images: The normalized record marks openscap-main as affected. Red Hat CSAF and the advisory confirm fixed OpenSCAP RPMs including openscap-1.4.5-2.1.hum1, along with related OpenSCAP packages for the published architectures. This fixed package must not be extended to other Red Hat branches without branch-specific evidence.
  • Red Hat Enterprise Linux 7: The normalized record marks openscap as affected. Red Hat CSAF records Fix deferred and does not specify a fixed release.
  • Red Hat Enterprise Linux 8: The normalized record marks openscap as affected. Red Hat CSAF records Fix deferred and does not specify a fixed release.
  • Red Hat Enterprise Linux 9: The normalized record marks openscap as affected. Red Hat CSAF records Affected and does not specify a fixed release.
  • Red Hat Enterprise Linux 10: The normalized record marks openscap as affected. Red Hat CSAF records Affected and does not specify a fixed release.
  • Red Hat Enterprise Linux 6: Red Hat CSAF lists OpenSCAP packages as out of support scope with no fix planned. This branch was not present in the initial affected product list.
  • Fedora 43: Red Hat Bugzilla records a fix in openscap-1.4.6-1.fc43.
  • Fedora 44: Red Hat Bugzilla records a fix in openscap-1.4.6-1.fc44.
  • Fedora Rawhide: Red Hat Bugzilla records a fix in openscap-1.4.6-1.fc46.

The available sources do not provide an open-ended affected or fixed range for these branches. Release lines or parallel packages not listed here require separate verification.

Technical details

The flaw is in OpenSCAP's Source DataStream decomposition workflow. A relative file path attribute supplied by the SDS can contain traversal sequences, but the application does not adequately verify that the resolved output remains beneath the intended target directory. When the decomposition workflow writes component files, a crafted path can therefore cause OpenSCAP to create or modify files outside the expected output tree with the permissions of the executing process. Exploitation requires an attacker-supplied SDS and a user or automated workflow that processes it through a file-writing decomposition path. The confirmed scope is the SDS decomposition workflow; the available evidence does not establish broader impact on unrelated OpenSCAP functionality or direct data disclosure.

Exploitability

Exploitation requires a crafted SDS to reach a local or locally invoked decomposition workflow. The attacker does not need an account on the target system to prepare the malicious datastream, but a user or automated application must process it. The established path is not a direct unauthenticated remote network attack. The supplied record marks a public exploit as available, but the reviewed sources do not identify a specific exploit artifact, campaign, or observed abuse. The attack is straightforward once the required SDS-processing workflow is available.

Technical impact

The flaw allows attacker-controlled file writes outside the intended decomposition directory. The primary technical consequence is loss of filesystem integrity, including file creation, overwrite, or corruption within the write permissions of the OpenSCAP process. Direct data disclosure is not established, and the available evidence describes availability consequences only as possible disruption or corruption caused by misplaced writes. The record does not show that the flaw by itself escalates privileges or escapes the process's authority. Actual organisational impact depends on the directories writable by the workflow and whether it processes untrusted SDS content.

Business impact

  • Workflows that process untrusted SDS files may create or overwrite files outside their expected output directory.
  • If the OpenSCAP process has broad write access, files in other directories accessible to that process may be changed or corrupted. This is bounded by process permissions and is not evidence of privilege escalation.
  • Compliance results, intermediate artifacts, or operational data may be altered, depending on the locations to which the workflow can write.
  • Red Hat describes typical OpenSCAP use on Red Hat Enterprise Linux as evaluation against verified security profiles, so exposure is more concentrated in workflows that explicitly decompose untrusted third-party datastreams.

Remediation

  1. Update by product branch. For Red Hat Hardened Images, deploy the fixed OpenSCAP RPMs in 1.4.5-2.1.hum1. For Fedora 43, Fedora 44, and Fedora Rawhide, deploy the recorded fixes openscap-1.4.6-1.fc43, openscap-1.4.6-1.fc44, and openscap-1.4.6-1.fc46, respectively.
  2. For Red Hat Enterprise Linux 7, 8, 9, and 10, monitor for and apply the Red Hat update for each branch when available. The current evidence does not confirm a fixed release for these branches, so the Hardened Images or Fedora fixes must not be treated as proof that RHEL is fixed.
  3. Until the applicable fix is installed, avoid decomposing or extracting untrusted SDS files. If processing is required, use an isolated directory with a dedicated unprivileged account or container sandbox and tightly bounded write permissions.
  4. Validate SDS-derived paths and reject values that can escape the intended base directory before invoking the decomposition workflow. Apply this control in the SDS processing layer or a wrapper if the package fix is not yet available.
  5. Remember that running as an unprivileged user only limits writes to that user's access scope. It does not prevent corruption of other files that the account can already modify.

Detection

  • Inventory systems and images running OpenSCAP, and identify hosts or jobs that perform SDS decomposition and write components to disk.
  • Review externally supplied or untrusted SDS files, especially relative path attributes such as catalog/uri/@name that contain traversal components.
  • Inspect the decomposition target and nearby directories for files or directories created outside the expected output tree while the workflow runs.
  • Compare package inventory with the applicable Red Hat or Fedora advisory and update status for each release branch. Do not treat a fix in one branch as proof that parallel branches are fixed.
  • Identify jobs, services, or applications that invoke OpenSCAP on untrusted datastreams. No product-specific log signature or IOC is established in the available record, so the absence of suspicious logs does not demonstrate safety.
Sources (15)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.