
Gallery Private Photo Vault 1.0.41 - Unauthenticated local-network HTTP file exposure
7.1
High
Discovered by
Offensive Team, Fluid Attacks
Abstract
Fluid Attacks discovered CVE-2026-77884, a high-severity exposed-files vulnerability (CWE-552) in Gallery - Private Photo Vault 1.0.41. An attacker on the same Wi-Fi or an adjacent local network can retrieve Android external-storage files without the application's PIN. It has a CVSS v4.0 base score of 7.1. Fluid Attacks assigned this CVE as a CNA, and this advisory includes a proof of concept.
Summary
Full name
Gallery - Private Photo Vault 1.0.41 - Unauthenticated HTTP server exposes Android external-storage files on the local network
Code name
State
Public
Release date
Affected product
Gallery - Private Photo Vault
Vendor
Brain Trust
Affected version(s)
1.0.41
Vulnerability name
Unauthorized access to files - APK Content Provider
Vulnerability type
Remotely exploitable
Yes
CVSS v4.0 vector string
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS v4.0 base score
7.1
Exploit available
Yes
CVE ID(s)
CWE
CAPEC
Description
Gallery - Private Photo Vault 1.0.41 starts an unauthenticated HTTP server that is reachable from the local network. The server listens on TCP port 8080 and serves files and directory listings from Android external storage.
An attacker connected to the same Wi-Fi or adjacent local network can send HTTP requests to the device IP address and enumerate directories or retrieve files without knowing the user's in-app PIN. This defeats the privacy expectation created by the application's photo-vault and album-locker features.
Vulnerability
Root Cause
The application automatically starts a file-serving Android service during normal use and exposes the service without an access-control boundary for HTTP clients. WebService is declared as an exported service without a manifest permission, and MainActivity.onResume() starts it. WebService.onHandleIntent() configures a web server on TCP port 8080 with Environment.getExternalStorageDirectory().getAbsolutePath() as its document root.
Source-to-sink path
Service exposure: The Android manifest declares
WebServiceas exported and does not protect it with a manifest permission.Automatic activation:
MainActivity.onResume()starts the service as part of ordinary application use; the user does not need to enable a sharing feature.Network listener:
WebService.onHandleIntent()starts an HTTP server bound to TCP port 8080.Storage root: The server document root is set to
Environment.getExternalStorageDirectory().getAbsolutePath().Sink: The HTTP handler returns a directory listing or the bytes of the requested file. It does so without validating a PIN, session, token, pairing state, or client authorization.
The application process binds port 8080 and serves a directory listing without a PIN, token, pairing step, or other authentication.
Impact
An unauthenticated attacker with adjacent-network access can list directories and retrieve files stored in the device's Android external storage. The attacker does not need an account, application privilege, or interaction from the device user after the application has been launched.
PoC
Preconditions
Gallery - Private Photo Vault version
1.0.41is installed on an Android device.The application has been launched at least once.
The Android device and workstation are connected to the same Wi-Fi network or another adjacent local network.
The attacker knows the Android device's IP address.
Step-by-step
Confirm that the application process listens on TCP port 8080:
Expected result:
From the workstation, request the server root:
The server returns
HTTP 200 OKand an HTML directory listing without requesting a PIN, credential, cookie, bearer token, pairing code, or other authentication material.Request a directory returned in the listing:
Retrieve a file listed by the server:
The server returns the file directly and does not consult the application's locker or PIN.
Evidence of Exploitation
Video of exploitation:
Static evidence:


Our security policy
We have reserved the ID CVE-2026-77884 to refer to this issue from now on.
System Information
Vendor: Brain Trust
Product: Gallery - Private Photo Vault
Package name:
bt.photo.video.lock.albumAffected version:
1.0.41Operating System: Android 8.0 and up
References
Solution and Workaround
Solution
Do not start an HTTP file server automatically. Remove the service if network file sharing is not an intended feature. If sharing is required, make the service non-exported unless another component must invoke it, bind it only to loopback or an explicitly selected interface, and require a high-entropy, short-lived authenticated session that is created after an explicit user action.
Restrict the server's document root to the files selected for a specific sharing operation rather than Android external storage. Enforce authorization before path resolution, disable directory listings, reject paths outside the approved share set, and stop the listener when the user ends sharing. Add regression tests showing that an unauthenticated client on the local network cannot list or download external-storage files.
Workaround and temporary mitigation
Until a fixed version is available, avoid launching the affected application on untrusted local networks and use network controls to block inbound TCP port 8080 to affected devices. Remove or relocate sensitive files from external storage where practical, and revoke the application's storage access when its vault functionality is not needed. These measures reduce exposure but do not correct the application's unauthenticated server.
Credits
The vulnerability was discovered by Andrés Ramos from Fluid Attacks' Offensive Team.
Timeline
Vulnerability discovered
Vendor contacted
Public disclosure
Does your application use this vulnerable software?
During our free trial, our tools assess your application, identify vulnerabilities, and provide recommendations for their remediation.














