Skip to content

[Snyk] Security upgrade @langchain/core from 0.3.26 to 0.3.80#12

Open
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-af47cce8b78bf54031189345ce475028
Open

[Snyk] Security upgrade @langchain/core from 0.3.26 to 0.3.80#12
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-af47cce8b78bf54031189345ce475028

Conversation

@SMSDAO
Copy link
Owner

@SMSDAO SMSDAO commented Dec 27, 2025

snyk-top-banner

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

Snyk changed the following file(s):

  • examples/agent-kit-nextjs-langchain/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Deserialization of Untrusted Data
SNYK-JS-LANGCHAINCORE-14563113
  853  

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:

🦉 Deserialization of Untrusted Data

Copilot AI review requested due to automatic review settings December 27, 2025 05:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the @langchain/core dependency from version 0.3.26 to 0.3.80 in the Next.js LangChain example to address a critical deserialization vulnerability (SNYK-JS-LANGCHAINCORE-14563113) with a severity score of 853.

Key Changes

  • Updates @langchain/core version specification from ^0.3.17 to ^0.3.80 in the example project

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"dependencies": {
"@langchain/community": "^0.3.11",
"@langchain/core": "^0.3.17",
"@langchain/core": "^0.3.80",
Copy link

Copilot AI Dec 27, 2025

Choose a reason for hiding this comment

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

The pnpm-lock.yaml file needs to be updated to reflect this version change. The lock file currently references version 0.3.26 throughout, which means the security fix won't actually be applied until the lock file is regenerated. Run pnpm install to update the lock file and ensure the new version is actually used.

Copilot uses AI. Check for mistakes.
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.

3 participants