---
title: "CVE-2026-5463: pymetasploit3 vulnerable to command injection in console.run_module_with_output()"
url: https://erroneo.us/security/cve/CVE-2026-5463/
description: "CVE-2026-5463 (pymetasploit3 (PyPI)): Command injection vulnerability in console.runmodulewithoutput() in pymetasploit3 through version 1.0.6 allows…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-03
date_modified: 2026-08-10
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-5463"
kev: false
cvss: 9.3
epss: 0.03351
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-5463: pymetasploit3 vulnerable to command injection in console.run_module_with_output()

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 3.4% , percentile 89: FIRST’s model estimates a 3.4% chance of exploitation activity in the next 30 days, higher than 89% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes pymetasploit3 (PyPI) <= 1.0.6, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

Command injection vulnerability in console.runmodulewithoutput() in pymetasploit3 through version 1.0.6 allows attackers to inject newline characters into module options such as RHOSTS. This breaks the intended command structure and causes the Metasploit console to execute additional unintended commands, potentially leading to arbitrary command execution and manipulation of Metasploit sessions.

## Affected packages

- PyPI `pymetasploit3` <= 1.0.6 → fixed: none listed

## Affected products (CVE record)

- Dan McInerney pymetasploit3: <= 1.0.6

## Severity

- TuranSec CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L`
- TuranSec CVSS 3.1: 8.6 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L`
- TuranSec CVSS 2.0: 7.5 `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- GitHub CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 3.35% probability of exploitation activity in the next 30 days; percentile 89.

## Sources

- [GitHub Advisory GHSA-qpc3-8vqg-8g6w](https://github.com/advisories/GHSA-qpc3-8vqg-8g6w)
- [CVE.org record CVE-2026-5463](https://www.cve.org/CVERecord?id=CVE-2026-5463)
- [NVD entry CVE-2026-5463](https://nvd.nist.gov/vuln/detail/CVE-2026-5463)
- [github.com](https://github.com/DanMcInerney/pymetasploit3)
- [pypi.org](https://pypi.org/project/pymetasploit3/)

---
Source page: https://erroneo.us/security/cve/CVE-2026-5463/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
