Cobbler vulnerable to code injection via unsafe YAML loading
The set_mgmt_parameters function in item.py in cobbler before 2.2.2 allows context-dependent attackers to execute arbitrary code via vectors related to the use of the yaml.load function instead of the yaml.safe_load function, as demonstrated using Puppet.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | cobbler | < 2.6.0 | 2.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-4953
- https://github.com/cobbler/cobbler/commit/1b4f9ecf051422eb8512794701900f6199651442
- https://bugs.launchpad.net/ubuntu/oneiric/+source/cobbler/+bug/858883
- https://bugzilla.novell.com/show_bug.cgi?id=757062
- https://github.com/cobbler/cobbler
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00019.html
- https://pypi.org/project/cobbler
- https://github.com/advisories/GHSA-hpj3-5p46-g87w
- Weakness (CWE)
CWE-20, CWE-94- Platform
- Python (PyPI)
- Package
cobbler- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-793 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-hpj3-5p46-g87w - CC BY 4.0
Vulnerability history: cobbler
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 18
- First → latest
- 10.2021 11.2024
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 9
- Medium 5
Disclosures per year
- 2021: 3
- 2022: 14
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Cobbler vulnerable to code injection via unsafe YAML loading this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.