← Vulnerability feed

Vulnerability record · CVE-2021-40323 · published 4 October 2021

CVE-2021-40323: Cobbler XMLRPC log poisoning leads to remote code execution

Cobbler Project · Cobbler

Cobbler before 3.3.0 allows log poisoning through an XMLRPC method that writes attacker-controlled input into the logfile, which is then processed as a template. This template injection lets an unauthenticated network attacker turn logged content into code execution.

9.8 CVSS 3.1 Critical EPSS 87% · top 0.3% CWE-94 · Code injection
9.8CVSS 3.1 base score, v2 7.5
87%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

Cobbler before 3.3.0 allows log poisoning, and resultant Remote Code Execution, via an XMLRPC method that logs to the logfile for template injection.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or interaction required and very high EPSS make this a top remediation priority.

What it is

Cobbler before 3.3.0 allows log poisoning through an XMLRPC method that writes attacker-controlled input into the logfile, which is then processed as a template. This template injection lets an unauthenticated network attacker turn logged content into code execution.

Impact

An attacker can execute arbitrary code on the Cobbler server, gaining full control of the provisioning host and any systems it manages.

Attack surface

Reached over the network through the XMLRPC interface; the CVSS vector shows no privileges or user interaction required.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.868, 99.7th percentile), indicating elevated likelihood of exploitation; references are patch and release links only, with no public exploit tag.

What to do

  • Upgrade Cobbler to 3.3.0 or later, applying commit d8f60bbf14a838c8c8a1dba98086b223e35fe70a.
  • Restrict network access to the Cobbler XMLRPC endpoint to trusted management hosts only.
  • Disable or firewall XMLRPC if it is not required in your deployment.
  • Audit and sanitize any template or logfile processing paths that consume externally supplied data.
  • Monitor Cobbler logs for injected template or code-like content.

Detection

  • Review Cobbler logfiles for unexpected template syntax or code fragments.
  • Alert on XMLRPC requests from untrusted or unusual source addresses.
  • Monitor for unexpected child processes or command execution spawned by the Cobbler service.
  • Track Cobbler version inventory to confirm hosts are on 3.3.0 or later.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-40323 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-10931Cobbler XMLRPC interface exposes privileged functions to unauthenticated usersCobbler 2.6.x exposes all functions of its CobblerXMLRPCInterface class over XMLRPC, so the interface is reachable without authentication. A remote a…EPSS 68%analysed9.8CVE-2017-1000469Cobbler project cobbler improper input validation vulnerabilityCobbler version up to 2.8.2 is vulnerable to a command injection vulnerability in the "add repo" component resulting in arbitrary code execution as r…EPSS 5.6%9.1CVE-2022-0860Cobbler project cobbler improper authorization vulnerabilityImproper Authorization in GitHub repository cobbler/cobbler prior to 3.3.2.EPSS 2.3%7.8CVE-2021-45082Cobbler project cobbler command injection vulnerabilityAn issue was discovered in Cobbler before 3.3.1. In the templar.py file, the function check_for_invalid_imports can allow Cheetah code to import Pyth…EPSS 0.50%7.5CVE-2021-40324Cobbler upload_log_data arbitrary file writeCobbler before 3.3.0 allows arbitrary file write operations through the upload_log_data function. Because the flaw is an unrestricted file upload (CW…EPSS 69%analysed7.5CVE-2021-40325Cobbler project cobbler vulnerabilityCobbler before 3.3.0 allows authorization bypass for modification of settings.EPSS 1.4%7.1CVE-2021-45083Cobbler project cobbler incorrect default permissions vulnerabilityAn issue was discovered in Cobbler before 3.3.1. Files in /etc/cobbler are world readable. Two of those files contain some sensitive information that…EPSS 0.31%6.8CVE-2011-4953Cobbler project cobbler improper input validation vulnerabilityThe set_mgmt_parameters function in item.py in cobbler before 2.2.2 allows context-dependent attackers to execute arbitrary code via vectors related …EPSS 2.2%

Source: NIST National Vulnerability Database (record CVE-2021-40323), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.