CVE-2020-7942 in Puppet and 1 more product
Previously, Puppet operated on a model that a node with a valid certificate was entitled to all information in the system and that a compromised certificate allowed access to everything in the infrastructure. When a node's catalog falls back to the `default` node, the catalog can be retrieved for a different node by...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Previously, Puppet operated on a model that a node with a valid certificate was entitled to all information in the system and that a compromised certificate allowed access to everything in the infrastructure. When a node's catalog falls back to the `default` node, the catalog can be retrieved for a different node by modifying facts for the Puppet run. This issue can be mitigated by setting `strict_hostname_checking = true` in `puppet.conf` on your Puppet master. Puppet 6.13.0 and 5.5.19 changes the default behavior for strict_hostname_checking from false to true. It is recommended that Puppet Open Source and Puppet Enterprise users that are not upgrading still set strict_hostname_checking to true to ensure secure behavior. Affected software versions: Puppet 6.x prior to 6.13.0 Puppet Agent 6.x prior to 6.13.0 Puppet 5.5.x prior to 5.5.19 Puppet Agent 5.5.x prior to 5.5.19 Resolved in: Puppet 6.13.0 Puppet Agent 6.13.0 Puppet 5.5.19 Puppet Agent 5.5.19
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-7942 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-212450-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2020-02-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-7942 affects Puppet by allowing a node with a valid certificate to access all information in the system, potentially leading to unauthorized access if the certificate is compromised. The vulnerability arises when a node's catalog falls back to the 'default' node, enabling the retrieval of another node's catalog by modifying facts.
An attacker with a valid certificate could exploit this vulnerability by modifying the facts of a Puppet run to retrieve the catalog of another node, thereby gaining unauthorized access to sensitive information within the infrastructure.
Questions
What is CVE-2020-7942?
CVE-2020-7942 affects Puppet by allowing a node with a valid certificate to access all information in the system, potentially leading to unauthorized access if the certificate is compromised. The vulnerability arises when a node's catalog falls back to the 'default' node, enabling the retrieval of another node's catalog by modifying facts.
What is the CVSS score for CVE-2020-7942?
CVE-2020-7942 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.8%.
Is CVE-2020-7942 actively exploited?
No confirmed active exploitation of CVE-2020-7942 as of 2026-09-25.
How do I remediate CVE-2020-7942?
Priority: HIGH. Advisory: https://puppet.com/security/cve/CVE-2020-7942/
What systems are affected by CVE-2020-7942?
CVE-2020-7942 affects Puppet Puppet, Puppet Agent.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Puppet","product":"Puppet","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.