PYSEC-2026-500

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/pymetasploit3/PYSEC-2026-500.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-500
Aliases
Published
2026-06-29T11:50:46.168172Z
Modified
2026-06-29T12:15:38.060660039Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
pymetasploit3 vulnerable to command injection in console.run_module_with_output()
Details

Command injection vulnerability in console.runmodulewith_output() 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.

References

Affected packages

PyPI / pymetasploit3

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.6

Affected versions

1.*
1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/pymetasploit3/PYSEC-2026-500.yaml"