Skip to content

Comments

[Snyk] Security upgrade @nestjs/graphql from 7.9.11 to 8.0.0#46

Open
greg-md wants to merge 1 commit intomainfrom
snyk-fix-10c99fa19012db16a3ccc21e38031afe
Open

[Snyk] Security upgrade @nestjs/graphql from 7.9.11 to 8.0.0#46
greg-md wants to merge 1 commit intomainfrom
snyk-fix-10c99fa19012db16a3ccc21e38031afe

Conversation

@greg-md
Copy link
Owner

@greg-md greg-md commented Jan 30, 2026

snyk-top-banner

Snyk has created this PR to fix 2 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
medium severity Directory Traversal
SNYK-JS-TAR-15032660
  693  
medium severity Directory Traversal
SNYK-JS-TAR-15127355
  596  

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:

🦉 Directory Traversal

Copilot AI review requested due to automatic review settings January 30, 2026 12:18
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 @nestjs/graphql from version 7.9.11 to 8.0.0 as a security fix for two Directory Traversal vulnerabilities (SNYK-JS-TAR-15032660 and SNYK-JS-TAR-15127355) in the tar dependency. However, this is a major version upgrade that introduces breaking changes requiring additional dependency updates.

Changes:

  • Upgraded @nestjs/graphql from ^7.9.11 to ^8.0.0 to address security vulnerabilities

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

"@nestjs/config": "^0.6.3",
"@nestjs/core": "^7.5.1",
"@nestjs/graphql": "^7.9.11",
"@nestjs/graphql": "^8.0.0",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

Upgrading @nestjs/graphql from version 7.9.11 to 8.0.0 requires upgrading the graphql package from version 14.7.0 to at least version 15.x. The current version ^14.7.0 is incompatible with @nestjs/graphql v8, which requires graphql v15 or higher. This will cause runtime errors when the application starts.

You should update the graphql dependency to "^15.3.0" or higher in the dependencies section.

Copilot uses AI. Check for mistakes.
"@nestjs/config": "^0.6.3",
"@nestjs/core": "^7.5.1",
"@nestjs/graphql": "^7.9.11",
"@nestjs/graphql": "^8.0.0",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

The apollo-server-fastify package at version ^2.21.0 may have compatibility issues with @nestjs/graphql v8. It is recommended to upgrade apollo-server-fastify to version 3.x to ensure compatibility with the newer @nestjs/graphql version.

Consider upgrading to "apollo-server-fastify": "^3.0.0" or higher.

Copilot uses AI. Check for mistakes.
"@nestjs/config": "^0.6.3",
"@nestjs/core": "^7.5.1",
"@nestjs/graphql": "^7.9.11",
"@nestjs/graphql": "^8.0.0",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

The @nestjs/graphql v8 upgrade may require updating other @nestjs packages to compatible versions. The current versions of @nestjs/common (^7.5.1) and @nestjs/core (^7.5.1) might not be fully compatible with @nestjs/graphql v8, which typically works best with @nestjs/core and @nestjs/common v8.x or higher.

Consider reviewing the compatibility matrix and upgrading the core NestJS packages to ensure proper integration.

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.

2 participants