PYSEC-2026-2521
Vulnerability from pysec - Published: 2026-07-13 15:02 - Updated: 2026-07-13 16:04A 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.
| Name | purl | instructlab | pkg:pypi/instructlab |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "instructlab",
"purl": "pkg:pypi/instructlab"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.26.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.14.0",
"0.15.1",
"0.16.0",
"0.16.1",
"0.17.0",
"0.17.1",
"0.17.2",
"0.18.0",
"0.18.0a1",
"0.18.0a2",
"0.18.0a3",
"0.18.0a4",
"0.18.0a5",
"0.18.0a6",
"0.18.0a7",
"0.18.0b1",
"0.18.0b2",
"0.18.0b3",
"0.18.0b4",
"0.18.0b5",
"0.18.0b6",
"0.18.0rc1",
"0.18.0rc2",
"0.18.0rc3",
"0.18.0rc4",
"0.18.0rc5",
"0.18.0rc6",
"0.18.0rc7",
"0.18.1",
"0.18.2",
"0.18.3",
"0.18.4",
"0.19.0",
"0.19.0a1",
"0.19.0b1",
"0.19.0rc1",
"0.19.1",
"0.19.2",
"0.19.3",
"0.19.4",
"0.19.5",
"0.20.0",
"0.20.0a1",
"0.20.0a2",
"0.20.1",
"0.21.0",
"0.21.0a0",
"0.21.0a1",
"0.21.1",
"0.21.2",
"0.22.0",
"0.22.1",
"0.22.2",
"0.23.0",
"0.23.0a0",
"0.23.0rc0",
"0.23.1",
"0.23.2",
"0.23.3",
"0.23.4",
"0.23.5",
"0.24.0",
"0.24.1",
"0.24.2",
"0.24.2a0",
"0.24.3",
"0.25",
"0.26.0",
"0.26.0a1",
"0.26.1"
]
}
],
"aliases": [
"CVE-2026-6855",
"GHSA-pqmg-c2j8-fq92"
],
"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.",
"id": "PYSEC-2026-2521",
"modified": "2026-07-13T16:04:19.624614Z",
"published": "2026-07-13T15:02:52.619367Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6855"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2026-6855"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460013"
},
{
"type": "PACKAGE",
"url": "https://github.com/instructlab/instructlab"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/instructlab"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-pqmg-c2j8-fq92"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "InstructLab vulnerable to Path Traversal"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.