Skip to content

CVE-2026-24307: Microsoft 365 Copilot Input Type Confusion & Information Disclosure

HERMES

HERMES THREAT SCORE & AGENTIC RISK

Target: Microsoft 365 Copilot Query Resolution & Ingress Type Serializer
Confidence: 97%
86 / 100
HIGH

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 18 / 20
Threat Activity 15 / 20
Weaponization 15 / 20
Exposure 18 / 20
Prevalence 19 / 20
Impact 16 / 20
Exploit Maturity 13 / 20
Attack Chain Potential 16 / 20
โš–๏ธ Divergence & Operational Rationale

While CVSS scores CVE-2026-24307 at 7.5 (High), Hermes Threat Score evaluates it at 86 (HIGH). In multi-tenant corporate environments, Microsoft 365 Copilot aggregates SharePoint, Teams, and Exchange data. When type validation flaws allow unauthenticated queries to cross tenant boundaries, the blast radius exposes proprietary organizational intelligence at scale.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-24307: Microsoft 365 Copilot Input Type Confusion & Information DisclosureVULNERABILITY

Connected Nodes: 4
Active Relationships (Outgoing)
→ affectsPRODUCTMicrosoft 365 Copilot
99% VERY_HIGH

Enterprise AI assistant integrated across Microsoft 365 apps with direct contextual access to Microsoft Graph corporate data.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Directly compromises Microsoft 365 Copilot input parsing engine.”

Supporting Verified Evidence:
→ exploitsAGENTIC ATTACK_PATTERNAAP-001: Direct System Prompt Override
94% VERY_HIGH

Adversary injects explicit formatting tags or role-inversion prompts directly into user input to strip system instructions and escape developer-enforced guardrails.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Type validation confusion enables bypassing prompt restrictions to read cross-tenant context.”

Supporting Verified Evidence:
→ affectsPRODUCTMicrosoft 365 Copilot
98% VERY_HIGH

Enterprise AI assistant integrated across Microsoft 365 apps with direct contextual access to Microsoft Graph corporate data.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Microsoft 365 Copilot documented in Hermes dossier.”

Supporting Verified Evidence:
→ exploitsAGENTIC ATTACK_PATTERNAAP-001: Direct System Prompt Override
92% VERY_HIGH

Adversary injects explicit formatting tags or role-inversion prompts directly into user input to strip system instructions and escape developer-enforced guardrails.

๐Ÿ” Why is this related? (Evidence & Provenance)

“CVE-2026-24307 weaponizes the agentic attack pattern formalized under AAP-001.”

Supporting Verified Evidence:

1. Architectural Context: Enterprise RAG and Ingress Parsing

Section titled โ€œ1. Architectural Context: Enterprise RAG and Ingress Parsingโ€

Microsoft 365 Copilot sits at the intersection of foundation models and the Microsoft Graph, a unified API linking enterprise emails, SharePoint sites, Teams chats, and OneDrive documents:

Adversary Network Request (Crafted Input Structure)
โ”‚
โ–ผ
M365 Copilot Ingress Gateway (API Parser)
โ”‚
โ–ผ (CWE-1287: Improper Type Validation)
Type Confusion in Identity & Scope Resolver
โ”‚
โ–ผ
Microsoft Graph Entity Search Engine (Scope Boundary Bypassed)
โ”‚
โ–ผ
Unfiltered Context Returned to Copilot LLM
โ”‚
โ–ผ
Sensitive Enterprise Information Leaked in Outbound Response

When users submit natural language queries, the Copilot frontend constructs a structured request object defining user identity, session tokens, and query metadata. The ingress gateway validates these parameters before invoking Graph search indexes.


The core vulnerability stems from CWE-1287 (Improper Validation of Specified Type of Input):

  1. Polymorphic Type Coercion: The API endpoint accepted request structures containing polymorphic field definitions. When an attacker supplied unexpected JSON data types (such as an array where a string scalar was expected, or an encapsulated dictionary mimicking an internal identity token), the parser coerced the parameter into an invalid intermediate state.
  2. Scope Filter Collapse: Because the coerced object failed identity filter checks without throwing a fatal serialization exception, downstream query compilers omitted the tenant isolation predicate from the resulting Graph query.
  3. Information Disclosure: The search engine executed the query with administrative or broad partition scope, reflecting documents belonging to other security groups or tenants into the modelโ€™s summarization window.

This flaw interfaces with AAP-001: Direct System Prompt Override and tenant boundary subversion:

  1. Request Formulation: The attacker crafts an HTTP request to the Copilot conversational endpoint containing malformed JSON structures with polymorphic type headers.
  2. Type Validation Bypass: The gateway parser processes the malformed types, coercing them into an unconstrained search query structure.
  3. Cross-Tenant / Unpartitioned Retrieval: The Microsoft Graph engine retrieves context records without enforcing the callerโ€™s organizational boundary.
  4. Data Exfiltration: The response streams back confidential emails, executive memos, or internal architectural documents directly across the network.

// Detect abnormal input type schemas and anomalous Graph API responses in Copilot telemetry
CopilotAuditLogs
| where TimeGenerated >= ago(7d)
| where ResultType != "Success" or ResponseSize > 5000000
| extend RequestPayload = parse_json(OriginalRequestPayload)
| where RequestPayload.queryType !in ("NaturalLanguage", "DocumentSummary", "EntityLookup")
| project TimeGenerated, UserId, TenantId, RequestPayload, ResultType

  1. Cloud-Side Patching: Microsoft deployed automated cloud-side updates across all Microsoft 365 Copilot regions; no administrator action on client endpoints was required.
  2. Strict Schema Validation (Defensive Engineering): Enterprise applications wrapping Copilot APIs should implement strict schema validation engines (e.g., Pydantic StrictStr or JSON Schema with additionalProperties: false) to drop polymorphic input types before reaching model orchestration layers.
  3. Continuous Auditing of Microsoft Graph Permissions: Regularly audit enterprise App Registrations and enterprise search scopes using Microsoft Purview to ensure the principle of least privilege is enforced.