Skip to content
Access control Advisory Intermediate CVE-2026-65995

GHSL-2026-109: Local apps can steal location data and write files through OsmAnd - CVE-2026-65995

OsmAnd's exported AIDL service auto-approves any caller, giving a zero-permission app access to all 97 methods. This lets an attacker steal real-time GPS location and write or delete files via path traversal.

Kwstubbs Follow

Originally disclosed on GitHub Security Lab

OsmAnd version 5.3.3 is vulnerable because of the exported and permissionless OsmandAidlServiceV2, which auto-approves any caller via the isAppEnabled method. This vulnerability allows unauthorized applications to exploit all 97 AIDL methods, enabling attacks such as path traversal via copyFileImpl and real-time GPS…

Kwstubbs, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The service is exported without a permission and its authorisation check registers unknown callers as enabled instead of denying them.

Impact

A zero-permission app on the same device could track the user's real-time location, enumerate movement history, stream logs, and write or delete files inside OsmAnd's sandbox.

What the attacker needed

Malicious app installed on same device; no Android permissions needed; no user interaction

The fix

The maintainer confirmed all vulnerabilities were fixed.

How it was found

  1. Bind to the exported OsmandAidlServiceV2 from a zero-permission app.
  2. The isAppEnabled check auto-registers the caller as enabled.
  3. Call getAppInfo to read the last known GPS location.
  4. Register for updates every second and poll getAppInfo to track continuously.
  5. Call copyFile with a destination directory containing '..' to write outside the storage root.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Android apps can offer services that other apps on the same phone can connect to. OsmAnd left one of these services open to any app and its check always said 'yes', so a malicious app with no permissions could ask OsmAnd for the user's GPS position and to save files wherever it liked inside OsmAnd's storage.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Kwstubbs

View all

43 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.