Others have already provided links to the GitHub issue detailing this bug and a Microsift employee confirming this indeed seems to be a micrsoft error although another team than the terminal one as it also affects multiple other programs such as the screengrab tool and notepad.
One of those comments can be found here: https://lemmy.dbzer0.com/comment/23913723
Marked as offtopic as well xD