PEM webhook file:// URL local file disclosure (CVE-2026-132663)
Postgres Enterprise Manager (PEM) does not validate webhook URLs in alert configurations. A user with the pem_config_alert role can set a webhook to a file:// URL. When triggered, the PEM agent (normally running as root) reads the local file and stores its contents in a PEM database webhook error record, where any PEM user can read it. Fixed in PEM 10.6.1, which restricts webhook URLs to http and https.
CVE-2026-132663 affects Postgres Enterprise Manager (PEM). In affected versions, PEM accepts webhook URLs without validating the URL scheme. A user with the pem_config_alert role can configure a webhook using a file:// URL. When the webhook is sent, the PEM agent, which runs as root by default on the PEM server, reads the referenced local file and stores its contents in the webhook error record in the PEM database. Any PEM user can then read that record, potentially exposing sensitive local files from the PEM server.
PEM 10.6.1 introduces validation so that only http and https webhook URLs are accepted and sent. The vendor advisory is referenced from the NVD entry and should be reviewed before making changes to production systems.
What to do 1. Verify the installed PEM version and review the vendor advisory at https://www.enterprisedb.com/docs/security/advisories/cve2026132663/ before changing production. 2. Upgrade PEM to 10.6.1 or later, which restricts webhook URLs to http and https. 3. If upgrade is not immediately possible, remove or disable webhook alert actions and audit existing alert configurations for suspicious or unintended file:// URLs. 4. Audit PEM database webhook error records and relevant logs for evidence of local file disclosure. 5. Restrict membership in the pem_config_alert role to trusted administrators and, where feasible, run the PEM agent with the least privilege needed for its function.