An access issue was addressed with improved access restrictions. This issue is fixed in macOS Sonoma 14.8.8, macOS Tahoe 26.6. An app may be able to access user-sensitive data.
https://thehackernews.com/2026/08/apple-macos-screen-sharing-flaw.html
https://support.apple.com/en-us/128072