---
id: "CVE-2015-5306"
page: "https://infrastack.ai/live/CVE-2015-5306"
kind: "vulnerability"
aliases: ["CVE-2015-5306", "GHSA-x64g-wjmw-w328"]
title: "Injection vulnerability that affects ironic-discoverd"
severity: "critical"
cvss: 8.1
epss: 0.01598
exploited: false
status: "open"
category: "package"
products: [{"name": "python-ironic-inspector-client", "fixed": ["0.2.5"], "affected": "< 0.2.5", "ecosystem": "pypi"}, {"name": "ironic-inspector", "fixed": ["2.2.2"], "affected": "< 2.2.2", "ecosystem": "pypi"}, {"name": "openstack ironic inspector", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["pypi", "vendor"]
tags: ["ironic-inspector", "openstack", "package", "python", "self-hosted"]
not_affected_if: ["debug-disabled", "default-config"]
published_at: "2015-11-25T20:59:06+00:00"
first_seen_at: "2026-11-16T16:13:27+00:00"
updated_at: "2026-11-16T16:38:06+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-x64g-wjmw-w328", "first_seen_at": "2026-11-16T16:13:27+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5306", "first_seen_at": "2026-11-16T16:38:06+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.01598, "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-5306"}]
---

# Injection vulnerability that affects ironic-discoverd

Link for people: https://infrastack.ai/live/CVE-2015-5306 (this .md is for agents)

When debug mode is enabled, OpenStack Ironic Inspector (also called ironic-discoverd) exposes the Flask debug console. An remote attacker who triggers an error can use that console to execute arbitrary Python code.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:python-ironic-inspector-client affected < 0.2.5 fixed 0.2.5
- pypi:ironic-inspector affected < 2.2.2 fixed 2.2.2
- vendor:openstack ironic inspector affected range not listed fixed no fixed version listed

## How to check

- Check whether debug mode is on in the ironic-inspector configuration file (the `debug` option in the `[DEFAULT]` section; exact file location unknown from the sources)
- Check the installed versions with `pip show ironic-inspector` and `pip show python-ironic-inspector-client`

## Fix

- `ironic-inspector` to `2.2.2`
- `python-ironic-inspector-client` to `0.2.5`

## Timeline

- 2026-11-16T16:13:27+00:00 ghsa https://github.com/advisories/GHSA-x64g-wjmw-w328
- 2026-11-16T16:38:06+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2015-5306

## Documents

- [advisory] Vendor advisory: access.redhat.com https://access.redhat.com/errata/RHSA-2015:1929
- [advisory] Vendor advisory: bugs.launchpad.net https://bugs.launchpad.net/ironic-inspector/+bug/1506419
- [advisory] Vendor advisory: bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1273698
- [fix] Patch: opendev.org https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f
- [fix] Patch: opendev.org https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910

## From the sources

OpenStack Ironic Inspector (aka ironic-inspector or ironic-discoverd), when debug mode is enabled, might allow remote attackers to access the Flask console and execute arbitrary Python code by triggering an error.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
