The Apple curl security incident 12604
daniel.haxx.se
daniel.haxx.se
Separately, Microsoft bundles curl.exe as part of Windows since somewhere in the later Windows 10 or early Windows 11 releases, I forget which. This also appears to be honoring --cacerts.
So no, this seems to very much be an Apple problem.