[Aikido] Fix security issue in next via minor version upgrade from 15.4.8 to 15.5.21 - #756
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
Conversation
|
🚨 gitStream Monthly Automation Limit Reached 🚨 Your organization has exceeded the number of pull requests allowed for automation with gitStream. To continue automating your PR workflows and unlock additional features, please contact LinearB. |
✅ Security Analysis ResultsGreat news! No security issues found in this pull request. Analysis Summary:
💡 Trigger a new security scan by commenting Security analysis powered by Claude Sonnet 4.6 via pr-auditor | Questions? Contact #dx-team or check out this page |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade Next.js to fix SSRF in WebSocket requests and multiple DoS vulnerabilities in App Router endpoints via malicious deserialization.
✅ Code not affected by breaking changes.
✅ No breaking changes from the Next.js 15.4.8 to 15.5.16 upgrade affect this codebase.
The codebase analysis shows:
No
next.config.jsfile exists, so no experimental flags (dynamicIO,strictNextHead,cacheComponents) are configuredNo usage of
useMDXComponentsfoundNo usage of
cookies()orheaders()fromnext/headersfoundNo AMP-related code (
useAmp,withAmp, oramp:config) foundNo usage of
unstable_rootParamsfoundNo middleware file exists
The
app/layout.tsxis a server component but doesn't use any deprecated APIsAll other components in the app directory are client components (marked with
'use client')The demo Next.js application uses only stable Next.js APIs like
next/link,next/router, andnext/navigation, which are unaffected by these breaking changes.All breaking changes by upgrading next from version 15.4.8 to 15.5.21 (CHANGELOG)
experimental.strictNextHead: #81882window.next.turbopackinstead: #82580✅ 6 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
🤖 Remediation details
Upgrade
nextto resolve multiple security vulnerabilitiesShort summary
This PR fixes several high- and medium-severity vulnerabilities in the
nextpackage by upgrading it from15.4.8to15.5.21in both the rootpackage.json(devDependencies) and thepackages/demo-nextjsworkspace memberpackage.json. Theyarn.locklockfile was refreshed accordingly, leaving a single resolved instance ofnextat15.5.21.next
nextwas declared as an exact-pinned direct dependency in two places: the monorepo rootpackage.jsonand thepackages/demo-nextjsworkspace manifest. Both pins were updated from15.4.8to15.5.21— the smallest 15.x release that satisfies all patched-version floors across the full set of advisories in scope (the highest floor being15.5.21for CVE-2026-64644, which was itself introduced by an intermediate upgrade to15.5.16). Becausenextis a direct dependency in both manifests, no parent-chain or resolution override was needed; a standardyarn install --ignore-engines --ignore-scriptsfrom the lockfile root was sufficient to produce a clean, single-entry lockfile block at the target version.Version changes
next15.4.815.5.21package.jsondevDependency)next15.4.815.5.21packages/demo-nextjsworkspace dependency)@next/env15.4.815.5.21nextbump@next/swc-linux-x64-gnu15.4.815.5.21nextbump@next/swc-linux-x64-musl15.4.815.5.21nextbump