ADVISORIES

PyPA Advisory Database

PYSEC-2026-793

Cobbler vulnerable to code injection via unsafe YAML loading

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.

Affected packages

EcosystemPackageAffected versions
PyPIcobbler
All versions before 2.6.0 (fixed in 2.6.0)

References