This issue was addressed through improved state management. This issue is fixed in macOS Ventura 13.7.2, macOS Sonoma 14.7.2. A user with screen sharing access may be able to view another user's screen.
| Software | From | Fixed in |
|---|---|---|
| apple / macos | 14.0 | 14.7.2 |
| apple / macos | 13.0 | 13.7.2 |