An authentication issue was addressed with improved state management. This issue is fixed in macOS Big Sur 11.7.7, macOS Monterey 12.6.6, macOS Ventura 13.4. An unauthenticated user may be able to access recently printed documents.
https://support.apple.com/en-us/HT213760
https://support.apple.com/en-us/HT213759
https://support.apple.com/en-us/HT213758
https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html