CVE-2026-132665: Medium severity vulnerability
In Postgres Enterprise Manager (PEM), the pem.deployjobtemplate() function does not check that the caller can access the servers, groups and agents it deploys a job template to. When PEM teams are used to separate access, a user with the scheduled tasks role (pemmanagescheduletask) can deploy and schedule SQL or shell job steps on agents that belong to other teams. From PEM 10.6.1, PEM checks team access for every server, group and agent a template is deployed to.