fastmcp
🚀 The fast, Pythonic way to build MCP servers and clients.
Activity
- Latest release
- 1w ago
- Total releases
- 120
- Cadence
- ~3 days
- Last 12 months
- 57
Reach
- Stars
- 27.6k
Details
- License
- Apache-2.0
- First release
- Nov 30, 2024
| Version | Released | |
|---|---|---|
4.0.3
patch
| ||
4.0.2
patch
| ||
4.0.1
patch
| ||
4.0.0
major
| ||
4.0.0b5
pre
| ||
4.0.0b4
pre
| ||
4.0.0b3
pre
| ||
3.4.7
patch
| ||
4.0.0b2
pre
| ||
3.4.6
patch
| ||
4.0.0b1
pre
| ||
3.4.5
patch
| ||
4.0.0a2
pre
| ||
4.0.0a1
pre
| ||
3.4.4
patch
| ||
3.4.3
patch
| ||
3.4.2
patch
| ||
3.4.1
patch
| ||
3.4.0
minor
| ||
3.4.0b1
pre
| ||
3.3.1
patch
| ||
3.3.0
minor
| ||
3.3.0b2
pre
| ||
3.3.0b1
pre
| ||
3.2.4
patch
| ||
2.14.7
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.2.3
patch
| ||
3.2.2
patch
| ||
3.2.1
patch
| ||
3.2.0
minor
| ||
2.14.6
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.1.1
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.1.0
minor
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.2
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.1
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.0
major
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.0rc3
pre
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.0rc2
pre
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.0rc1
pre
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.0b2
pre
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.14.5
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.14.4
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
3.0.0b1
pre
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.14.3
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.14.2
patch
3 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.14.1
patch
4 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-69196
PYSEC-2026-2474
GHSA-5h2m-4q8j-pqpj
Jul 13, 2026
FastMCP OAuth Proxy token reuse across MCP servers
Critical
Network
High
None
While testing the OAuth Proxy implementation, it was noticed that the server does not properly respect the Affected File: https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/oauth_proxy.py#L828 Affected Code:
Since the issued access and refresh tokens do not include information about the resource the token was issued for, it is impossible for the MCP server to properly verify whether the token was issued for it, hence violating the requirement of doing so demanded by the specification. Being able to verify whether the token was issued for the target MCP server enforces the protections offered by the steps proposed by the specification and the Resource Indicators OAuth extension. Therefore, this misconfiguration exposes all MCP server setups using the FastMCP OAuth Proxy to an attack where an adversary creates a malicious MCP server that advertises the benign OAuth Proxy authorization server as its own authorization server. Once a victim completes an OAuth flow with this malicious MCP server, authenticating against the AS, the adversary can extract the token received at the malicious MCP server and use it to access other MCP servers (the benign ones) that also use the same AS, including the tools and resources they expose. Steps to reproduce:
ImpactThis vulnerability allows an adversary to steal a victim’s authentication material for a benign MCP server using the FastMCP OAuth Proxy. The severity of this issue was decreased to Medium due to the consent screen showing the name of the MCP server the OAuth Proxy was intended for. However, a victim might not see it or get otherwise convinced by the attacker to ignore it, and overall this does not act as a proper mitigation for this issue. MitigationTo mitigate this vulnerability, it is recommended to issue tokens specifically for the MCP server submitted in the authorization URL’s Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 63 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.2
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.14.0
minor
4 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-69196
PYSEC-2026-2474
GHSA-5h2m-4q8j-pqpj
Jul 13, 2026
FastMCP OAuth Proxy token reuse across MCP servers
Critical
Network
High
None
While testing the OAuth Proxy implementation, it was noticed that the server does not properly respect the Affected File: https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/oauth_proxy.py#L828 Affected Code:
Since the issued access and refresh tokens do not include information about the resource the token was issued for, it is impossible for the MCP server to properly verify whether the token was issued for it, hence violating the requirement of doing so demanded by the specification. Being able to verify whether the token was issued for the target MCP server enforces the protections offered by the steps proposed by the specification and the Resource Indicators OAuth extension. Therefore, this misconfiguration exposes all MCP server setups using the FastMCP OAuth Proxy to an attack where an adversary creates a malicious MCP server that advertises the benign OAuth Proxy authorization server as its own authorization server. Once a victim completes an OAuth flow with this malicious MCP server, authenticating against the AS, the adversary can extract the token received at the malicious MCP server and use it to access other MCP servers (the benign ones) that also use the same AS, including the tools and resources they expose. Steps to reproduce:
ImpactThis vulnerability allows an adversary to steal a victim’s authentication material for a benign MCP server using the FastMCP OAuth Proxy. The severity of this issue was decreased to Medium due to the consent screen showing the name of the MCP server the OAuth Proxy was intended for. However, a victim might not see it or get otherwise convinced by the attacker to ignore it, and overall this does not act as a proper mitigation for this issue. MitigationTo mitigate this vulnerability, it is recommended to issue tokens specifically for the MCP server submitted in the authorization URL’s Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 63 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.2
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev | ||
2.13.3
patch
5 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-69196
PYSEC-2026-2474
GHSA-5h2m-4q8j-pqpj
Jul 13, 2026
FastMCP OAuth Proxy token reuse across MCP servers
Critical
Network
High
None
While testing the OAuth Proxy implementation, it was noticed that the server does not properly respect the Affected File: https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/oauth_proxy.py#L828 Affected Code:
Since the issued access and refresh tokens do not include information about the resource the token was issued for, it is impossible for the MCP server to properly verify whether the token was issued for it, hence violating the requirement of doing so demanded by the specification. Being able to verify whether the token was issued for the target MCP server enforces the protections offered by the steps proposed by the specification and the Resource Indicators OAuth extension. Therefore, this misconfiguration exposes all MCP server setups using the FastMCP OAuth Proxy to an attack where an adversary creates a malicious MCP server that advertises the benign OAuth Proxy authorization server as its own authorization server. Once a victim completes an OAuth flow with this malicious MCP server, authenticating against the AS, the adversary can extract the token received at the malicious MCP server and use it to access other MCP servers (the benign ones) that also use the same AS, including the tools and resources they expose. Steps to reproduce:
ImpactThis vulnerability allows an adversary to steal a victim’s authentication material for a benign MCP server using the FastMCP OAuth Proxy. The severity of this issue was decreased to Medium due to the consent screen showing the name of the MCP server the OAuth Proxy was intended for. However, a victim might not see it or get otherwise convinced by the attacker to ignore it, and overall this does not act as a proper mitigation for this issue. MitigationTo mitigate this vulnerability, it is recommended to issue tokens specifically for the MCP server submitted in the authorization URL’s Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 63 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.2
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev
GHSA-rcfx-77hg-w2wv
Dec 26, 2025
FastMCP updated to MCP 1.23+ due to CVE-2025-66416
High
There was a recent CVE report on MCP: https://nvd.nist.gov/vuln/detail/CVE-2025-66416. FastMCP does not use any of the affected components of the MCP SDK directly. However, FastMCP versions prior to 2.14.0 did allow MCP SDK versions <1.23 that were vulnerable to CVE-2025-66416. Users should upgrade to FastMCP 2.14.0 or later. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 61 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.0
References Updated Dec 26, 2025 · Source: OSV.dev | ||
2.13.2
patch
5 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-69196
PYSEC-2026-2474
GHSA-5h2m-4q8j-pqpj
Jul 13, 2026
FastMCP OAuth Proxy token reuse across MCP servers
Critical
Network
High
None
While testing the OAuth Proxy implementation, it was noticed that the server does not properly respect the Affected File: https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/oauth_proxy.py#L828 Affected Code:
Since the issued access and refresh tokens do not include information about the resource the token was issued for, it is impossible for the MCP server to properly verify whether the token was issued for it, hence violating the requirement of doing so demanded by the specification. Being able to verify whether the token was issued for the target MCP server enforces the protections offered by the steps proposed by the specification and the Resource Indicators OAuth extension. Therefore, this misconfiguration exposes all MCP server setups using the FastMCP OAuth Proxy to an attack where an adversary creates a malicious MCP server that advertises the benign OAuth Proxy authorization server as its own authorization server. Once a victim completes an OAuth flow with this malicious MCP server, authenticating against the AS, the adversary can extract the token received at the malicious MCP server and use it to access other MCP servers (the benign ones) that also use the same AS, including the tools and resources they expose. Steps to reproduce:
ImpactThis vulnerability allows an adversary to steal a victim’s authentication material for a benign MCP server using the FastMCP OAuth Proxy. The severity of this issue was decreased to Medium due to the consent screen showing the name of the MCP server the OAuth Proxy was intended for. However, a victim might not see it or get otherwise convinced by the attacker to ignore it, and overall this does not act as a proper mitigation for this issue. MitigationTo mitigate this vulnerability, it is recommended to issue tokens specifically for the MCP server submitted in the authorization URL’s Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 63 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.2
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev
GHSA-rcfx-77hg-w2wv
Dec 26, 2025
FastMCP updated to MCP 1.23+ due to CVE-2025-66416
High
There was a recent CVE report on MCP: https://nvd.nist.gov/vuln/detail/CVE-2025-66416. FastMCP does not use any of the affected components of the MCP SDK directly. However, FastMCP versions prior to 2.14.0 did allow MCP SDK versions <1.23 that were vulnerable to CVE-2025-66416. Users should upgrade to FastMCP 2.14.0 or later. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 61 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.0
References Updated Dec 26, 2025 · Source: OSV.dev | ||
2.13.1
patch
5 CVEs
CVE-2026-27124
PYSEC-2026-2476
GHSA-rww4-4w9c-7733
Jul 13, 2026
FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
High
Network
Low
None
None
SummaryWhile testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. Technical DetailsAn adversary can initiate an authentication flow by connecting their malicious MCP client to a benign MCP server using the GitHubProvider OAuth integration. During this flow, the attacker consents to connect their client to the MCP server and, at that point, can capture the GitHub authorization URL they are redirected to after granting consent. The attacker can then lure a victim, who is already logged into GitHub and has previously connected an MCP client to the benign MCP server, to open this captured URL. As a result, the victim’s browser is immediately redirected to the OAuthProxy’s callback endpoint, which does not correctly enforce that this browser has just given consent. The OAuthProxy then redirects the victim’s browser to the malicious MCP client’s callback URL with a valid authorization code. The attacker can exchange this code for an access token to the benign MCP server associated with the victim’s GitHub account, potentially gaining unauthorized access to resources tied to that account. Although this issue was verified in practice only for the GitHubProvider, a review of the source code, specifically the Skipping the consent page is not, by itself, a vulnerability on the IdP side. Many providers legitimately skip consent for first-party or previously authorized clients with the same scopes. In this case, the core problem lies in the OAuthProxy callback handler not correctly verifying that the browser issuing the callback request is the same one that has just given the required consent. Steps to reproduce
In a more realistic scenario, the malicious client could be a public MCP client or a simple web server that logs the received authorization code or token, which the attacker then uses to obtain the access token and connect to the MCP server as the victim. RecommendationTo mitigate this issue, the OAuthProxy should verify that the browser sending the authorization code has actually given consent for the corresponding client. This can be achieved by setting and validating a consent cookie or similar browser-bound state, as described in the mitigations section for this vulnerability in the MCP specification. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-64340
PYSEC-2026-2475
GHSA-m8x7-r2rg-vh5g
Jul 13, 2026
FastMCP has a Command Injection vulnerability - Gemini CLI
6.7
/ 10
Medium
Local
High
Low
Required
Unchanged
High
High
High
Server names containing shell metacharacters (e.g., PoC:
On Windows, this opens Calculator via the Impact:
Arbitrary command execution with the privileges of the user running Patched in #3522 by validating server names to reject shell metacharacters. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2025-69196
PYSEC-2026-2474
GHSA-5h2m-4q8j-pqpj
Jul 13, 2026
FastMCP OAuth Proxy token reuse across MCP servers
Critical
Network
High
None
While testing the OAuth Proxy implementation, it was noticed that the server does not properly respect the Affected File: https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/oauth_proxy.py#L828 Affected Code:
Since the issued access and refresh tokens do not include information about the resource the token was issued for, it is impossible for the MCP server to properly verify whether the token was issued for it, hence violating the requirement of doing so demanded by the specification. Being able to verify whether the token was issued for the target MCP server enforces the protections offered by the steps proposed by the specification and the Resource Indicators OAuth extension. Therefore, this misconfiguration exposes all MCP server setups using the FastMCP OAuth Proxy to an attack where an adversary creates a malicious MCP server that advertises the benign OAuth Proxy authorization server as its own authorization server. Once a victim completes an OAuth flow with this malicious MCP server, authenticating against the AS, the adversary can extract the token received at the malicious MCP server and use it to access other MCP servers (the benign ones) that also use the same AS, including the tools and resources they expose. Steps to reproduce:
ImpactThis vulnerability allows an adversary to steal a victim’s authentication material for a benign MCP server using the FastMCP OAuth Proxy. The severity of this issue was decreased to Medium due to the consent screen showing the name of the MCP server the OAuth Proxy was intended for. However, a victim might not see it or get otherwise convinced by the attacker to ignore it, and overall this does not act as a proper mitigation for this issue. MitigationTo mitigate this vulnerability, it is recommended to issue tokens specifically for the MCP server submitted in the authorization URL’s Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 63 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.2
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-32871
PYSEC-2026-338
GHSA-vv7q-7jx5-f767
Jun 29, 2026
FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
Critical
Network
Low
None
None
Technical DescriptionThe A critical vulnerability exists in the Since Vulnerable CodeFile:
Root Cause
Proof of ConceptStep 1: Backend API SetupCreate
Step 2: Exploitation ScriptCreate
Expected Output
The attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials. Impact AssessmentSeverity Justification
Attack Scenarios
RemediationRecommended FixURL-encode all path parameter values before substitution to ensure reserved characters ( Updated code for
Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 79 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.14.0
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.14.7
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
3.0.0
3.0.0b1
3.0.0b2
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.1.0
3.1.1
Fixed in
3.2.0
References
Updated Jul 01, 2026 · Source: OSV.dev
GHSA-rcfx-77hg-w2wv
Dec 26, 2025
FastMCP updated to MCP 1.23+ due to CVE-2025-66416
High
There was a recent CVE report on MCP: https://nvd.nist.gov/vuln/detail/CVE-2025-66416. FastMCP does not use any of the affected components of the MCP SDK directly. However, FastMCP versions prior to 2.14.0 did allow MCP SDK versions <1.23 that were vulnerable to CVE-2025-66416. Users should upgrade to FastMCP 2.14.0 or later. Affected versions
0.1.0
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.4.1
1.0
2.0.0
+ 61 more Show less
2.1.0
2.1.1
2.1.2
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.0rc1
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.13.0
2.13.0.1
2.13.0.2
2.13.0rc1
2.13.0rc2
2.13.0rc3
2.13.1
2.13.2
2.13.3
2.2.0
2.2.1
2.2.10
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0rc1
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
Fixed in
2.14.0
References Updated Dec 26, 2025 · Source: OSV.dev |