Improper component protection vulnerability in SmsViewerActivity of Samsung Message prior to SMR July-2021 Release 1 allows untrusted applications to access Message files.
https://security.samsungmobile.com/securityUpdate.smsb?year=2021&month=7
https://blog.oversecured.com/Two-weeks-of-securing-Samsung-devices-Part-2/