Cybersecurity news

Jessica Doner

Back to the list

Official MCP Python SDK Flaw Can Let Malicious Servers Steal OAuth Credentials

The Hacker News,

A flaw in the official MCP Python SDK allowed malicious servers to steal OAuth credentials by tricking applications into sending sensitive login data to attacker-controlled endpoints.

Vulnerabilities and patches

Overview

A security flaw in the official MCP Python SDKA bundle of code libraries, tools, and documentation that developers import to build apps for a platform allowed malicious serversA computer or program on a network that stores data and responds to requests from client devices to steal OAuthAn open standard that lets one app use another service without sharing your password credentialsThe login details, such as a username and password or key, that prove who an account belongs to from applications. The Model Context ProtocolAn open standard for connecting AI assistants to external data sources, files, and software tools is an open standard that connects AI applications to outside tools and data. The bug let attackers trick the software into sending sensitive login details to a fake server instead of the real one. This allowed the attacker to request a valid access tokenA short-lived digital pass that a server gives a logged-in user or app that carried the same permissionsThe specific rights granted to an account or app to read, write, or run files and services as the original application. The issue was rated high for providers that run without a person present. Applications using the SDK as an MCP client over HTTP with specific OAuth providers are affected if they connect to servers they do not fully control.

Terms in this story

SDK
A bundle of code libraries, tools, and documentation that developers import to build apps for a platform. Mobile app developers include third-party advertising or analytics SDKs in their apps, and a malicious or buggy SDK can quietly collect data from every app that bundles it.
Servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
OAuth
An open standard that lets one app use another service without sharing your password. When you click a button to sign in with an existing account or let a calendar app read your schedule, OAuth issues an access token without sharing your password. Security+ objective 4.6 lists the term
Credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
Model Context Protocol
An open standard for connecting AI assistants to external data sources, files, and software tools. Software teams use the Model Context Protocol so an AI coding tool or chatbot can query databases and run local commands, which makes securing those tool connections a major concern.
token
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
permissions
The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
MCP server
A connector program that gives an AI assistant access to a specific database, file system, or web API. When a developer connects an AI agent to an MCP server, a bug or malicious prompt in that connector can let the agent run unintended shell commands or read private files.
maintainers
The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
security advisory
An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
authorization
Checking whether an already logged-in user or program has permission to perform a specific action. Authentication checks who you are at the front door, while authorization decides whether your student account is allowed to read only your own grades or edit the class roster.
key
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related