Skip to main content

Metasploit Framework CVE-2026-109682

| EUVDEUVD-2026-106876 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-10-21 cve@rapid7.com GHSA-77hf-v8xc-qfg4
4.7
CVSS 3.1 · Vendor: rapid7
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure operator to attacker-controlled HTTP server
  2. Delivery
    Respond with 3xx redirect to internal host
  3. Exploit
    send_request_cgi! follows cross-host redirect unrestricted
  4. Execution
    Metasploit issues request to internal service
  5. Impact
    Reach services not otherwise accessible to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an operator run a Metasploit module whose code path uses send_request_cgi! to contact an HTTP server the attacker controls, and that this server return a 3xx redirect pointing to a different host; in versions before 6.5.7 the redirect was followed with no destination restriction. The practical prerequisite is therefore operator-initiated interaction with an adversary-controlled (or compromised) HTTP endpoint (UI:R), plus internal services that are network-reachable from the operator's host. Limiting factors: it only affects the send_request_cgi! redirect-following behavior, only versions prior to 6.5.7, and the attacker must induce the operator to target their server rather than exploit a passively listening service. The fix gates this behind the new HttpRedirectPolicy option defaulting to 'same_host', so patched/default-configured instances are no longer exposed.

Impact

This is a medium-severity SSRF (CVSS 4.7, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N) whose real-world urgency is modest. The attack vector is network and complexity is low, but UI:R is the decisive limiter: exploitation requires a Metasploit operator to actively run a module that issues an HTTP request (via send_request_cgi!) against an attacker-controlled server. No EPSS score, SSVC decision, KEV listing, or POC is present in the provided data, so there is no public exploitation signal to weigh against the CVSS. The scope-changed metric (S:C) is appropriate and meaningful here: the bug lets the attacker pivot the operator's host into internal networks, which is the real value of the flaw, but confidentiality impact is only Low and integrity/availability are None. Net assessment: a legitimate but not emergency priority - this is a defensive/offensive-tool vulnerability that inverts trust (the attacker is typically the 'target' the operator is testing), not a widely-automatable service exploit. EPSS is absent rather than low, so no probability claim can be made; treat prioritization as patch-on-next-cycle unless operators routinely point Metasploit at untrusted/adversary-controlled HTTP servers.

Exploit ScenarioDerived

A penetration tester runs a Metasploit module against a host they believe is a benign target, but that host runs a malicious HTTP server. The server responds with a 3xx redirect pointing at an internal service (e.g., http://169.254.169.254/ or an internal admin panel) reachable from the operator's network; because send_request_cgi! followed cross-host redirects without restriction in versions before 6.5.7, Metasploit issues the request on the attacker's behalf. No public exploit identified at time of analysis, though the fixing PR (rapid7/metasploit-framework#21979) documents the exact code path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 21, 2026

Server-side request forgery in Metasploit Framework before 6.5.7 allows an attacker-controlled HTTP server to redirect requests made through send_request_cgi! to arbitrary hosts reachable from the operator's network, including internal HTTP services. The CVSS 3.1 vector (4.7, AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N) reflects that no privileges are required but the operator must interact with the malicious endpoint, and scope is changed because internal services can be reached. No public exploit was identified at time of analysis, and the issue is fixed in 6.5.7 via a new HttpRedirectPolicy that defaults to same_host.

RemediationAI

Upgrade Metasploit Framework to 6.5.7 or later, which contains the vendor fix referenced in GitHub PR https://github.com/rapid7/metasploit-framework/pull/21979. After upgrading, verify HttpRedirectPolicy remains at its secure default of same_host, or set it to same_origin for stricter redirect handling; the allowlist policy with HttpRedirectOrigins can be used where legitimate cross-host redirects are required. If upgrading is not immediately possible, avoid running Metasploit modules against untrusted or potentially compromised HTTP servers, restrict outbound network access from the Metasploit host to only required internal HTTP services, and segment the operator workstation from sensitive services; these controls reduce exposure but do not fix the underlying redirect-following behavior. Note that same_host and same_origin policies may break legitimate workflows that depend on cross-host redirects, so validate module behavior after changing the policy.

Affected VersionsENISA

Metasploit Framework 0 <6.5.7

Affected Packages

euvd metasploit_framework fix: 6.5.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-918 (Server-Side Request Forgery) in the Ruby Metasploit Framework HTTP client helper lib/msf/core/exploit/remote/http_client.rb. send_request_cgi! previously followed 3xx redirects via reconfig_redirect_opts! without checking whether the redirect target changed host or origin, so a malicious HTTP server could return a Location header pointing at an internal service and cause the Metasploit process to issue a request to it. The upstream PR 21979 adds HttpRedirectPolicy (same_origin, same_host, allowlist; default same_host) and HttpRedirectOrigins, tracks request origins and connection options during redirect chains, and raises HttpRedirectSecurityError when a cross-origin redirect would carry sensitive request state such as cookies or authorization. The CVSS vector has PR:N but UI:R because the operator must run a module that contacts the attacker's server; S:C reflects that the redirected request can affect resources beyond the Metasploit component.

Know when Metasploit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (rapid7) PRIMARY 4.7 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
vuln.today AI 4.7 MEDIUM

Operator must initiate a request to an attacker-controlled server (UI:R) with no auth (PR:N); the SSRF pivots to other internal systems (S:C) exposing limited data (C:L), no integrity/availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (rapid7).

CVSS VectorVendor: rapid7

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Oct 21, 2026 - 02:17 EUVD

DescriptionCVE.org

Metasploit Framework versions before 6.5.7 allow HTTP requests made through send_request_cgi! to follow redirects to a different host without restricting the redirect destination. A malicious HTTP server can cause the system running Metasploit to make requests to arbitrary HTTP services reachable from the operator's network, including internal services that are not otherwise accessible to the attacker.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
de facto standard pentesting framework, security-practitioner footprint not production-wide
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2020-7384 HIGH POC
7.8 Oct 29

Rapid7's Metasploit msfvenom framework handles APK files in a way that allows for a malicious user to craft and publish

CVE-2020-7350 HIGH POC
7.8 Apr 22

Rapid7 Metasploit Framework versions before 5.0.85 suffers from an instance of CWE-78: OS Command Injection, wherein the

CVE-2020-7376 CRITICAL POC
9.8 Aug 24

The Metasploit Framework module "post/osx/gather/enum_osx module" is affected by a relative path traversal vulnerability

CVE-2020-7377 HIGH POC
7.5 Aug 24

The Metasploit Framework module "auxiliary/admin/http/telpho10_credential_dump" module is affected by a relative path tr

CVE-2019-5624 HIGH POC
7.3 Apr 30

Rapid7 Metasploit Framework suffers from an instance of CWE-22, Improper Limitation of a Pathname to a Restricted Direct

CVE-2017-15084 MEDIUM POC
6.5 Oct 06

The web UI in Rapid7 Metasploit before 4.14.1-20170828 allows logout CSRF, aka R7-2017-22. Rated medium severity (CVSS 6

CVE-2020-7355 MEDIUM POC
6.1 Jun 25

Cross-site Scripting (XSS) vulnerability in the 'notes' field of a discovered scan asset in Rapid7 Metasploit Pro allows

CVE-2020-7354 MEDIUM POC
5.4 Jun 25

Cross-site Scripting (XSS) vulnerability in the 'host' field of a discovered scan asset in Rapid7 Metasploit Pro allows

CVE-2026-87690 HIGH
8.8 Oct 12

Persistent code execution on a penetration tester's workstation is achievable through a relative path traversal (CWE-22)

CVE-2017-5235 HIGH
7.8 Mar 02

Rapid7 Metasploit Pro installers prior to version 4.13.0-2017022101 contain a DLL preloading vulnerability, wherein it i

CVE-2017-5244 LOW POC
3.5 Jun 15

Routes used to stop running Metasploit tasks (either particular ones or all tasks) allowed GET requests. Rated low sever

CVE-2017-5231 HIGH
7.1 Mar 02

All editions of Rapid7 Metasploit prior to version 4.13.0-2017020701 contain a directory traversal vulnerability in the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy