CVE-2021-27021: Puppet

High severity, CVSS 8.8. EPSS: 1.3% probability of exploitation activity in the next 30 days.

A flaw was discovered in Puppet DB, this flaw results in an escalation of privileges which allows the user to delete tables via an SQL query.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Puppet, before 6.23.0: fixed in 6.23.0
  • Puppet, from 7.7.0, before 7.8.0: fixed in 7.8.0
  • Puppet Enterprise, before 2019.8.7: fixed in 2019.8.7
  • Puppet Enterprise, from 2021.0.0, before 2021.2.0: fixed in 2021.2.0
  • Puppet Puppetdb, before 6.17.0: fixed in 6.17.0
  • Puppet Puppetdb, from 7.0.0, before 7.4.1: fixed in 7.4.1

Affected products

  • Puppet Puppet: before 6.23.0 (fixed in 6.23.0); from 7.7.0, before 7.8.0 (fixed in 7.8.0)
  • Puppet Puppet Enterprise: before 2019.8.7 (fixed in 2019.8.7); from 2021.0.0, before 2021.2.0 (fixed in 2021.2.0)
  • Puppet Puppetdb: before 6.17.0 (fixed in 6.17.0); from 7.0.0, before 7.4.1 (fixed in 7.4.1)

Published 2021-07-20. Last modified 2026-06-17.