Microsoft OneDrive for Android Elevation of Privilege Vulnerability (CVE-2025-60722)
OneDrive for Android does not properly restrict a file pathname to its intended directory, a path traversal flaw. An authorised attacker could use it over a network to reach files and data outside the intended location, gaining the privileges of the affected process.
Originally disclosed on Microsoft
Description
Improper limitation of a pathname to a restricted directory ('path traversal') in OneDrive for Android allows an authorized attacker to elevate privileges over a network.
FAQ
What privileges could an attacker gain with successful exploitation? An attacker who successfully exploited this vulnerability could gain unauthorized access to system resources, potentially allowing them to perform actions with the same privileges as the compromised process. This could lead to further system compromise and unauthorized actions within the network.
FAQ
According to the CVSS metrics, successful exploitation of this vulnerability could lead to major loss of confidentiality (C:H), and integrity (I:H), but could lead to no loss of availability (A:N). What does that mean for this vulnerability? Exploiting this vulnerability could allow an attacker to disclose files and modify data, but the attacker cannot impact the Availability of the system.
OneDrive for Android
OneDrive for Android
Microsoft
Microsoft
Customer Action Required
Yes
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
Likely the app accepted a file path without checking that it stayed within the intended directory, so crafted paths could escape it.
Impact
Exploitation could disclose files and modify data with the privileges of the compromised process, but availability is not affected; the text gives no reproduction detail or evidence of any defence limiting it.
What the attacker needed
Attacker is authorised on the network; OneDrive for Android is affected
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.
Apps often keep files in a set folder and expect every file path to stay inside it. A path traversal bug means a crafted path can climb out of that folder, like using '..' to step up a level, and reach other files. Here an attacker who already has some access could use that to read or change things they should not, acting with the app's own permissions.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.