# CVE-2026-57848: Stoat for Android Internal File Disclosure via Exported ShareTargetActivity URI Validation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-926
- **Published:** 2026-07-18T19:15:18.458Z
- **Modified:** 2026-10-24T20:10:00.137Z

## Who should check

- Anyone running stoatchat Stoat for Android \< 1.6.0

## 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 and fixed versions

- stoatchat Stoat for Android: \< 1.6.0 (cvelist)

## Mitigation

- Upgrade Stoat for Android to 1.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-57848. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-57848.md
Affected: stoatchat Stoat for Android < 1.6.0
Fixed in: stoatchat Stoat for Android 1.6.0

Steps:
1. Search this machine and project for stoatchat Stoat for Android: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-57848 being exploited?

There is no confirmed exploitation: CVE-2026-57848 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-57848?

Medium: CVSS 6.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-57848?

stoatchat Stoat for Android \< 1.6.0.

### Is there a fix for CVE-2026-57848?

Yes. Fixed in stoatchat Stoat for Android 1.6.0. Upgrade Stoat for Android to 1.6.0 or later.

### How do I check if I'm affected by CVE-2026-57848?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/stoatchat/for-android/commit/50d5f5143940809ebb5a61e5f507c956c33aa970>
- other: <https://github.com/stoatchat/for-android>
- other: <https://www.vulncheck.com/advisories/stoat-for-android-internal-file-disclosure-via-exported-sharetargetactivity-uri-validation>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-57848>

HTML: <https://flawdb.com/CVE-2026-57848> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-57848>
