- You give WhatsApp permission to access your gallery
- You access your gallery using WhatsApp
- You post on Reddit: look, WhatsApp has access to my gallery
The fact WhatsApp has gallery access isn’t the interesting part. What’s interesting is that it creates a route for someone to access your media without ever unlocking your phone, which is probably not something you would have expected to happen.
Do you often see people entering a PIN to answer a regular call on their phone (e.g. access the Phone app on a call)?
Same way most people don’t configure Android/WhatsApp to require a PIN or fingerprint to answer a WhatsApp call either.
The only difference is that the Phone app doesn’t have access to the gallery and WhatsApp has if… right, if user gave this permission.
OP’s title is missing some context, this is a true security vulnerability that hijacks WhatsApp’s permission access. From this report:
The WhatsApp app on Android apparently has a security vulnerability. Unauthorized users can access private photo folders on some devices during an incoming video call while the device is locked. According to Meta, they have now started distributing a fix
Notebookcheck tried bypassing the lock screen on several smartphones from different manufacturers and found that it does not work on all devices… the vulnerability is present on Google’s Pixel and Oppo devices. On iPhones, this vulnerability does not exist
The point has merit in a general sense: every piece of software you install & grant permissions to increases your attack surface. But the particular circumstance described allows an unauthorized user to hijack AOSP permissions in unintended ways
Logically, either both — gallery access and answering a call without entering password — are a “true security vulnerability” or neither of them is. As both are core WhatsApp features.
We could also talk about another true security vulnerability: showing message previews in notifications on the lock screen to unauthorized users.
No reasonable person would believe allowing an unsupervised third-party to bypass lockscreen encryption & access files is intended app behavior.
My kid is allowed to use my garden hose. My kid is allowed in my living room. If my kid uses the garden hose in the living room without my explicit authorization to exercise both privileges simultaneously, he will be grounded until he turns 18.
The behavior only manifests on a subset of android devices, not all WhatsApp instances. It’s an AOSP OS permissions exploit. Im not sure what point youre trying to make - yes, WhatsApp is also generally bad
I’m trying to make a point that call access is the same thing: you generally don’t expect an unauthorized user to be able to talk to your contacts.
But somehow answering a call without a PIN — on WhatsApp or the Phone app — you don’t consider a true security vulnerability, do you? What’s the difference with photos?
False equivalancy - that’s a documented WhatsApp feature. So, no
And accessing the photos is not documented feature? well…
Not without unlocking the phone, no. You’ve successfully identified the exploit, congrats ![]()
Thank you but no.
WhatsApp can be accessed on a call without unlocking the phone. WhatsApp can access photos. Hence there is a way to access an app that accesses photos without unlocking the phone.
Your point is that people shouldn’t call it an exploit. So what if it is? So what if it isn’t? Do you want it fixed or not?
Personally I think we’re talking about an OS feature: accessing apps and data without unlocking the phone:
— showing notifications
— opening some app screens (the call screen is one example)
A huge number of apps are affected: besides WhatsApp and the Phone app, there are note-taking apps, recorders, music players, etc.
As with all privacy related features, it would be good to have a setting for whether an app can show anything without unlocking.
What we have here is a lack of consensus among devs about how it should be handled. Some Android builds have a system permission for this with a very misleading name (“Full screen alerts”). Others have an “app lock” feature with this as a side effect. And on others there’s no way to control it unless the app developer provided their own setting for it.
The fact that people react strongly to the WhatsApp having the same issue with photos just tells us how many people are bothered by the fact that someone they live with could potentially access their photos. I get it, it’s probably not cool for those people. But from a pure software perspective, there’s no reason to demand it gets fixed in WhatsApp without asking for it to be fixed as a general missing OS-level feature.