BTCPay Server through 1.0.7.0 suffers from directory traversal, which allows an attacker with admin privileges to achieve code execution. The attacker must craft a malicious plugin file with special characters to upload the file outside of the restricted directory.
https://github.com/btcpayserver/btcpayserver/releases
https://blog.btcpayserver.org/vulnerability-disclosure-v1-0-7-0/