There’s nothing about the whole situation that open source fixes. Your champion open source project can change its license and pricing too.
The only way to protect yourself here is to enter into a non-ambiguous and non-shitty contract with your vendor.
If the software industry learns anything from this it should be that it’s not super smart to build your business on a technology with variable pricing that you don’t have control over (or something to that effect).