A flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a result of following a redirect.
https://hackerone.com/reports/3973176
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-105275