Skip to content

[Snyk] Security upgrade @langchain/community from 0.3.2 to 0.3.58#34

Open
christophebe wants to merge 1 commit intomainfrom
snyk-fix-0e20813fed431e8c508bbe8817854596
Open

[Snyk] Security upgrade @langchain/community from 0.3.2 to 0.3.58#34
christophebe wants to merge 1 commit intomainfrom
snyk-fix-0e20813fed431e8c508bbe8817854596

Conversation

@christophebe
Copy link
Copy Markdown
Owner

@christophebe christophebe commented Nov 20, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Prototype Pollution
SNYK-JS-EXPREVAL-13508636
  751  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution


Note

Upgrades @langchain/community to 0.3.58, bumps package version to 0.1.7, and updates the lockfile with numerous transitive dependency changes.

  • Dependencies:
    • Upgrade @langchain/community from 0.3.20.3.58 in package.json.
    • Bump package version to 0.1.7.
    • Refresh package-lock.json with many transitive updates/additions (e.g., @langchain/weaviate, weaviate-client, newer langsmith, zod), including replacement of expr-eval with math-expression-evaluator.

Written by Cursor Bugbot for commit 75ddc2f. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

"js-yaml": "^4.1.0",
"langchain": ">=0.2.3 <0.4.0",
"langsmith": "~0.1.56",
"langchain": ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Incompatible langchain version with upgraded @langchain/community

The upgraded @langchain/community version 0.3.58 requires langchain version >=0.2.3 <0.3.0 || >=0.3.4 <0.4.0, but the project has langchain version 0.3.2 installed. Version 0.3.2 falls in the excluded range between 0.3.0 and 0.3.4, causing npm to install a separate langchain version 0.3.36 specifically for @langchain/community. This results in two different versions of langchain in the dependency tree, which can cause type incompatibilities, behavioral differences, and increased bundle size when application code interacts with @langchain/community.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants