CVE-2026-130336 (GCVE-0-2026-130336)

Vulnerability from cvelistv5 – Published: 2026-11-25 04:26 – Updated: 2026-11-25 04:26
VLAI
Title
Eval injection in Metasploit Framework HWBridge custom method names
Summary
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the HWBridge custom methods command dispatcher (lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb) in Rapid7 Metasploit Framework versions prior to 6.5.10 on all platforms allows a malicious or compromised hardware bridge to execute arbitrary code in the msfconsole process via a crafted method_name returned by the /custom_methods endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command.
CWE
  • CWE-95 - Improper neutralization of directives in dynamically evaluated code ('eval injection')
Impacted products
Vendor Product Version
Rapid7 Metasploit Framework Affected: 0 , < 6.5.10 (semver)
Unaffected: 6.5.10 (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://github.com/rapid7/metasploit-framework",
          "defaultStatus": "unaffected",
          "packageName": "metasploit-framework",
          "platforms": [
            "All"
          ],
          "product": "Metasploit Framework",
          "programFiles": [
            "lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb"
          ],
          "repo": "https://github.com/rapid7/metasploit-framework",
          "vendor": "Rapid7",
          "versions": [
            {
              "lessThan": "6.5.10",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.5.10",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Jatin Mannepalli"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "DREAM Security Research Group: Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, Shir Sadon"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027) in the HWBridge custom methods command dispatcher (\u003ccode\u003elib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb\u003c/code\u003e) in Rapid7 Metasploit Framework versions prior to 6.5.10 on all platforms allows a malicious or compromised hardware bridge to execute arbitrary code in the msfconsole process via a crafted \u003ccode\u003emethod_name\u003c/code\u003e returned by the \u003ccode\u003e/custom_methods\u003c/code\u003e endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command."
            }
          ],
          "value": "Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027) in the HWBridge custom methods command dispatcher (lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb) in Rapid7 Metasploit Framework versions prior to 6.5.10 on all platforms allows a malicious or compromised hardware bridge to execute arbitrary code in the msfconsole process via a crafted method_name returned by the /custom_methods endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-242",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-242 Code Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-95",
              "description": "CWE-95 Improper neutralization of directives in dynamically evaluated code (\u0027eval injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T04:26:22.192Z",
        "orgId": "9974b330-7714-4307-a722-5648477acda7",
        "shortName": "rapid7"
      },
      "references": [
        {
          "name": "Fix: Fixes HWBridge custom method names (PR #22111)",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/rapid7/metasploit-framework/pull/22111"
        },
        {
          "name": "Metasploit Framework 6.5.10 release",
          "tags": [
            "release-notes"
          ],
          "url": "https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Upgrade to Metasploit Framework 6.5.10 or later."
            }
          ],
          "value": "Upgrade to Metasploit Framework 6.5.10 or later."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Eval injection in Metasploit Framework HWBridge custom method names",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eUntil upgraded, only connect msfconsole to hardware bridges that you control and trust.\u003c/p\u003e"
            }
          ],
          "value": "Until upgraded, only connect msfconsole to hardware bridges that you control and trust."
        }
      ],
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9974b330-7714-4307-a722-5648477acda7",
    "assignerShortName": "rapid7",
    "cveId": "CVE-2026-130336",
    "datePublished": "2026-11-25T04:26:22.192Z",
    "dateReserved": "2026-11-16T23:19:42.289Z",
    "dateUpdated": "2026-11-25T04:26:22.192Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://github.com/rapid7/metasploit-framework",
                "defaultStatus": "unaffected",
                "packageName": "metasploit-framework",
                "platforms": [
                  "All"
                ],
                "product": "Metasploit Framework",
                "programFiles": [
                  "lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb"
                ],
                "repo": "https://github.com/rapid7/metasploit-framework",
                "vendor": "Rapid7",
                "versions": [
                  {
                    "lessThan": "6.5.10",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "6.5.10",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "cve@rapid7.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027) in the HWBridge custom methods command dispatcher (lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb) in Rapid7 Metasploit Framework versions prior to 6.5.10 on all platforms allows a malicious or compromised hardware bridge to execute arbitrary code in the msfconsole process via a crafted method_name returned by the /custom_methods endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command."
          }
        ],
        "id": "CVE-2026-130336",
        "lastModified": "2026-11-25T05:18:29.723",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.6,
              "impactScore": 5.9,
              "source": "cve@rapid7.com",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-25T05:18:29.723",
        "references": [
          {
            "source": "cve@rapid7.com",
            "url": "https://github.com/rapid7/metasploit-framework/pull/22111"
          },
          {
            "source": "cve@rapid7.com",
            "url": "https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10"
          }
        ],
        "sourceIdentifier": "cve@rapid7.com",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-95"
              }
            ],
            "source": "cve@rapid7.com",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…