Intel

AIKIDO-2026-10416

shakapacker is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

44

Medium Risk

This Affects:

JSshakapacker
9.2.0 - 9.6.1
Fixed in 9.7.0

TL;DR

Affected versions of this package are vulnerable to Improper Input Validation in the handling of file paths within the configuration export functionality. Insufficient validation of user-controlled or configurable paths allows path traversal, enabling attackers to manipulate file paths and potentially write or access files outside the intended directory. This could lead to unauthorized file access or overwriting of sensitive files. The issue is fixed by introducing strict path validation using safe resolution checks to prevent traversal outside allowed directories.

Who does this affect?

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

Background info

shakapacker is vulnerable to Path Traversal in versions 9.2.0 - 9.6.1.

How to fix this

Upgrade the shakapacker library to the patch version.