Last Tuesday we published PowerDNS Security Advisory 2019-06, which called for a schema update if you are using PostgreSQL with the Authoritative Server. We have now released updated packages for the 4.0.x and 4.1.x branches. These packages contain no software changes, they only contain the updated schema. Simply updating your packages will NOT correct your PostgreSQL schema.
The 4.0.9 tarball (signature) and 4.1.11 tarball (signature) are available at downloads.powerdns.com and packages for CentOS 6 and 7, Debian Jessie and Stretch, Ubuntu Trusty, Xenial and Bionic (only for 4.1.11) are available from repo.powerdns.com.