Intel

AIKIDO-2026-10358

go.k6.io/xk6 is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 13, 2026

67

Medium Risk

This Affects:

GOgo.k6.io/xk6
0.20.0 - 1.3.5
Fixed in 1.3.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package used path handling based on filepath.Walk(dir, ...), which could allow file operations to escape the intended customization directory if untrusted paths, symlinks, or traversal primitives were present. An attacker able to influence repository contents or filesystem layout might exploit this to make the process read, modify, or overwrite files outside the target directory, potentially impacting sensitive files on the host.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

go.k6.io/xk6 is vulnerable to Path Traversal in versions 0.20.0 - 1.3.5.

How to fix this

Upgrade the go.k6.io/xk6 library to the patch version.