fastmcp-slim is vulnerable to Insertion of Sensitive Information into Log File
30
CVE Score
Low
Insertion of Sensitive Information into Log File
FastMCP.call_tool() in fastmcp_slim/fastmcp/server/server.py logs PydanticValidationError.errors() as a warning when a tool's arguments fail validation. The default error detail includes the caller's arguments, nested dict values, and custom field_validator messages, so untrusted argument values and custom validator text are written to application logs. The fix adds _validation_error_summary(), which calls error.errors(include_url=False, include_context=False, include_input=False) and logs only an error_count and a bucketed type, with "custom_error" for non-builtin types.
Upgrade the fastmcp-slim and/or the fastmcp library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and are running a FastMCP server that logs tool call validation failures from client supplied tool arguments.
3.3.0 - 4.0.3
Fixed in 4.0.4fastmcp-slim is vulnerable to Insertion of Sensitive Information into Log File in versions 3.3.0 - 4.0.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.