@langchain/langgraph-checkpoint-mongodb@1.1.5 vulnerabilities

LangGraph

  • latest version

    1.2.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @langchain/langgraph-checkpoint-mongodb package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

    @langchain/langgraph-checkpoint-mongodb is a LangGraph

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the list method in the RedisSaver and ShallowRedisSaver classes when user-controlled input is directly interpolated into RediSearch queries without proper escaping. An attacker can access sensitive data from other threads by injecting special RediSearch syntax into filter parameters to bypass thread isolation and retrieve unauthorized checkpoint data.

    How to fix Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')?

    Upgrade @langchain/langgraph-checkpoint-mongodb to version 1.1.7 or higher.

    <1.1.7