In ssh-agent in OpenSSH before 9.6, certain destination constraints can be incompletely applied. When destination constraints are specified during addition of PKCS#11-hosted private keys, these constraints are only applied to the first key, even if a PKCS#11 token returns multiple keys.
https://www.openwall.com/lists/oss-security/2023/12/18/2
https://www.openssh.com/txt/release-9.6
https://www.debian.org/security/2023/dsa-5586
https://support.apple.com/kb/HT214084
https://security.netapp.com/advisory/ntap-20240105-0005/
https://github.com/openssh/openssh-portable/commit/881d9c6af9da4257c69c327c4e2f1508b2fa754b