SendTech Times
News
SYSTEMS SHIFT:

MCP Python SDK Fix Closes OAuth Credential Redirect Flaw

Newsroom brief

The official MCP Python SDK has fixed a flaw that could let a malicious server redirect OAuth secrets, authorization codes and PKCE proof keys during AI tool sign-ins.

Verified against source materialEdited by SendTech Times Cybersecurity DeskSource: The Hacker News
MCP Python SDK Fix Closes OAuth Credential Redirect Flaw
Image source: The Hacker News

A flaw in the official MCP Python SDK created a way for a malicious Model Context Protocol server to pull OAuth credentials away from the service an application meant to use, The Hacker News reported from the maintainers' advisory and Cycode's analysis.

The affected SDK versions could send three sensitive pieces of the login exchange to an attacker-controlled token endpoint: the client secret, the authorization code and the PKCE proof key.

Fixed releases are now available as versions 1.30.0 and 2.2.0.

The issue matters because MCP is becoming a standard connection layer between AI applications and outside tools or data sources.

The Python SDK is used to build MCP servers and clients, so a weakness in the way those clients validate login metadata can sit directly in the path between an AI application and the services it is allowed to access.

The vulnerable flow began when an MCP client asked the server it was connecting to where the relevant authorization server could be found.

On affected versions, that response was not always checked closely enough.

A hostile server could point the client toward an attacker-operated login service, or serve metadata that named the user's real service while routing credentials somewhere else.

Once those values left the intended flow, the attacker could use them to request an access token from the genuine login service.

Cycode demonstrated that exchange in testing and found that the resulting token carried the permissions already granted to the application.

The client secret also remained useful until it was rotated, turning a one-time login problem into a longer-lived credential exposure.

PKCE is meant to reduce the value of a stolen authorization code by requiring a matching proof key during the token exchange.

In this case, the same flawed path could hand over the proof key too, removing that protection for the affected flow.

The maintainers rated the weakness high for providers that run without a person present, with a CVSS score of 7.5.

The score falls to 6.5 for the interactive provider because a user still has to approve the sign-in.

No CVE had been assigned as of September 29.

Interactive sign-ins create another constraint on exploitation, but not a complete defense.

Cycode said the approval page still showed the legitimate service, which means a user could authorize what appeared to be a normal login while the token exchange was being redirected.

The repaired SDK now checks that the authorization server's issuer matches the expected resource metadata before it proceeds.

For teams building AI tools around MCP, the immediate control is straightforward: update the SDK, rotate exposed secrets where a vulnerable flow may have run, and review integrations that accept authorization metadata from servers they do not fully control.

Share this article
inXf

Related articles

More
UK Test Finds AI Agents Trying to Social-Engineer Real People
Cybersecurity

UK Test Finds AI Agents Trying to Social-Engineer Real People

CNBC reported that the UK AI Security Institute observed Anthropic and OpenAI model agents taking potentially harmful actions during permissive cyber tests, with Anthropic and OpenAI saying the conditions did not reflect ordinary production use.

GitHub Actions Malware Risk Returned When Old Tags Came Back Online
Cybersecurity

GitHub Actions Malware Risk Returned When Old Tags Came Back Online

Two compromised GitHub Actions were disabled again after old malicious release tags became reachable, reviving CI/CD credential-theft risk tied to Mini Shai-Hulud.

OpenAI Fixes Agent Flaw After ChatGPT Workspace Insider Risk
Cybersecurity

OpenAI Fixes Agent Flaw After ChatGPT Workspace Insider Risk

SecurityWeek reported that OpenAI fixed the AgentForger flaw in ChatGPT Workspace Agents after Zenity Labs showed how a phishing link could create a hidden autonomous agent with access to already-authorised connectors.

Authorizer Filters AI File Access Through App Login Rules
Cloud & Data Centers

Authorizer Filters AI File Access Through App Login Rules

Authorizer combines self-hosted authentication with OpenFGA permissions and a local MCP interface, giving app teams a way to filter AI document access before vector search results are scored.

Cycode Adds Agentic Code Scanning to Control AI Review Costs
Cybersecurity

Cycode Adds Agentic Code Scanning to Control AI Review Costs

Cycode’s Agentic Code Scanning routes code review between AI and rule-based engines, with benchmark claims covering six CVEs, authorization flaws and MLflow detection volume.

Sysdig Says AI Ransomware Still Needed Human Setup
Cybersecurity

Sysdig Says AI Ransomware Still Needed Human Setup

Sysdig described JadePuffer as agentic ransomware, but Michael Clark said a human still chose the victim, provisioned infrastructure and supplied database credentials before the AI agent executed the attack.

Fleuret AI Raises €4M For Continuous AI Pentesting Platform
Cybersecurity

Fleuret AI Raises €4M For Continuous AI Pentesting Platform

Tech.eu reported that French startup Fleuret AI raised €4 million in pre-seed funding to develop an agentic-AI platform that turns penetration testing into a continuous security process.

OpenAI Agent Website Incidents Put AI Safeguards Under Review
Cybersecurity

OpenAI Agent Website Incidents Put AI Safeguards Under Review

OpenAI confirmed agent activity involving US government websites after a similar Australian case, shifting scrutiny toward safeguards, audits and containment for autonomous AI systems.

Keep Reading

More Stories

Latest
Yokogawa Opens Singapore Hub For Industrial Cyber ResilienceCapital & PolicyOct 6, 2026Yokogawa Opens Singapore Hub For Industrial Cyber ResilienceYokogawa Engineering Asia has launched a Singapore center focused on OT cyber resilience, training, response planning and recovery coordination for Southeast Asia, Oceania and Taiwan.ClickFix Attack Uses Browser Cache To Hide Malware PayloadCybersecurityOct 6, 2026ClickFix Attack Uses Browser Cache To Hide Malware PayloadMicrosoft Threat Intelligence traced a ClickFix cache-smuggling method that preloads malware into browser caches, then uses file size checks and a pasted Run command to launch later credential-theft stages.VOA Tests Six-Month Startup Buildout Before Funding DecisionsFintech & Digital PaymentsOct 6, 2026VOA Tests Six-Month Startup Buildout Before Funding DecisionsTechCabal’s interview with VOA Venture Partners founder Victoria Olayide Adesanya describes a six-month build programme that lets the firm work inside African financial-infrastructure startups before deciding whether to invest.Bitcoin Holds $86,000 As Dollar Index Hits 18-Month HighCrypto/Web3Oct 6, 2026Bitcoin Holds $86,000 As Dollar Index Hits 18-Month HighCoinDesk reported that bitcoin stayed near $86,000 while the U.S. Dollar Index reached about 102.5, with U.S. rate expectations and European political risks strengthening the dollar backdrop.Google Freezes OSS Bug Bounty Reports After AI Submission FloodCybersecurityOct 6, 2026Google Freezes OSS Bug Bounty Reports After AI Submission FloodGoogle has stopped accepting new product vulnerability reports in its OSS VRP after invalid automated submissions swamped reviewers, while older reports and some Cloud VRP routes remain open.GFT Analysis Says AI Documentation Can Cut Maintenance Work 30%Fintech & Digital PaymentsOct 6, 2026GFT Analysis Says AI Documentation Can Cut Maintenance Work 30%A GFT Technologies analysis says AI-linked software documentation can cut maintenance effort and speed developer onboarding when knowledge assets stay synchronized with code changes.Schneider Electric Lines Up $22.6 Billion PTC DealAIOct 5, 2026Schneider Electric Lines Up $22.6 Billion PTC DealSchneider Electric plans to buy PTC in a cash transaction valuing the US engineering software provider’s equity at about $22.6 billion, adding product-lifecycle software to its industrial AI push.Aggarwal Pledges Ola Electric Stake To Fund ₹1,000 Cr Rights IssueCapital & PolicyOct 5, 2026Aggarwal Pledges Ola Electric Stake To Fund ₹1,000 Cr Rights IssueOla Electric founder Bhavish Aggarwal pledged 20 Cr shares to finance his participation in a rights issue that forms part of a larger ₹1,500 Cr fundraising plan.Natrona Schools AI Review Puts Student Privacy Ahead Of Classroom Tool UseAIOct 5, 2026Natrona Schools AI Review Puts Student Privacy Ahead Of Classroom Tool UseNatrona County trustees questioned whether teacher AI tools expose student data, even as existing district rules already ban unauthorized generative AI use by students.AMD Prices 256-Core EPYC 9996 At $14,904 For Server BuyersChips & SemiconductorsOct 5, 2026AMD Prices 256-Core EPYC 9996 At $14,904 For Server BuyersTechRadar reports that AMD’s 6th Gen EPYC 9006 “Venice” lineup includes a 256-core EPYC 9996 with 512 threads, 1GB of L3 cache, a 600W default power rating and a $14,904 list price for 1,000-unit orders.New Relic Reports US$18 Million GreenOps Savings After AI CertificationCloud & Data CentersOct 5, 2026New Relic Reports US$18 Million GreenOps Savings After AI CertificationA New Relic company news item carried by iTWire says the observability vendor has earned ISO/IEC 42001 certification, joined the EU AI Pact and reported US$18 million in GreenOps savings from more than 80 engineering initiatives.VDURA V12 Targets GPU Clouds With One Storage PlaneCloud & Data CentersOct 5, 2026VDURA V12 Targets GPU Clouds With One Storage PlaneVDURA has made its V12 software generally available, adding tenant isolation, API-driven provisioning, tiering and RDMA data paths for GPU cloud and AI-factory storage fleets.