Hi Vivek, we have found similar issue in our SharePoint Server 2019 environments.
The engineering team from Microsoft has been aware of it and working on the fix, which might be included in the coming updates.
It is recommended to keep the product up to date with latest security updates and see if the issue will be resolved then.
Thank you for your patience and understanding.
If an Answer is helpful, please click "Accept Answer" and upvote it.
**Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **