Secure Folder 1.2 through 1.4 - Insecure Storage

6,8

Medium

Discovered by

Andrés Ramos

Offensive Team, Fluid Attacks

Abstract

Fluid Attacks discovered CVE-2026-84283, a medium-severity insecure storage vulnerability (CWE-922) in Secure Folder 1.2 through 1.4. A local attacker can access plaintext files in the password-protected vault. It has a CVSS v4.0 base score of 6.8. Fluid Attacks assigned this CVE as a CNA, and this advisory includes a proof of concept.

Summary

Full name

Secure Folder 1.2 through 1.4 - Plaintext vault files in shared storage bypass the PIN gate

State

Public

Release date

Affected product

Secure Folder

Vendor

FluteCode

Affected version(s)

1.2

Vulnerability name

Non-encrypted confidential information

Remotely exploitable

Yes

CVSS v4.0 vector string

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS v4.0 base score

6.8

Exploit available

Yes

Description

Secure Folder versions 1.2 through 1.4 store files selected for the password-protected vault as unencrypted files in Android shared storage. A local application or file manager with access to the relevant shared-storage path can enumerate, copy, and open vaulted files without authenticating to Secure Folder. Version 1.4 (versionCode 5) is the current Google Play release and was verified directly.

Vulnerability

Root cause

The submitted technical description states that the application builds its vault below the public Documents directory:

File file = new File(
    Environment.getExternalStoragePublicDirectory(
        Environment.DIRECTORY_DOCUMENTS
    ),
    ".SecureFolder"
);
File file = new File(
    Environment.getExternalStoragePublicDirectory(
        Environment.DIRECTORY_DOCUMENTS
    ),
    ".SecureFolder"
);
File file = new File(
    Environment.getExternalStoragePublicDirectory(
        Environment.DIRECTORY_DOCUMENTS
    ),
    ".SecureFolder"
);
File file = new File(
    Environment.getExternalStoragePublicDirectory(
        Environment.DIRECTORY_DOCUMENTS
    ),
    ".SecureFolder"
);

and moves imported files below paths such as:

/storage/emulated/0/Documents/.SecureFolder/.data/Images/
/storage/emulated/0/Documents/.SecureFolder/.data/Images/
/storage/emulated/0/Documents/.SecureFolder/.data/Images/
/storage/emulated/0/Documents/.SecureFolder/.data/Images/

Android classifies Documents/ as shared storage. Android's storage guidance distinguishes app-specific storage, including internal storage for sensitive data, from shared storage, which is intended for files shared with other apps. On Android 11 and later, an application granted MANAGE_EXTERNAL_STORAGE has read and write access to all files in shared storage. A dot-prefixed directory and a .nomedia marker can reduce casual discovery or gallery indexing; neither provides an access-control boundary or encryption.

Source-to-sink path

  1. Source: A user imports an image, video, audio file, or document into the Secure Folder vault.

  2. Storage selection: The application constructs the vault root from Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS) and the .SecureFolder child directory.

  3. Persistence: The import workflow moves the original file into a category directory such as Documents/.SecureFolder/.data/Images/ without encrypting it or retaining it in app-private storage.

  4. Access sink: A separate local application or file manager with sufficient shared-storage access enumerates, copies, or opens the stored file directly, without invoking the Secure Folder PIN flow.

Impact

An attacker who can operate a file manager on the target device, or code running in another application that has been granted sufficiently broad shared-storage access, can read and copy vaulted images, videos, audio files, and documents without the Secure Folder PIN. The PIN remains an interface gate only.

The impact is confidentiality loss of the original files. The evidence does not show remote exploitation, compromise of Android's sandbox, bypass of the device lock screen, disclosure of Secure Folder's notes/password/card database, integrity modification, or availability impact.

PoC

Preconditions

  • Secure Folder 1.2 through 1.4 is installed on Android 7.0 or later.

  • A PIN is configured in Secure Folder.

  • A benign test image is available outside the vault.

  • A file manager can read the device's shared Documents/ storage. On modern Android, this generally requires user-granted all-files access.

Step-by-step

  1. Open Secure Folder and configure a PIN.

  2. Select Images, use +, choose the test image, and select Hide Files.

  3. Leave or lock Secure Folder without entering its PIN again.

  4. Open the separate file manager and browse to:

    /storage/emulated/0/Documents/.SecureFolder/.data/Images/
    /storage/emulated/0/Documents/.SecureFolder/.data/Images/
    /storage/emulated/0/Documents/.SecureFolder/.data/Images/
    /storage/emulated/0/Documents/.SecureFolder/.data/Images/


  5. Open or copy the imported test image.

    Expected result: the file manager reads the original image without authenticating to Secure Folder.

Evidence of Exploitation

  • Video of exploitation:

  • Static evidence:

Our security policy

We have reserved the ID CVE-2026-84283 to refer to this issue from now on.

Disclosure policy

System Information

  • Vendor: FluteCode

  • Product: Secure Folder

  • Package: com.securefolder.securevault

  • Version: 1.2 through 1.4.

  • Operating System: Android 7.0 or later

References

Solution and Workaround

Solution

Store vault content in app-private internal storage and encrypt each file before persistence using authenticated encryption such as AES-GCM. Generate and protect encryption keys with Android Keystore, and ensure that PIN-derived or biometric-unlock material is used only through a suitable key-unwrapping design rather than as plaintext storage protection.

Migrate existing vault files by encrypting them before moving them out of shared storage, verify the migrated ciphertext and metadata, and ensure that thumbnails, temporary files, exports, and backups do not recreate plaintext copies in shared storage. Add regression tests that inspect every persisted vault artifact and verify that no plaintext is accessible outside the application's protected storage boundary.

Workaround and temporary mitigation

Do not place sensitive files in Secure Folder until a vendor fix is available. Move existing vault content to a protected storage solution, restrict broad shared-storage access for other applications where Android permits it, and review Documents/.SecureFolder/ for plaintext vault artifacts. These measures reduce exposure to local applications and file managers.

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.