Submitted by RedTiger, also found by zzzitron and wangxx2026
The liquidate() and mintYieldFee() functions  could leave the vaults under-collateralized.
_requireVaultCollateralized()  is called at the beginning of mintYieldFee() and liquidate(). These two functions change the state and the vault could become under-collateralized at the end of the functions.
https://github.com/GenerationSoftware/pt-v5-vault/blob/b1deb5d494c25f885c34c83f014c8a855c5e2749/src/Vault.sol#L557
https://github.com/GenerationSoftware/pt-v5-vault/blob/b1deb5d494c25f885c34c83f014c8a855c5e2749/src/Vault.sol#L395
Call _requireVaultCollateralized() at the end of these functions instead of calling it at the beginning.
Invalid Validation
Picodes (judge) increased severity to High
asselstine (PoolTogether) confirmed via duplicate issue #307
Picodes (judge) commented via duplicate issue #307:
PierrickGT (PoolTogether) commented via duplicate issue #307:
Picodes (judge) commented via duplicate issue #307:
PierrickGT (PoolTogether) commented via duplicate issue #307:
PoolTogether mitigated:
Status: Mitigation confirmed. Full details in reports from 0xStalin, dirk_y and rvierdiiev.
