Skip to content

Commit fd8213b

Browse files
deps: bump mcp lower bound to 1.23.0 for GHSA-9h52-p55h-vw2f (#927)
`mcp` versions `>=1.19.0,<1.23.0` are affected by [GHSA-9h52-p55h-vw2f](https://osv.dev/vulnerability/GHSA-9h52-p55h-vw2f) (CVE-2025-66416), which disables DNS rebinding protection by default for HTTP-based localhost MCP servers. `mcp 1.23.0` enables that protection, so requiring `>=1.23.0` prevents new `claude-agent-sdk` installs from resolving to a vulnerable `mcp` version. Fixes #921 Co-authored-by: Joaquin Hui Gomez <joaquinhuigomez@users.noreply.github.com>
1 parent 5ce669c commit fd8213b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
"anyio>=4.0.0",
2929
"sniffio>=1.0.0",
3030
"typing_extensions>=4.0.0; python_version<'3.11'",
31-
"mcp>=1.19.0",
31+
"mcp>=1.23.0",
3232
]
3333

3434
[project.optional-dependencies]

0 commit comments

Comments
 (0)