CVE Database›Document archive›CVE-2026-85518

CVE-2026-85518

openscap: openscap: Arbitrary file write via path traversal in Source DataStream decomposition

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · October 22, 2026

Updated · November 4, 2026

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.

Statement

This vulnerability is rated as Moderate impact because exploitation requires an administrator or automated workflow to explicitly decompose a crafted, untrusted Source DataStream file. Typical OpenSCAP usage in Red Hat Enterprise Linux focuses on evaluating installed systems against verified security profiles, rather than unpacking arbitrary third-party datastreams. Furthermore, any directory creation or file overwrite resulting from path traversal is strictly bounded by the filesystem permissions of the executing process.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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.

CVSS / CWE

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

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