A logic issue was addressed with improved restrictions. This issue is fixed in macOS Ventura 13.5. A sandboxed process may be able to circumvent sandbox restrictions.
https://github.com/gergelykalman/CVE-2023-32364-macos-app-sandbox-escape
https://support.apple.com/kb/HT213845