CVE-2023-28531: ssh-add in OpenSSH before 9.3 adds smartcard keys to ssh-agent without the intended per-hop destination constraints.
CVE-2023-28531 affects 6 listed versions of OpenSSH in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
OpenSSH
6 of 193 listed versions are affected. Fixed in 9.3. The newest release, 10.6 P2, is not affected.
9.2 P1 9.1 P1 9.1 9.0 P1 8.9 P1 8.9
What it is
ssh-add in OpenSSH before 9.3 adds smartcard keys to ssh-agent without the intended per-hop destination constraints. The earliest affected version is 8.9.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 17 March 2023. Last changed 10 November 2026.
Sources
Check one version you run: look CVE-2023-28531 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.