CVE-2026-57848
JSON

6.8medium

Stoat for Android Internal File Disclosure via Exported ShareTargetActivity URI Validation

Severity
6.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

Stoat for Android exports the chat.stoat.activities.ShareTargetActivity component (reachable to any process on the device via the android.intent.action.SEND intent) and accepts the file to share as a URI supplied through the android.intent.extra.STREAM extra. The activity does not validate or filter the incoming URI before using it as the outgoing attachment, so a caller can pass a file:// URI pointing at the application's own internal storage (for example /data/data/chat.revolt/databases/revolt.db, cached authentication token files, or preferences) and have the app treat that internal file as a user-selected attachment. An attacker who can invoke intents on the victim's device (via ADB access, a co-installed malicious application, or any other route that reaches Android's intent dispatch) can launch ShareTargetActivity with such a URI and cause the victim, on a single channel-selection interaction, to send the internal file to any Stoat channel or user of the attacker's choosing. The composer displays the attachment as \"attachment\" with no filename indication, so the victim has no visible signal that the file being sent is their own internal application data. Consequences include disclosure of the local Stoat database (message history, contact list, cached content), disclosure of authentication tokens permitting full account takeover, and disclosure of any other file readable by the app process.

Affected

Product or packageVersionsReported by
stoatchat Stoat for Androidbefore 1.6.0CVE List

All scores

VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
VulnCheck6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Classification

CWE-926

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Stoat for Android exports the chat.stoat.activities.ShareTargetActivity component (reachable to any process on the device via the android.intent.action.SEND intent) and accepts the file to share as a URI supplied through the android.intent.extra.STREAM extra. The activity does not validate or filter the incoming URI before using it as the outgoing attachment, so a caller can pass a file:// URI pointing at the application's own internal storage (for example /data/data/chat.revolt/databases/revolt.db, cached authentication token files, or preferences) and have the app treat that internal file as a user-selected attachment. An attacker who can invoke intents on the victim's device (via ADB access, a co-installed malicious application, or any other route that reaches Android's intent dispatch) can launch ShareTargetActivity with such a URI and cause the victim, on a single channel-selection interaction, to send the internal file to any Stoat channel or user of the attacker's choosing. The composer displays the attachment as \"attachment\" with no filename indication, so the victim has no visible signal that the file being sent is their own internal application data. Consequences include disclosure of the local Stoat database (message history, contact list, cached content), disclosure of authentication tokens permitting full account takeover, and disclosure of any other file readable by the app process.

NVD (es)

Stoat para Android exporta el componente chat.stoat.activities.ShareTargetActivity (accesible para cualquier proceso en el dispositivo a través del intent android.intent.action.SEND) y acepta el archivo a compartir como una URI suministrada a través del extra android.intent.extra.STREAM. La actividad no valida ni filtra la URI entrante antes de usarla como adjunto saliente, por lo que un llamador puede pasar una URI file: // que apunte al almacenamiento interno propio de la aplicación (por ejemplo, /data/data/chat.revolt/databases/revolt.db, archivos de token de autenticación en caché, o preferencias) y hacer que la aplicación trate ese archivo interno como un adjunto seleccionado por el usuario. Un atacante que puede invocar intents en el dispositivo de la víctima (a través de acceso ADB, una aplicación maliciosa co-instalada, o cualquier otra ruta que alcance el despacho de intents de Android) puede lanzar ShareTargetActivity con dicha URI y hacer que la víctima, en una única interacción de selección de canal, envíe el archivo interno a cualquier canal o usuario de Stoat de la elección del atacante. El compositor muestra el adjunto como ’attachment’ sin indicación de nombre de archivo, por lo que la víctima no tiene ninguna señal visible de que el archivo que se envía son sus propios datos internos de la aplicación. Las consecuencias incluyen la divulgación de la base de datos local de Stoat (historial de mensajes, lista de contactos, contenido en caché), la divulgación de tokens de autenticación que permiten la toma de control total de la cuenta, y la divulgación de cualquier otro archivo legible por el proceso de la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57848 changed 2026-07-20CVE Terms of Use
NVDCVE-2026-57848 changed 2026-10-24Public domain