Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. fastmcp
  4. ›
  5. CVE-2026-27124

CVE-2026-27124: FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities

March 31, 2026 (updated April 6, 2026)

While 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.

References

  • github.com/PrefectHQ/fastmcp
  • github.com/PrefectHQ/fastmcp/security/advisories/GHSA-rww4-4w9c-7733
  • github.com/advisories/GHSA-rww4-4w9c-7733
  • github.com/jlowin/fastmcp/security/advisories/GHSA-rww4-4w9c-7733
  • nvd.nist.gov/vuln/detail/CVE-2026-27124

Code Behaviors & Features

Detect and mitigate CVE-2026-27124 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2.0

Fixed versions

  • 3.2.0

Solution

Upgrade to version 3.2.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')

Source file

pypi/fastmcp/CVE-2026-27124.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:34 +0000.