DEV Community

johnettwawers
johnettwawers

Posted on

Android path traversal when a trusted municipal app shares a device

Android path traversal when a trusted municipal app shares a device

The Tokyo Fire Department Official App handles information that users expect to remain private. On November 26, 2026, JVN published CVE-2026-133530 for version 1.3.13 of the Android application. The defect is a path traversal that lets a malicious application already installed on the same device obtain sensitive information from the affected app.

This is a local attack with a realistic delivery path. A user may install a game, utility or sideloaded package that requests file access, then forget the permission decision. The vulnerable app's own handling of paths decides whether the attacker can reach application data. Android's sandbox reduces the problem, but it does not protect files that the app intentionally exposes through a shared location or an exported provider.

The advisory names path traversal, CWE-22. That label covers more than the classic ../ string. Paths can be encoded, normalized later, resolved through symbolic links or accepted as a caller-supplied URI. A provider that returns a file for an external intent must validate the canonical target after resolution, not only the text received from the caller. It should also check that the path remains inside an approved directory and that the caller is allowed to read that specific file.

Apps should keep private records in internal storage and expose only deliberate user-selected files through a narrowly scoped FileProvider. Exported components need explicit permissions and should avoid broad directory roots. Temporary cache files should have unpredictable names and short lives. Logging must not write file paths or document names that reveal the content being protected.

The local attacker model changes the priority. An internet-facing content management system can be scanned by anyone, but a mobile file-sharing flaw needs an installed package or a compromised peer. The impact can still be serious when the target holds identity documents, location records or emergency contact details. Security teams should treat the mobile device as a shared trust domain rather than assuming every installed app is honest.

Users of version 1.3.13 should install the corrected release offered by the developer. Organizations that distribute the app through managed devices should verify the installed version and remove old package builds from internal stores. Support staff should also check whether users enabled unknown-source installation or granted broad file access to unrelated apps.

The broader control is simple to state and harder to maintain. A mobile app should assume that every external path is hostile, resolve it inside a trusted root, and return only the object the user selected. Version updates close the known defect. Path confinement in the design prevents the next one from becoming another shared-device data leak.

References

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

Really clear write-up — the part that stuck with me is that version 1.3.13 is the affected build and the fix is a corrected release rather than a settings change, so the check for managed-device teams is concrete: verify the installed version and remove old package builds from internal stores. The canonical-path check against an approved root is the control I keep coming back to in my own work. When you audit an app like this, do you start by mapping every exported component that can return a file, or by tracing where user-selected files get resolved first?