@FiloSottile requested issue #75054 to be considered for backport to the next 1.25 minor release.
We decided to fix this as a PUBLIC track security issue, since it's potentially surprising security-related behavior.
@gopherbot please backport to Go 1.25.