A path handling issue was addressed with improved logic. This issue is fixed in visionOS 2.1, iOS 18.1 and iPadOS 18.1, macOS Ventura 13.7.1, macOS Sonoma 14.7.1, watchOS 11.1, tvOS 18.1. A malicious app may be able to run arbitrary shortcuts without user consent.
https://support.apple.com/en-us/121570
https://support.apple.com/en-us/121569
https://support.apple.com/en-us/121568
https://support.apple.com/en-us/121566