—
PYSEC-2026-793
Cobbler vulnerable to code injection via unsafe YAML loading
Quick fix
PYSEC-2026-793 — cobbler: upgrade to the fixed version with the command below.
pip install --upgrade 'cobbler>=2.6.0'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-4953[ADVISORY]
- https://github.com/cobbler/cobbler/commit/1b4f9ecf051422eb8512794701900f6199651442[WEB]
- https://bugs.launchpad.net/ubuntu/oneiric/+source/cobbler/+bug/858883[WEB]
- https://bugzilla.novell.com/show_bug.cgi?id=757062[WEB]
- https://github.com/cobbler/cobbler[PACKAGE]
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00019.html[WEB]
- https://pypi.org/project/cobbler[PACKAGE]
- https://github.com/advisories/GHSA-hpj3-5p46-g87w[ADVISORY]