---
id: CVE-2012-2395
aliases:
  - GHSA-g34c-mg6m-xvxj
  - PYSEC-2026-792
title: Cobbler subject to Command Injection
summary: Cobbler subject to Command Injection
severity: high
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-g34c-mg6m-xvxj'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2012-2395'
  - url: 'https://github.com/cobbler/cobbler/issues/141'
  - url: >-
      https://github.com/cobbler/cobbler/commit/6d9167e5da44eca56bdf42b5776097a6779aaadf
  - url: 'https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/978999'
  - url: 'https://github.com/cobbler/cobbler'
  - url: >-
      https://lists.opensuse.org/opensuse-security-announce/2012-05/msg00016.html
  - url: >-
      https://lists.opensuse.org/opensuse-security-announce/2012-07/msg00000.html
  - url: >-
      https://web.archive.org/web/20120712025653/http://www.securityfocus.com/bid/53666
  - url: 'https://www.openwall.com/lists/oss-security/2012/05/23/18'
  - url: 'https://www.openwall.com/lists/oss-security/2012/05/23/4'
  - url: 'https://www.osvdb.org/82458'
tags:
  - osv
  - pip
epss: 0.05601
epssPercentile: 0.92613
ingestedAt: '2026-07-08T18:25:49.194Z'
---

## Overview

A Command Injection in action_power.py in Cobbler prior to v2.6.0 allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) username or (2) password fields to the power_system method in the xmlrpc API.

## Affected packages

- `cobbler < 2.6.0`

## Remediation

Upgrade to a patched release:

- `cobbler 2.6.0`
