CVE-2026-85518

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

Published Oct 21, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenSCAP fails to verify relative file‑path attributes when decomposing an SDS file, allowing a crafted stream with directory traversal sequences to create or overwrite files outside the intended extraction directory. The resulting files are written with the permissions of the executing process, enabling an attacker to place or modify arbitrary files, potentially facilitating privilege escalation or compromising system integrity.

Affected Systems

Red Hat Enterprise Linux 10,6,7,8,9 and Red Hat Hardened Images that include the vulnerable OpenSCAP component.

Risk and Exploitability

The CVSS score is 6.1, indicating medium severity. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog, implying no widespread exploitation yet. The flaw requires the attacker to supply or trick a user or automated system into decomposing a crafted SDS file, so local influence is needed. If the decomposing process runs with elevated privileges, the attacker can write files with system rights, potentially leading to full system compromise; otherwise the damage is limited to the rights of the user performing the extraction.

Remediation

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.


OpenCVE Recommended Actions

  • Run OpenSCAP in an isolated, unprivileged container or user account with write permissions strictly limited to the intended extraction directory.
  • Avoid or restrict decomposing untrusted SCAP Source DataStream files, and only process trusted inputs.
  • Apply the latest Red Hat OpenSCAP update (or patch) that removes the path‑traversal flaw.

Generated by OpenCVE AI on October 22, 2026 at 07:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat rhel E4s
Redhat rhel Eus
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:enterprise_linux:8::crb
cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/a:redhat:rhel_eus:9.6::crb
cpe:/a:redhat:rhel_eus:9.8::appstream
cpe:/a:redhat:rhel_eus:9.8::crb
cpe:/o:redhat:enterprise_linux:10.3
cpe:/o:redhat:enterprise_linux_eus:10.0
cpe:/o:redhat:enterprise_linux_eus:10.2
Vendors & Products Redhat enterprise Linux Eus
Redhat rhel E4s
Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Openscap
Openscap openscap
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Vendors & Products Openscap
Openscap openscap
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Openscap: openscap: arbitrary file write via path traversal in source datastream decomposition
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-22
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 10:10 PM
Reserved
Sep 4, 2026, 6:10 AM
Status
Awaiting Analysis
Published
Oct 21, 2026, 8:17 PM
Modified
Nov 24, 2026, 10:18 PM
Severity
Moderate
Public date
Oct 21, 2026, 3:04 PM