sentry-android unmasked sensitive data in Android Session Replays for users of Jetpack Compose 1.8+
Impact
Under specific circumstances, text composables may contain unmasked sensitive data in Android session replays. You may be impacted if you meet the following conditions:
- Using any
sentry-androidwith versions < 8.14.0 - Using Jetpack Compose >= 1.8.0-alpha08
- This includes any alpha, beta, release candidate, or general availability after this version
- Have configured Sentry Session Replays for Android
[!IMPORTANT] If you do not use Jetpack Compose or have never used a version >= 1.8.0-alpha08 you are not impacted.
[!IMPORTANT] If you have not configured Session Replays for Mobile you are not impacted.
How do I check if I'm impacted?
If you meet the conditions above, the sentry-android package includes a specific error log that would indicate you may be impacted. Customers may use logcat to search for this event.
I'm impacted and want this data deleted
If you've confirmed that you're affected and unmasked sensitive data in Session Replays have reached Sentry servers, you can please see this documentation on deleting individual replays. If you'd like to request bulk deletion, please reach out to your Account Manager or support@sentry.io to request deletion.
Patches
Upgrade the sentry-android SDK to version 8.14.0
Workarounds
We recommend upgrading to the latest version of the SDK, but if it is not an option, customers may either:
- Downgrade their use of Jetpack Compose to <= 1.7.x
- Drop session sample rates to 0.0
options.sessionReplay.onErrorSampleRate = 0.0
options.sessionReplay.sessionSampleRate = 0.0
Please see our documentation for more information configuring Session Replays for Android.
References
This issue was identified in Issue https://github.com/getsentry/sentry-java/issues/4467 and fixed in https://github.com/getsentry/sentry-java/pull/4485
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.sentry:sentry-android | < 8.14.0 | 8.14.0 |
| Java / Kotlin (Maven) | io.sentry:sentry-android-replay | < 8.14.0 | 8.14.0 |
Verweise
- https://github.com/getsentry/sentry-java/security/advisories/GHSA-7cjh-xx4r-qh3f
- https://github.com/getsentry/sentry-java/issues/4467
- https://github.com/getsentry/sentry-java/pull/4485
- https://github.com/getsentry/sentry-java/commit/8bfa9cceab402e58f6723a0694158d27e8a41a56
- https://github.com/getsentry/sentry-java
- https://github.com/getsentry/sentry-java/releases/tag/8.14.0
- CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Schwäche (CWE)
CWE-532- Plattform
- Java / Kotlin (Maven)
- Paket
io.sentry:sentry-android, io.sentry:sentry-android-replay- Veröffentlicht
- 20.06.2025
- Aktualisiert
- 11.10.2026 13:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-7cjh-xx4r-qh3f - CC BY 4.0
Schwachstellenhistorie: io.sentry:sentry-android
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.