Cyber Resilience

CVE-2026-52869

Access Control in Lfprojects Mcp Python Sdk ≤ 1.27.2

Published
15 July 2026
Modified
17 July 2026
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
EPSS Score 0.0032 24th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-52869 is a high-severity Authorization Bypass Through User-Controlled Key (CWE-639) vulnerability in Lfprojects Mcp Python Sdk. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Web Session Cookie (T1550.004); ranked at the 24th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations; in the Protocol-Specific Risks risk domain.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SC-23 (Session Authenticity) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to 1.27.2, the SSE and stateful Streamable HTTP transports mcp.server.sse.SseServerTransport and mcp.server.streamable_http_manager.StreamableHTTPSessionManager route requests to existing sessions using only the session_id…

more

query parameter or Mcp-Session-Id header without verifying the authenticated principal that created the session, allowing a different bearer-token-authenticated client with a known session ID to inject JSON-RPC messages into that session. This issue is fixed in version 1.27.2.

CWE(s)

AI Security AnalysisAI

AI Category
AI Agent Protocols and Integrations
Risk Domain
Protocol-Specific Risks
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: mcp, mcp, model context protocol, mcp, mcp, mcp, mcp

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1550.004 Web Session Cookie Lateral Movement
Adversaries can use stolen session cookies to authenticate to web applications and services.
Why these techniques?

Authorization bypass on session ID allows authenticated attacker to inject into another principal's session using known ID + own valid token, directly facilitating web session hijacking via alternate session material.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-66416Same product: Lfprojects Mcp Python Sdk
CVE-2026-52870Same product: Lfprojects Mcp Python Sdk
CVE-2026-59950Same product: Lfprojects Mcp Python Sdk
CVE-2026-33946Same vendor: Lfprojects
CVE-2026-44430Same vendor: Lfprojects
CVE-2025-68144Same vendor: Lfprojects
CVE-2025-68145Same vendor: Lfprojects
CVE-2026-25536Same vendor: Lfprojects
CVE-2025-66414Same vendor: Lfprojects
CVE-2026-29791Same vendor: Lfprojects

Affected Assets

lfprojects
mcp python sdk
≤ 1.27.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • SC-23 Session Authenticity
  • AC-16 Security and Privacy Attributes
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires the system to enforce access control policies on every request, which would prevent routing JSON-RPC messages to a session without verifying the authenticated principal that owns it.

prevent

Requires protection of session authenticity, ensuring session identifiers are bound to the original authenticated principal rather than accepted from any bearer token that supplies a known ID.

prevent

Enables binding security attributes (such as the creating principal) to the session identifier so that subsequent requests can be authorized only when the attribute matches.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 full match
prevents

Enforcing authorization policy and least privilege directly blocks user-controlled key tampering that bypasses access checks.

PR.IR-01 mostly match
prevents

Logical access controls prevent unauthorized data access that results from missing authorization checks on object references.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect missing authorization checks but does not prevent the weakness in production.

prevents

Information access restriction explicitly enforces that users may only retrieve data they are authorized to see, directly addressing user-controlled key bypass.

prevents

Access control policy directly requires enforcement of authorization rules that prevent unauthorized access via manipulated keys.

prevents

Managing access rights includes ensuring users can only access their own records and not bypass authorization by altering identifiers.

mitigates

Privileged access rights control restricts what data each user may access, mitigating direct object reference attacks.

prevents

Secure development lifecycle includes authorization design but does not itself implement runtime access checks.

References