Intel

AIKIDO-2026-39391

expo-file-system is vulnerable to Path Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 13, 2026
July 13, 2026

79

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

The createFile, createDirectory, and rename APIs in expo-file-system on Android accept caller-supplied paths without confining them to the intended parent directory. A path containing traversal segments can escape the designated directory and create, rename, or overwrite files at arbitrary locations on the device that the application has access to. The fix validates resolved paths against the intended parent directory before performing any file operation.

How do I fix this?

Upgrade the expo-file-system library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your Android application passes untrusted input to createFile, createDirectory, or rename.

Versions

0.0.1 - 19.0.22

Fixed in 19.0.23

55.0.0 - 55.0.21

Fixed in 55.0.22

56.0.0 - 56.0.6

Fixed in 56.0.7

Background info

expo-file-system is vulnerable to Path Traversal in versions 0.0.1 - 19.0.22, 55.0.0 - 55.0.21 and 56.0.0 - 56.0.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea