---
id: CVE-2011-4953
aliases:
  - GHSA-hpj3-5p46-g87w
  - PYSEC-2026-793
title: Cobbler vulnerable to code injection via unsafe YAML loading
summary: Cobbler vulnerable to code injection via unsafe YAML loading
severity: medium
vendor: cobbler
product: cobbler
ecosystem: pip
affected:
  - cobbler < 2.6.0
patched:
  - cobbler 2.6.0
published: '2022-05-17'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hpj3-5p46-g87w'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2011-4953'
  - url: >-
      https://github.com/cobbler/cobbler/commit/1b4f9ecf051422eb8512794701900f6199651442
  - url: 'https://bugs.launchpad.net/ubuntu/oneiric/+source/cobbler/+bug/858883'
  - url: 'https://bugzilla.novell.com/show_bug.cgi?id=757062'
  - url: 'https://github.com/cobbler/cobbler'
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00019.html'
tags:
  - osv
  - pip
epss: 0.02192
epssPercentile: 0.81439
ingestedAt: '2026-07-08T18:25:50.295Z'
---

## Overview

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

- `cobbler < 2.6.0`

## Remediation

Upgrade to a patched release:

- `cobbler 2.6.0`
