Peering Manager is a BGP session management tool. There is a Server Side Template Injection vulnerability that leads to Remote Code Execution in Peering Manager <=1.8.2. As a result arbitrary commands can be executed on the operating system that is running Peering Manager. This issue has been addressed in version 1.8.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
https://stackoverflow.com/questions/73939573/how-to-sanitise-string-of-python-code-with-python
https://owasp.org/www-community/attacks/Command_Injection
https://github.com/peering-manager/peering-manager/security/advisories/GHSA-q37x-qfrx-jcv6
https://github.com/peering-manager/peering-manager/commit/8a865fb596c11ad7caf45aef317d8fcbce7f85ff