When curl is instructed to get content using the metalink feature, and a user name and password are used to download the metalink XML file, those same credentials are then subsequently passed on to each of the servers from which curl will download or try to download the contents from. Often contrary to the user's expectations and intentions and without telling the user it happened.
https://www.oracle.com/security-alerts/cpuoct2021.html
https://security.netapp.com/advisory/ntap-20210902-0003/
https://security.gentoo.org/glsa/202212-01
https://hackerone.com/reports/1213181
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf