ADVISORIES

PyPA Advisory Database

PYSEC-2026-2521

InstructLab vulnerable to Path Traversal

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIinstructlab
All versions up to and including 0.26.1

References