A path handling issue was addressed with improved validation. This issue is fixed in iOS 17.5 and iPadOS 17.5, watchOS 10.5, macOS Sonoma 14.5. A shortcut may output sensitive user data without consent.
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')