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
{{ message }}
Repository navigation
fix(deps): override effect to 3.22.4 for CVE-2026-121707 - #375
A pnpm override moves effect from 3.20.0 to 3.22.4.
Why
Trivy now reports CVE-2026-121707 (high, ReDoS in Schema.TemplateLiteral, fixed in 3.22.1) in effect 3.20.0. It comes with @prisma/config, which prisma needs, and prisma ships in the control plane image because migrations run with prisma migrate deploy. The filesystem scan and the control plane image scan fail on every pull request until it is fixed (#373, #374).
@prisma/config 7.10.1 pins effect 3.20.0 exactly and no newer stable Prisma exists, so an override is the fix, as for the other transitive advisories in pnpm-workspace.yaml. 3.22.4 was published on 22 October, past the 7-day minimumReleaseAge; 3.22.5 is too recent.
How it was tested
pnpm install: the lockfile has one effect, 3.22.4.
pnpm gen:prisma: the Prisma client generates with it.
CI runs the migrations (integration tests) and both Trivy scans.
Security considerations
Closes a high advisory in a dependency of the control plane image. Remove the override once Prisma depends on a fixed effect.
Summary by CodeRabbit
Chores
Updated dependency resolution so older versions of a supporting package use a newer compatible release. This keeps package installs consistent across the workspace without changing any user-facing features.
effect 3.20.0 comes with @prisma/config, which ships in the control plane image for migrations. 3.22.4 is past the 7-day minimum release age.
Signed-off-by: samuel mbabhazi <[email protected]>
This updates a transitive dependency to a patched version to address a reported ReDoS vulnerability in the image used for migrations. No actionable merge-blocking risk is identified, and the override can be removed once Prisma updates its own dependency.
Architecture risk: Low · up to 76349
The change affects 1 system.
Changed systems:pnpm-workspace.yaml
Architecture concerns
No architecture-level concerns identified.
Review details
Systems and components
observed — pnpm-workspace.yaml (service) was modified; 1 changed file maps to changed impact.
Before / after behavior
observed — Modified behavior in pnpm-workspace.yaml: Adds an override resolving effect versions below 3.22.1 to 3.22.4, with comments identifying the advisory and dependency path.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: a pnpm override that moves effect to 3.22.4 to fix CVE-2026-121707. The raw summary confirms the only file change is the pnpm-workspace.yaml override for effect below …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: a pnpm override that moves effect to 3.22.4 to fix CVE-2026-121707. The raw summary confirms the only file change is the pnpm-workspace.yaml override for effect below 3.22.1. The title is specific, concise, and in conventional commit form.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between a9f2cf2 and 76349ed.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
Files selected for processing: 1
pnpm-workspace.yaml
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
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.
What changed
A pnpm override moves
effectfrom 3.20.0 to 3.22.4.Why
Trivy now reports CVE-2026-121707 (high, ReDoS in
Schema.TemplateLiteral, fixed in 3.22.1) ineffect3.20.0. It comes with@prisma/config, whichprismaneeds, andprismaships in the control plane image because migrations run withprisma migrate deploy. The filesystem scan and the control plane image scan fail on every pull request until it is fixed (#373, #374).@prisma/config7.10.1 pinseffect3.20.0 exactly and no newer stable Prisma exists, so an override is the fix, as for the other transitive advisories inpnpm-workspace.yaml. 3.22.4 was published on 22 October, past the 7-dayminimumReleaseAge; 3.22.5 is too recent.How it was tested
pnpm install: the lockfile has oneeffect, 3.22.4.pnpm gen:prisma: the Prisma client generates with it.Security considerations
Closes a high advisory in a dependency of the control plane image. Remove the override once Prisma depends on a fixed
effect.Summary by CodeRabbit