flawopen.com/AI Security/microsoft-copilot-cosnitch-cve-2026-24301-autorun-information-disclosure
CoSnitch: Microsoft Copilot CVE-2026-24301
Varonis reports that a crafted Copilot Personal link could auto-run a prompt and expose connected data. Microsoft said enterprise customers were unaffected; it shipped a service-side fix on August 18, 2026.[2], [3], [4], [5]
Imagine a receptionist who normally reads a visitor’s note aloud and waits for the visitor to say “send it.” A hidden switch on the note makes the receptionist act as soon as the note is opened, then use their approved directory and mail service to send information outside. Varonis says CoSnitch combined that kind of automatic prompt execution with Copilot’s connected-data access and web-fetch feature. The user still had to click the link; the reported flaw removed the confirmation step after the page opened.[4], [5]
Core Concepts & Subsystem Terms
CVE-2026-24301- Microsoft’s CVE record describes a Copilot information-disclosure vulnerability. The record assigns
CWE-77and CVSS 3.1 8.8 High; the cited CVSS vector requires user interaction. According to Varonis, the reported chain affected Copilot Personal; Microsoft told Dark Reading that enterprise customers were unaffected. The Microsoft CVE record describes the issue as affecting Copilot Web, while public records do not give detailed product-build ranges.[2], [3], [1], [4], [5] CoSnitch- Varonis Threat Labs’ name for its reported chain involving a prompt URL parameter, automatic execution, connected-app queries, and outbound URL fetching. This mechanics account is researcher-reported, not a Microsoft source-code disclosure.[4], [5]
Prompt prefill and auto-run- Varonis reports that Copilot’s q parameter could prefill a prompt and that an undocumented autorun parameter caused it to execute when the page loaded. Clicking the crafted link was still a precondition.[4]
Framework mappings
- CWE reference for the weakness described in this guide: CWE-77
- OWASP GenAI 2025 — LLM01:2025 Prompt Injection
- OWASP GenAI 2025 — LLM02:2025 Sensitive Information Disclosure
- OWASP GenAI 2025 — LLM06:2025 Excessive Agency
Step-by-Step Attack Flow
A user clicks a crafted Copilot link
Varonis reports that the link targeted Copilot Personal and combined a prompt-prefill parameter with an undocumented auto-run parameter. The required click matches the CVE record’s user-interaction-required vector. Microsoft’s CVE record labels the affected product Copilot Web; the public record does not provide a detailed product-build range.[4], [2], [5]
The prompt runs without a second confirmation
According to Varonis, the auto-run behavior caused the prefilled prompt to execute when Copilot loaded. The researcher’s report says the user did not need to press Enter after opening the link. Microsoft’s advisory does not publish the underlying code or detailed trigger conditions.[4], [5]
Copilot queries data already connected to the account
Varonis says its demonstration used Copilot’s connected-app permissions to retrieve selected email, calendar, or file information. This is a researcher-reported impact path; it does not mean every account had every connector enabled or that the connectors themselves were compromised.[4], [5]
A web-fetch capability provides an egress path
Varonis reports that a prompt could direct Copilot to fetch an external URL containing retrieved data. The article does not reproduce the report’s live URLs, request strings, or exfiltration payloads. Varonis said it had no evidence of in-the-wild exploitation at disclosure.[4]
Microsoft ships a hosted-service fix
Varonis says Microsoft shipped patches on August 18, 2026, and that no customer action was required. The Microsoft CVE record confirms the issue’s classification and score but does not describe the mitigation. Treat this as a service-side fix, not a client package or version to install.[4], [5], [1]
Source Code: Flaw vs. Secure Implementation
Microsoft has not published the affected source code or a patch diff in the cited records. This bounded design model routes execution only through a visible button’s trusted click event; URL-controlled text can fill a preview but cannot itself trigger execution. A production system must also enforce authorization at the tool boundary. This is not a reconstruction of Copilot internals or a claim about Microsoft’s exact fix.[4], [3]
// ABSTRACT RISK MODEL — not Microsoft source code
function onCopilotPageLoad(url, assistant) {
const prompt = url.searchParams.get('q');
if (prompt && url.searchParams.get('autorun') === '1') {
return assistant.execute(prompt);
}
return assistant.showPrompt(prompt);
}
// SAFE DESIGN MODEL — not Microsoft's patch
function onCopilotPageLoad(url, assistant, render, executeButton) {
const prompt = url.searchParams.get('q') ?? '';
// URL input may populate a preview, never authorize an action.
render.showPromptPreview(prompt);
executeButton.addEventListener('click', (event) => {
if (!event.isTrusted) return;
// Only a trusted click on the visible execute button reaches this call.
assistant.execute(prompt);
});
}
Engineering & System Hardening Checklist
- ✓Treat URL parameters as untrusted input; let them populate a visible preview, never authorize an AI action by themselves.[4]
- ✓Keep a visible, explicit user gesture between externally supplied prompt text and consequential tool or connector execution.[4]
- ✓Grant assistants only the connected-app permissions needed for the user’s task, and review unused connectors.[4], [5]
- ✓FlawOpen analysis: Apply independent authorization and destination controls before an assistant fetches external URLs or sends data outside the tenant.
- ✓For
CVE-2026-24301, Varonis reports that Microsoft deployed a service-side fix on August 18, 2026, with no customer action required; do not invent a client version or local patch step.[4], [5], [1] - ✓FlawOpen analysis: For any suspected exposure, review connected-account access and relevant service logs using the vendor’s current guidance; the public sources reviewed here do not provide a CVE-specific customer detection procedure.
Sources
- Microsoft Security Response Center — CVE-2026-24301
- CVE record — Microsoft CNA data for CVE-2026-24301
- GitHub Advisory Database — CVE-2026-24301 (CWE-77; source code unavailable)
- Varonis Threat Labs — CoSnitch disclosure and researcher-reported mechanics
- Dark Reading — Microsoft’s reported product-scope statement and disclosure timeline