CVE-2026-6855

Instructlab: instructlab: path traversal allows arbitrary directory creation and file write

Published Apr 22, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
A flaw was found in InstructLab. A local attacker could exploit a path traversal vulnerability in the chat session handler by manipulating the `logs_dir` parameter. This allows the attacker to create new directories and write files to arbitrary locations on the system, potentially leading to unauthorized data modification or disclosure.

Analysis

AI-generated

Technical impact

The vulnerability resides in InstructLab’s chat session handler where a local attacker can manipulate the logs_dir parameter to perform a path traversal. This flaw allows creation of new directories and writing files to any location on the system, potentially leading to unauthorized data modification or disclosure. The weakness is characterized as CWE-22 (Path Traversal).

Affected Systems

The affected product is Red Hat Enterprise Linux AI (RHEL AI) version 3.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate severity; the EPSS score is currently unavailable and the issue is not listed in CISA KEV. The likely attack vector is local; an attacker with sufficient privileges to access the chat session handler can supply crafted logs_dir values to cause arbitrary file write or directory creation. No official patch or workaround is available at this time, so the risk persists until a vendor fix is released or mitigations are applied.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Upgrade to a patched version of InstructLab or RHEL AI when such a release becomes available.
  • Restrict access to the chat session handler and the logs_dir parameter so that only trusted users can invoke it.
  • Implement server‑side validation or sanitization of the logs_dir input to block traversal sequences and enforce a fixed base directory.

Generated by OpenCVE AI on April 22, 2026 at 13:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pqmg-c2j8-fq92 InstructLab vulnerable to Path Traversal
History
Type Values Removed Values Added
First Time appeared Redhat instructlab
CPEs cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:*
Vendors & Products Redhat instructlab
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in InstructLab. A local attacker could exploit a path traversal vulnerability in the chat session handler by manipulating the `logs_dir` parameter. This allows the attacker to create new directories and write files to arbitrary locations on the system, potentially leading to unauthorized data modification or disclosure.
Title Instructlab: instructlab: path traversal allows arbitrary directory creation and file write
First Time appeared Redhat
Redhat enterprise Linux Ai
Weaknesses CWE-22
CPEs cpe:/a:redhat:enterprise_linux_ai:3
Vendors & Products Redhat
Redhat enterprise Linux Ai
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Apr 24, 2026, 3:55 AM
Reserved
Apr 22, 2026, 12:20 PM
Status
Analyzed
Published
Apr 22, 2026, 1:16 PM
Modified
Oct 26, 2026, 10:10 PM
Severity
Moderate
Public date
Apr 15, 2026, 12:00 AM