Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 6.1CVE-2026-85518

Openscap: openscap: arbitrary file write via path traversal in source datastream decomposition

Published 21/10/2026 · Updated 24/11/2026 · Red Hat Enterprise Linux 10

Original description

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.

Vendor workaround

Avoid extracting or decomposing untrusted SCAP Source DataStream (SDS) files. When processing externally supplied datastreams is necessary, perform the operation inside an isolated directory using a dedicated unprivileged user account or container sandbox with strictly bounded write privileges.

Caveat: Operating under an unprivileged user confines rogue file creation to that user's access scope, but does not prevent file corruption within directories accessible to that account.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support
Red Hat Red Hat Hardened Images

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Attack vector
Local
Attack complexity
Low
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
None
Integrity
High impact
Availability
Low impact

Weakness type (CWE)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.