CVE-2021-40324: Arbitrary File Write Operations in Cobbler

cobbler Updated 02 Oct 2025

Summary

05/10/2021
Yes i
High
7.5

CVE-2021-40324: Cobbler before 3.3.0 allows arbitrary file write operations via upload_log_data. Affects cobbler versions < 3.3.0. Fixed in 3.3.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Cobbler is a PyPI package that provides a network boot and installation server. It is commonly used for managing and provisioning Linux distributions. Cobbler allows administrators to automate the installation and configuration of operating systems on multiple machines simultaneously. This vulnerability, identified as CVE-2021-40324, allows an attacker to perform arbitrary file write operations through the 'upload_log_data' functionality.

Vulnerability Detail

The vulnerability in Cobbler before version 3.3.0 enables an attacker to write arbitrary files on the system by exploiting the 'upload_log_data' feature. This can lead to unauthorized modification of critical files, potentially resulting in remote code execution, privilege escalation, or other malicious activities. The vulnerability has been assigned a severity rating of HIGH (CVSS score not provided). The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-434.

How To Fix

Latest published version: 3.3.10 as of 23 Oct 2026

pip install --upgrade "cobbler==3.3.10"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.3.0

This is the first release that contains the fix.

pip install --upgrade "cobbler==3.3.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround has been mentioned for this vulnerability. It is advised to apply the fix by upgrading to the patched version as soon as possible.

Conclusion

In conclusion, the vulnerability (CVE-2021-40324) in Cobbler allows arbitrary file write operations, which can have severe consequences for the affected system. It is crucial to upgrade to Cobbler version 3.3.0 or later to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cobbler →

Share this vulnerability

FAQ

Cobbler is a PyPI package used for network boot and installation server management.

The vulnerability allows an attacker to write arbitrary files on the system, potentially leading to unauthorized access, code execution, or privilege escalation.

The vulnerability has been assigned a severity rating of HIGH.

Yes, upgrading Cobbler to version 3.3.0 or later fixes this vulnerability.

No specific workarounds have been mentioned. It is recommended to upgrade to the patched version.

Related vulnerabilities

Recent vulnerabilities recorded for cobbler.

How To Fix

Latest published version: 3.3.10 as of 23 Oct 2026

pip install --upgrade "cobbler==3.3.10"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.3.0

This is the first release that contains the fix.

pip install --upgrade "cobbler==3.3.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback