Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. Prior to STS version 2.31.0 and LTS version 2.27.7, if a Portainer administrator can be convinced to register a malicious container registry, or an existing container registry can be taken over, HTTP Headers (including registry authentication credentials or Portainer session tokens) may be leaked to that registry. This issue has been patched in STS version 2.31.0 and LTS version 2.27.7.
https://github.com/portainer/portainer/security/advisories/GHSA-h5jw-8c32-xfv6
https://github.com/portainer/portainer/commit/b767dcb27ed253b423facd2e04ef971985950fd3
https://github.com/portainer/portainer/commit/384cb53c64af78af8e1ac7ef5b0f91bad530e989