Intel

AIKIDO-2025-10918

happy-coder is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 10, 2025

71

High Risk

This Affects:

JShappy-coder
0.10.0 - 0.11.2
Fixed in 0.12.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Unrestricted File System Access via RPC Handlers, where handlers such as readFile, writeFile, listDirectory, and getDirectoryTree provide authenticated remote clients with complete file system access without path restrictions or sandboxing, allowing the reading and writing of any file the process can access. An attacker who obtains authentication credentials can exploit this to read sensitive files such as SSH keys, exfiltrate private repository contents via getDirectoryTree and readFile calls, write malicious code to startup files like .bashrc, and access AWS credentials, npm tokens, and other sensitive data stored in the user's home directory.

Who does this affect?

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

Background info

happy-coder is vulnerable to Path Traversal in versions 0.10.0 - 0.11.2.

How to fix this

Upgrade the happy-coder library to the patch version.