Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5463: CWE-77 Improper neutralization of special elements leading to command injection in Dan McInerney pymetasploit3

0
Critical
VulnerabilityCVE-2026-5463cvecve-2026-5463cwe-77
Published: Fri Apr 03 2026 (04/03/2026, 04:32:23 UTC)
Source: CVE Database V5
Vendor/Project: Dan McInerney
Product: pymetasploit3

Description

CVE-2026-5463 is a critical command injection vulnerability in the pymetasploit3 library, specifically in the console. run_module_with_output() function. It allows attackers to inject newline characters into module options such as RHOSTS, disrupting the intended command flow and causing the Metasploit console to execute unintended commands. This can lead to arbitrary command execution and manipulation of Metasploit sessions. The vulnerability affects pymetasploit3 through version 1. 0. 6. No patch or official fix information is currently available.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/10/2026, 09:12:43 UTC

Technical Analysis

The vulnerability in pymetasploit3 (CVE-2026-5463) arises from improper neutralization of special elements (CWE-77) in the console.run_module_with_output() method. Attackers can inject newline characters into module options like RHOSTS, breaking the command structure and causing the Metasploit console to execute additional, unintended commands. This can result in arbitrary command execution and unauthorized control over Metasploit sessions. The issue affects versions through 1.0.6 and has a CVSS 4.0 score of 9.3, indicating critical severity. No known exploits are reported in the wild, and no patch or remediation details have been provided.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary commands within the Metasploit console environment without authentication or user interaction, potentially leading to full compromise of Metasploit sessions. This can undermine the integrity and security of penetration testing activities relying on pymetasploit3.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using affected versions of pymetasploit3 in untrusted environments or restrict usage to trusted inputs only. Monitor vendor channels for updates regarding patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-04-03T04:28:08.555Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69cf4ec6e6bfc5ba1d767352

Added to database: 4/3/2026, 5:23:18 AM

Last enriched: 4/10/2026, 9:12:43 AM

Last updated: 5/20/2026, 7:03:36 AM

Views: 93

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses