{"answers":{"affected":"3 open source packages ship an affected version, including mcp-contextforge-gateway.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53708 exists.","fix":"Upgrade mcp-contextforge-gateway to 1.0.3 or later.","what":"CVE-2026-53708 is a medium-severity server-side request forgery vulnerability in IBM mcp-context-forge, published on 14 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53708 and fix it if it is affected.\n\nWhat it is: CVE-2026-53708 is a medium-severity server-side request forgery vulnerability in IBM mcp-context-forge, published on 14 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53708 exists.\n\nAffected packages and fixed versions:\n- mcp-contextforge-gateway (PyPI): affected all versions; fixed in 1.0.3\n- mcp-contextforge-gateway (PyPI): affected all versions; fixed in 1.0.3\n- mcp-contextforge-gateway (PyPI): affected all versions; fixed in 1.0.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-53708/ (Markdown: https://insights.sbomify.com/CVE-2026-53708/index.md)","id":"CVE-2026-53708","markdown":"https://insights.sbomify.com/CVE-2026-53708/index.md","name":"CVE-2026-53708","record":{"aliases":["GHSA-9hgc-g3w5-67cm","PYSEC-2026-3684"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"AI gateway proxy","requires_auth":"high_privilege","summary":"Attacker with specific permissions can bypass SSRF protections via DNS rebinding to access internal services and cloud metadata.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"},{"id":"CWE-350","name":"Reliance on Reverse DNS Resolution for a Security-Critical Action"}],"description":"ContextForge is an AI gateway, registry, and proxy that provides centralized discovery, guardrails, and management for MCP, A2A, and REST or gRPC APIs. Prior to 1.0.3, the /admin/gateways/test call site in mcpgateway/admin.py calls validate_gateway_test_url() in mcpgateway/common/validators.py to resolve and reject private, loopback, link-local, and cloud-metadata addresses, but ResilientHttpClient later resolves the original hostname again without binding the validated address. When MCPGATEWAY_ADMIN_API_ENABLED is enabled, an attacker with a database-backed role containing explicit gateways.read permission can use DNS rebinding to return a public address during validation and a private or metadata address during connection, bypassing ssrf_blocked_networks and ssrf_dns_fail_closed because those controls apply only to the validation-time result. The endpoint's allow_admin_bypass=False setting means a bootstrap-only virtual platform-admin identity without a database role is not sufficient. Successful exploitation can reach internal services and cloud metadata, expose cloud credentials, access internal APIs, or probe internal network ports. This issue is fixed in version 1.0.3.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ContextForge: DNS TOCTOU race condition causes SSRF protection bypass (`/admin/gateways/test`)","id":"CVE-2026-53708","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Hardcoded credentials in mcp-context-forge","id":"CVE-2026-53709"},"packages":[{"ecosystem":"PyPI","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"mcp-contextforge-gateway","purl":null,"source":"GHSA-9hgc-g3w5-67cm"},{"ecosystem":"PyPI","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"mcp-contextforge-gateway","purl":"pkg:pypi/mcp-contextforge-gateway","source":"GHSA-9hgc-g3w5-67cm"},{"ecosystem":"PyPI","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"mcp-contextforge-gateway","purl":"pkg:pypi/mcp-contextforge-gateway","source":"PYSEC-2026-3684"}],"prev":{"headline":"Other in prevail","id":"CVE-2026-53706"},"products":["mcp-context-forge","mcp-contextforge-gateway"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["IBM"]},"summary":"Attacker with specific permissions can bypass SSRF protections via DNS rebinding to access internal services and cloud metadata.","url":"https://insights.sbomify.com/CVE-2026-53708/"}