This release includes 1 security fix for security teams reviewing exposed deployments.
Published 1mo
MCP Developer Tools
✓ No known CVEs patched
This release patches 1 known CVE
Topics
mcp
mcp-client
mcp-sdk
mcp-server
mcp-servers
rust
Affected surfaces
rce_ssrf
Summary
AI summarySymlink-based path escapes are now rejected at file creation, hardening CLI writes.
Full changelog
[3.1.1] - 2026-04-21
Patch release consolidating canonical types, hardening filesystem path handling,
and cleaning up deprecated surfaces left over from 3.1.0.
Security
- Symlink-based path escapes rejected at file creation —
crates/turbomcp-cli/src/path_security.rs. The CLI's write path now canonicalizes each ancestor of a target before creating a file, so a symlink planted inside an allowed root that points outside it is caught instead of being followed. Pre-3.1.1 only the final component was checked, leaving a TOCTOU-adjacent escape for CLI-driven writes.
Types / Context
turbomcp-typesis now the sole canonical home for MCP types — completes the consolidation started in 3.1.0. Duplicate definitions previously living inturbomcp-protocolandturbomcp-corehave been removed; downstream crates re-export fromturbomcp-types. No behavior change for consumers using theturbomcpprelude.RequestContextunified with bidirectional session state —crates/turbomcp-types/turbomcp-core. Server-initiated requests (elicitation, sampling, roots) and inbound request handling now share one context type instead of two parallel shapes.
Fixes
StreamableHttpClientTransportdoc example handles initialization errors —crates/turbomcp-http/src/transport.rs. The rustdoc example now propagates theResultreturned bynew()(the 3.1.0 API change) instead of.unwrap()-ing.- WASM cleanup —
crates/turbomcp-wasm. Removed unnecessary.into()calls and tightened test assertions.
Chore
MemoryTokenStoredeprecation removed — the deprecation attribute and migration shim are gone; the store is a first-class in-memory backend again. Callers that were silencing the deprecation warning can drop the#[allow(deprecated)]annotations.- Dependency audit configuration updated —
deny.tomlnarrowed to the advisories still applicable post-3.1.0 TLS CVE fixes. - Clippy cleanup across the workspace.
Full Changelog: https://github.com/Epistates/turbomcp/compare/v3.1.0...v3.1.1
Security Fixes
- CVE‑2026‑XXXXX – Symlink-based path escapes are rejected at file creation, fixing a TOCTOU‑adjacent escape in CLI writes (hardened in `crates/turbomcp-cli/src/path_security.rs`)
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Related context
Beta — feedback welcome: [email protected]