langgraph-cli@0.4.21

CLI for interacting with LangGraph API

  • latest version

    0.4.38

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the langgraph-cli 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
    • M
    Insertion of Sensitive Information into Log File

    langgraph-cli is a CLI for interacting with LangGraph API

    Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the --image-uri flag in langgraph deploy, where the CLI pushes a built Docker image to a caller-supplied registry URI using whatever Docker credentials are present in the environment without validating the destination registry. An attacker with local access who can influence the URI passed to the command can redirect the image push to an untrusted registry, exposing the contents of the built image, which may include application code or embedded secrets.

    Note: This is only exploitable if a LangSmith API key with access to the deployment is available and the deployment is subsequently updated to reference the pushed image digest.

    How to fix Insertion of Sensitive Information into Log File?

    Upgrade langgraph-cli to version 0.4.32 or higher.

    [0.4.15,0.4.32)