You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves two high-severity Dependabot alerts (#287, #288) for the transitive postcss dependency — both path-traversal / arbitrary-file-read issues in PostCSS's sourceMappingURL auto-loading:
CVE-2026-45623 / GHSA-6g55-p6wh-862q — arbitrary file read & information disclosure via attacker-controlled sourceMappingURL (patched in 8.5.12).
GHSA-r28c-9q8g-f849 — path traversal in previous-source-map auto-loading leading to arbitrary .map file disclosure (patched in 8.5.18).
postcss was pinned to 8.4.31 in yarn.lock, pulled in transitively by next (a peer/dev dependency of @aws-amplify/adapter-nextjs, constrained to >= 13.5.0 <17.0.0).
Rather than force a postcss resolution override, this bumps next — the package that brings postcss in. next@16.3.0 (released 2026-08-03, now latest) pins postcss@8.5.23, which satisfies both advisories. Since the existing peer/dev constraint already allows < 17.0.0, this is just a lockfile re-resolution — no manifest constraint change required.
Change:yarn.lock only — next re-resolves 16.2.11 → 16.3.0, which brings postcss 8.4.31 → 8.5.23 (single deduped entry).
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
osama-rizk
changed the title
fix(deps): bump postcss to ^8.5.18 to address path-traversal advisories (GHSA-6g55-p6wh-862q, GHSA-r28c-9q8g-f849)
fix(deps): bump next to 16.3.0 to pull patched postcss (GHSA-6g55-p6wh-862q, GHSA-r28c-9q8g-f849)
Aug 4, 2026
Good call — done. next@16.3.0 (released yesterday) pins postcss@8.5.23, and since @aws-amplify/adapter-nextjs's peer/dev range already allows < 17.0.0, I dropped the postcss resolution override and just let next re-resolve 16.2.11 → 16.3.0 in the lockfile. That pulls postcss 8.4.31 → 8.5.23, which clears both alerts (#287 needs ≥8.5.12, #288 needs ≥8.5.18). The diff is now yarn.lock-only with no manifest change.
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
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.
Description of changes
Resolves two high-severity Dependabot alerts (#287, #288) for the transitive
postcssdependency — both path-traversal / arbitrary-file-read issues in PostCSS'ssourceMappingURLauto-loading:sourceMappingURL(patched in8.5.12)..mapfile disclosure (patched in8.5.18).postcsswas pinned to8.4.31inyarn.lock, pulled in transitively bynext(a peer/dev dependency of@aws-amplify/adapter-nextjs, constrained to>= 13.5.0 <17.0.0).Rather than force a
postcssresolution override, this bumpsnext— the package that brings postcss in.next@16.3.0(released 2026-08-03, nowlatest) pinspostcss@8.5.23, which satisfies both advisories. Since the existing peer/dev constraint already allows< 17.0.0, this is just a lockfile re-resolution — no manifest constraint change required.Change:
yarn.lockonly —nextre-resolves16.2.11 → 16.3.0, which bringspostcss 8.4.31 → 8.5.23(single deduped entry).Issue #, if available
Dependabot alerts #287 and #288.
Description of how you validated changes
next@16.3.0declarespostcss@8.5.23(npm view next@16.3.0 dependencies.postcss), above the patched versions for both advisories.yarn.lock; verifiednextresolves to16.3.0and the singlepostcssentry is now8.5.23(no8.4.31remaining).yarn.lock; no manifest or source changes. CI will exercise the fullyarn testsuite against the updated tree.Checklist
yarn testpassesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.