{"id":"CVE-2026-6855","aliases":["EUVD-2026-24736","GHSA-pqmg-c2j8-fq92","PYSEC-2026-2521"],"status":"published","title":"Instructlab: instructlab: path traversal allows arbitrary directory creation and file write","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.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00164,"percentile":0.05597,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2026-04-22T12:29:44Z","modified":"2026-10-26T22:10:00Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"instructlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.26.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"instructlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.26.1"}]}],"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"]},{"source":"osv","ecosystem":"PyPI","package":"instructlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.26.1"}]}],"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"]}],"products":[{"vendor":"red hat","product":"red hat enterprise linux ai (rhel ai) 3"},{"vendor":"redhat","product":"enterprise_linux_ai"},{"vendor":"redhat","product":"instructlab"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-6855","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460013","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6855","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pqmg-c2j8-fq92","tags":["advisory"]},{"url":"https://github.com/instructlab/instructlab","tags":["package"]},{"url":"https://pypi.org/project/instructlab","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-6855","title":"Instructlab: instructlab: path traversal allows arbitrary directory creation and file write","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.","status":"published","published":"2026-04-22T12:29:44.838Z","modified":"2026-04-24T03:55:18.507Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T13:50:04.986624Z"}],"euvd":[{"id":"EUVD-2026-24736","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.","status":"published","published":"2026-04-22T12:29:44Z","modified":"2026-04-24T03:55:18Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T19:24:18.636842Z"}],"ghsa":[{"id":"GHSA-pqmg-c2j8-fq92","title":"InstructLab vulnerable to Path Traversal","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.","status":"published","published":"2026-04-22T15:31:40Z","modified":"2026-04-29T22:02:44Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:39:59.776263Z"}],"nvd":[{"id":"CVE-2026-6855","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.","status":"published","published":"2026-04-22T13:16:22.41Z","modified":"2026-10-26T22:10:00.163Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:15.493943Z"}],"osv":[{"id":"GHSA-pqmg-c2j8-fq92","title":"InstructLab vulnerable to Path Traversal","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.","status":"published","published":"2026-04-22T15:31:40Z","modified":"2026-07-13T16:43:43.995990451Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"PYSEC-2026-2521","title":"InstructLab vulnerable to Path Traversal","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.","status":"published","published":"2026-07-13T15:02:52.619367Z","modified":"2026-07-13T16:31:57.43070674Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:55.961245Z"}]}}
