@langchain/core@0.3.80 vulnerabilities

Core LangChain.js abstractions and schemas

  • latest version

    1.1.24

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    14 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @langchain/core 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
    Server-side Request Forgery (SSRF)

    @langchain/core is a Core LangChain.js abstractions and schemas

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the RecursiveUrlLoader class. An attacker can access internal or sensitive resources by influencing crawled page content to include links that bypass origin and IP address validation, causing the process to fetch attacker-controlled or internal URLs.

    Note: This is only exploitable if the process runs in an environment with access to internal networks or cloud metadata services.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade @langchain/core to version 1.1.14 or higher.

    <1.1.14