The other answers correctly point out that SHA1 is not a watertight hashing algorithm: SHA1 is vulnerable to collision attacks. However, there are no known vulnerabilities to SHA1's preimage resistance nor second preimage resistance, which are properties regarding finding a hash collision for a specific hash/input (as opposed to finding a collision in two arbitrary hashes/inputs). So whether you can in practice trust this signature is down to whether its security relies on SHA1's resistance to collision attacks.
However, due to the certificate signing a specific SHA1 signature of an executable, collision attacks are not relevant. Collision attacks occur from the two hashes you're finding a collision in being free to change.
This instead would require one to find a file which gives a SHA1 hash of the signed file's SHA1 hash—a much harder problem and one which SHA1 has no practical public attack for. Authenticode does not rely on collision resistance—only the preimage resistances.
So therefore, providing a malicious executable which has the same SHA1 hash as the SHA1 hash of the legitimate, signed executable is considered completely infeasible, and in practice you can consider this signature valid and the file safe.
As an additional note, SHA1 should still be phased out in software and libraries as it can be easy to unwittingly rely on a property of a hash function which you otherwise think you're not relying on. We should be ensuring that only hash functions with both preimage resistance(s) and collision resistance are supported going forwards in new software and updates. But this doesn't mean that, in this case, it's not providing the securiy guarantees desired.