CVE-2026-6855 Instructlab: instructlab: path traversal allows arbitrary directory creation and file write

High 7.1 Published Updated

A local attacker can exploit a path traversal flaw in InstructLab to create directories and write files to arbitrary locations, leading to unauthorized data modification or disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-6855?

CVE-2026-6855 is a high-severity path traversal vulnerability in Red Hat Enterprise Linux AI (RHEL AI) 3, published on 22 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-6855?

3 open source packages ship an affected version, including instructlab. It affects 2 products.

PackageAffectedFixed in
instructlab PyPIAll versions to 0.26.1None
instructlab PyPIAll versions to 0.26.1None
instructlab PyPIAll versions to 0.26.1None

Products include Redhat Enterprise Linux Ai, Redhat Instructlab.

How do I fix CVE-2026-6855?

No fix has been published for CVE-2026-6855 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-6855 being exploited?

There is no known exploitation of CVE-2026-6855 in the wild and no public exploit code.

Sources

Also known as GHSA-pqmg-c2j8-fq92, PYSEC-2026-2521.

Is CVE-2026-6855 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free