[Aikido] Fix security issue in next via minor version upgrade from 15.4.8 to 15.5.21 - #759
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
Conversation
✅ Security Analysis ResultsNo security issues found. 3 files reviewed.
|
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 critical SSRF, DoS, and connection exhaustion vulnerabilities affecting self-hosted and App Router deployments.
✅ 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 does not use any of the deprecated or removed features:
No
experimental.dynamicIOorexperimental.cacheComponentsconfigurationNo
useMDXComponentsusageNo
experimental.strictNextHeadconfigurationNo
cookies()orheaders()imports fromnext/headersNo
window.next.turbopackreferencesNo AMP configuration
No
unstable_rootParamsusageNo middleware files that would be affected by the node middleware stabilization
The Next.js demo application (
packages/demo-nextjs) uses only standard Next.js features likeuseSearchParams,useRouter, and client components marked with'use client', none of which are affected by the breaking changes in version 15.5.0.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
Bump
nextto 15.5.21 to resolve multiple HIGH/MEDIUM security advisoriesShort summary
This PR remediates several HIGH and MEDIUM severity vulnerabilities in the
nextpackage by updating its pinned version across the repository. Thenextdependency appears as an exact-version pin in two manifests — the rootpackage.json(devDependencies) and the workspace memberpackages/demo-nextjs/package.json(dependencies) — and the corresponding resolved entry inyarn.lockwas refreshed to match.next
nextwas pinned at the exact version15.4.8in both the rootpackage.jsonandpackages/demo-nextjs/package.json. All targeted advisories require a minimum of15.5.21in the 15.x line (the highest floor among all advisories in scope, set by CVE-2026-64644), so both exact pins were updated to15.5.21in a single edit batch and the lockfile was refreshed viayarn install --ignore-engines --ignore-scripts. Because both manifests declared the same exact version, they constitute a related-package group and were moved together to the same target. Noresolutionsoverride was needed; the direct manifest bump was sufficient to resolve the patched version in the lockfile.Version changes
next15.4.815.5.21package.jsondevDependencies +packages/demo-nextjs/package.jsondependencies)