Close Menu
  • Home
  • Articles
    • Attacks
      • BEC
      • Data Breach
      • DDoS
      • Evasion Attacks
      • Injection
      • Malware
      • MITM
      • Phishing
      • Ransomware
      • RCE
      • Social Engineering
      • Spoofing
      • Spyware
    • Business and Policy
      • BCP and DRP
      • GRC
      • Regulations
    • Data Protection
      • DLP
      • DRM
      • Encryption
      • IAM
    • Future, Trends and Insight
      • AI
      • Events & Community
      • Emerging Tech
      • Expert Panel
      • Interviews With Experts
      • Insights
      • Study & Research
    • Resources
      • Guides
      • Tools
      • Training & Education
    • Security
      • API
      • Apps
      • Cloud
      • Critical Infrastructure
      • Endpoint
      • Hardware
      • IoT
      • Mobile
      • Network
      • OT
      • Port Security
      • Security Architecture
      • Software Development
      • Supply Chain
      • Zero Trust
    • Threats and Vulnerabilities
      • Emerging Threats
      • Insider Threats
      • Risk Management
      • Threat Intelligence
      • Zero Day
  • News and Exclusives
    • Latest News
    • ISB Exclusive
    • Positive News
  • Who We Are
    • About Us
    • Information Security Buzz Expert Panel​
    • Write for Us
    • Media Pack
  • Contact Us
  • Newsletter
Facebook X (Twitter) LinkedIn
Facebook X (Twitter) LinkedIn
Information Security BuzzInformation Security Buzz
  • Home
  • Articles
    • Attacks
      • BEC
      • Data Breach
      • DDoS
      • Evasion Attacks
      • Injection
      • Malware
      • MITM
      • Phishing
      • Ransomware
      • RCE
      • Social Engineering
      • Spoofing
      • Spyware
    • Business and Policy
      • BCP and DRP
      • GRC
      • Regulations
    • Data Protection
      • DLP
      • DRM
      • Encryption
      • IAM
    • Future, Trends and Insight
      • AI
      • Events & Community
      • Emerging Tech
      • Expert Panel
      • Interviews With Experts
      • Insights
      • Study & Research
    • Resources
      • Guides
      • Tools
      • Training & Education
    • Security
      • API
      • Apps
      • Cloud
      • Critical Infrastructure
      • Endpoint
      • Hardware
      • IoT
      • Mobile
      • Network
      • OT
      • Port Security
      • Security Architecture
      • Software Development
      • Supply Chain
      • Zero Trust
    • Threats and Vulnerabilities
      • Emerging Threats
      • Insider Threats
      • Risk Management
      • Threat Intelligence
      • Zero Day
  • News and Exclusives
    • Latest News
    • ISB Exclusive
    • Positive News
  • Who We Are
    • About Us
    • Information Security Buzz Expert Panel​
    • Write for Us
    • Media Pack
  • Contact Us
  • Newsletter
Subscribe
Information Security BuzzInformation Security Buzz
Home - Threats and Vulnerabilities - OneDrive File Picker Flaw Exposes Millions to Unintended Data Access, Oasis Security Warns 
Threats and Vulnerabilities Data Loss Prevention Data Protection Latest News News & Analysis Threat Intelligence

OneDrive File Picker Flaw Exposes Millions to Unintended Data Access, Oasis Security Warns 

Kirsten DoyleBy Kirsten DoyleMay 29, 20257 Mins Read
Share LinkedIn Twitter Facebook Copy Link Email
OneDrive File Picker Flaw
Share
Facebook Twitter LinkedIn Email Copy Link
Quick AI Summary
ChatGPTClaudeGeminiGrokPerplexityDeepSeekCopilot

A newly uncovered flaw in Microsoft’s OneDrive File Picker could be putting millions of users at risk of unintended data exposure, says new research from cybersecurity firm Oasis Security.  

The issue allows websites to access an entire user’s OneDrive, rather than just the specific files selected for upload, due to a combination of excessive permissions and vague consent prompts. 

The flaw affects hundreds of popular applications that integrate with OneDrive File Picker, including widely used platforms like ChatGPT, Slack, Trello, and ClickUp. As a result, millions of users may have inadvertently granted these services full access to their cloud storage, with potential consequences ranging from accidental data leaks to serious compliance violations. 

Oasis Security disclosed the vulnerability to Microsoft upon discovery and issued an advisory to vendors currently using the affected implementation. Microsoft has acknowledged the issue and indicated that future updates may include more precise permission alignment to reduce the risk of overexposure. 

A Hidden Loophole 

At the heart of the problem is the way the OneDrive File Picker handles OAuth permissions. Even when users intend to upload just one file, the File Picker implementation requests read access to the user’s entire drive. This stems from the absence of fine-grained OAuth scopes in OneDrive’s access model, which forces apps to ask for more access than they truly need. 

To make matters worse, the consent screen shown to users during file uploads is unclear, offering little transparency about the actual level of access being granted. This leaves users unable to differentiate between legitimate apps requesting necessary permissions and potentially malicious ones exploiting the system. 

“The vague language of the consent prompt means users may think they’re granting access to a single file when in fact they’re opening the door to everything stored on their OneDrive,” Oasis researchers explained. 

Insecure Handling of Sensitive Tokens 

The risks aren’t limited to just permission overreach. Oasis Security also discovered that the latest version of OneDrive File Picker (version 8.0) introduces a separate set of vulnerabilities related to how sensitive secrets are handled during authentication. 

Developers using version 8.0 must manage authentication themselves, typically via Microsoft’s Authentication Library (MSAL) and the Authorization Code Flow. This setup often leads to security missteps: 

  • MSAL stores access tokens in the browser’s session storage as plain text. 
  • The use of Authorization Flow can issue refresh tokens, which remain valid for extended periods and allow continuous access to the user’s data. 

Oasis points out that OpenAI, among others, currently uses version 8.0, raising concerns about token security in widely adopted applications. 

What Users and Organizations Should Do 

In light of these findings, Oasis Security strongly recommends that both individuals and enterprise administrators review their existing app permissions and take immediate steps to mitigate potential exposure. 

Private users can inspect and manage their app permissions by logging into their Microsoft account, navigating to the Privacy section, and reviewing access under the “App Access” pane. Each app’s permissions can be reviewed in detail, and sharing can be stopped at any time. While revoking access will immediately invalidate refresh tokens, access tokens may take up to an hour to expire. 

For firms, the process involves using the Entra Admin Center to audit enterprise applications. Admins can examine the scopes and permissions granted to each app and identify which users authorized them. Although filtering directly for delegated permissions isn’t currently supported, organizations can still manually investigate each app’s access rights and take corrective action where necessary. 

Users can also test whether a website relies on OneDrive File Picker by initiating an upload through the site and observing the permissions requested during the consent flow. 

Recommendations for Web App Developers 

For developers, the safest option is to temporarily disable the use of OneDrive File Picker via OAuth until Microsoft provides a more secure implementation. As an interim solution, Oasis suggests offering users the ability to share view-only file links instead, acknowledging this may be less convenient but far safer. 

If removing the File Picker is not a practical option, Oasis advises the following security measures: 

  • Avoid using refresh tokens by not requesting the “offline_access” scope and eliminating related logic from your codebase. 
  • If any refresh tokens are currently stored, securely dispose of them. 
  • Store access tokens securely, outside of browser session or local storage, and ensure they are discarded once no longer needed. 

With millions of users relying on cloud integrations every day, Oasis Security’s findings underscore the critical need for more transparent and secure access control in cloud platforms. While Microsoft has signaled a willingness to improve OneDrive’s permission framework, the responsibility also lies with vendors and users to remain vigilant. 

Over Permissioning Dangers 

Vijay Dilwale, Principal Security Consultant at Black Duck, says the core issue is with Microsoft’s OneDrive File Picker, which requests broad access to a user’s entire OneDrive—even when the user is just trying to upload a single file.  

“The user experience makes it seem like only the selected file is being shared, but in reality, the app often gets full read (and sometimes write) access to everything. It’s a classic case of over-permissioned OAuth scopes combined with a misleading consent flow. This design creates unnecessary exposure for both individuals and organizations, especially when third-party apps are involved.” 

For security teams, Dilwale says this is a good opportunity to take a step back and review how cloud storage integrations are being used across the organization. “Start with configuration reviews—look at which apps have access to OneDrive and what scopes they’ve been granted. If you’re building apps internally, include OAuth scope reviews and token handling in your design and architecture reviews. And in higher-risk environments, consider pen testing workflows that involve file uploads or third-party integrations to see how far access really goes.” 

More broadly, this is a reminder that default settings and user consent flows don’t always reflect secure design. Even when using well-known tools, we need to validate what’s really happening behind the scenes—and push for more granular, transparent options from our vendors, he adds.  

Complete Read Access 

Oasis Security’s recent research highlights a major privacy and security issue associated with Microsoft OneDrive’s integration with popular web applications such as ChatGPT, Slack, and Trello, says Eric Schwake, Director of Cybersecurity Strategy at Salt Security.  

“Specifically, this problem enables these apps to obtain complete read access to a user’s entire OneDrive content instead of just the selected files for upload due to insufficiently detailed OAuth scopes in the official OneDrive File Picker. Additionally, sensitive secrets required for this access are often stored in an insecure manner by default. This situation presents a key API security challenge for security teams: excessively broad API access is frequently allowed without clear user awareness, as consent screen language can be ambiguous. With the emergence of Agentic AI, where services like ChatGPT heavily depend on APIs to access and handle user data, this wide-ranging access poses an even greater risk. This situation emphasizes the critical necessity for strong API governance to guarantee that all API permissions are meticulously managed, adhering to the principle of least privilege, while ensuring that tokens are securely handled to avoid extensive data exposure, Schwake adds.  

Enforce Admin Consent 

Jason Soroko, Senior Fellow at Sectigo, adds that users should assume that every SaaS plug-in they authorize has the keys to their personal or enterprise crown jewels unless proven otherwise. “Security teams should enforce ‘admin consent’ or conditional-access policies that block apps requesting anything beyond Files.Read. They should also review existing enterprise app registrations for high risk scopes and disable or re-authorise them with the least privilege alternatives and require short lived bound tokens via Continuous Access Evaluation and token-protection in Entra ID. Finally, I would recommend that security teams monitor Graph API and CASB logs for anomalous OneDrive access patterns and push Microsoft and vendors to adopt granular, and most importantly, file-scoped permissions and clearer consent UX.” 

Kirsten Doyle
Kirsten Doyle
Information Security Buzz News Editor

Kirsten Doyle has been in the technology journalism and editing space for nearly 24 years, during which time she has developed a great love for all aspects of technology, as well as words themselves. Her experience spans B2B tech, with a lot of focus on cybersecurity, cloud, enterprise, digital transformation, and data centre. Her specialties are in news, thought leadership, features, white papers, and PR writing, and she is an experienced editor for both print and online publications.

  • Kirsten Doyle
    SIG report: AI-generated code is linked to twice the security risk and rising technical debt
  • Kirsten Doyle
    Miasma worm spreads from Red Hat packages to Microsoft repositories
  • Kirsten Doyle
    Dutch police, NCSC take down major botnet
  • Kirsten Doyle
    Palo Alto warns of active exploitation of GlobalProtect authentication bypass flaw

The opinions expressed in this post belong to the individual contributors and do not necessarily reflect the views of Information Security Buzz.

Share. Facebook Twitter LinkedIn Email Copy Link

Related Posts

Palo Alto warns of active exploitation of GlobalProtect authentication bypass flaw

June 2, 20263 Mins Read

How EM is boosting the career trajectory of VM analysts

May 19, 20266 Mins Read

Microsoft patches 138 vulnerabilities as AI-driven discovery accelerates

May 14, 20265 Mins Read
ISB-Bora-Side-Bar

No se ha podido establecer conexión. Error 429

 
ISB-Bora-Side-Bar
Black ISB Logo

Information Security Buzz is an independent resource that provides the experts’ comments, analysis, and opinion on the latest Cybersecurity news and topics

X (Twitter) LinkedIn Facebook RSS

Working With Us

  • About Us
  • Advertise With Us
  • Contact Us

Write For Us

  • How To Contribute

The Pages

  • Privacy Policy
  • Cookie Policy
  • AI Policy
  • Terms & Conditions
  • Copyright Notice

Information Security Buzz and all its contents are copyright © 2014-2025. All rights reserved. All third-party trademarks are recognized.

Type above and press Enter to search. Press Esc to cancel.

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}