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

GHSL-2026-108: Local apps can silently import malicious settings into OsmAnd - CVE-2026-65997

OsmAnd's exported MapActivity accepted privileged AIDL intent extras from any caller without verifying their origin, so a zero-permission app could silently import an arbitrary .osf settings file. This let an attacker overwrite settings, redirect map tile and routing requests to their own server, and track the user's location and destinations.

Kwstubbs Follow

Originally disclosed on GitHub Security Lab

OsmAnd version 3043c92b27b24a0b2c848bc7041cf5f69ede4ed6 is vulnerable to an issue where the Exported MapActivity improperly handles privileged AIDL intent extras without verifying their origin. This flaw allows a zero-permission app to silently import arbitrary .osf settings, potentially leading to unauthorized…

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 exported MapActivity passed caller-supplied intent extras (replace, silent_import, export_type_list_key) straight into the settings importer without checking who sent them, so the connected-app gate on the AIDL service could be bypassed.

Impact

A co-resident zero-permission app could achieve persistent real-time location tracking and silently overwrite settings; the report notes this is not triggerable via browser deep links.

What the attacker needed

Malicious app installed on same device; user opens the malicious app once; OsmAnd restarted for tile tracking

The fix

The maintainer confirmed the vulnerabilities were fixed.

How it was found

  1. Build a malicious .osf ZIP containing items.json, a tile source, a routing engine and a profile that enables online map data.
  2. Package the .osf in a zero-permission app and expose it through a FileProvider.
  3. Send an ACTION_VIEW intent to the exported MapActivity with the .osf URI and the privileged extras set.
  4. OsmAnd imports the settings silently, with no review screen or completion notice.
  5. After restart, map pans and navigation requests are sent to the attacker's server, revealing location and destinations.

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 expose screens (activities) that other apps are allowed to open. OsmAnd's map screen was open to any app and trusted extra data attached to the opening request, which was meant only for a privileged internal service. A malicious app with no special permissions could therefore hand OsmAnd a crafted settings file and have it applied without the user seeing any confirmation.

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.