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): move re2js to 2.8.7 for CVE-2026-116795 - #1508
GHSA-gg6h-894w-4m9c (CVE-2026-116795), published today: re2js before 2.8.7 goes quadratic when the opt-in LOOKBEHINDS flag is combined with repeated matching. A 16,000 character input takes about 37 seconds of CPU.
drydock compiles user-supplied tag include, exclude and transform patterns with re2js, but every RE2JS.compile call in app/ uses the default flags. Lookbehinds are never turned on, so the slow path wasn't reachable. It's a patch bump that's been out since 2026-10-17, so I took the fix instead of triaging it. It also clears the qlty osv gate, which was failing on every push.
Verify:
cd app && npx vitest run --coverage.enabled=false tag watchers/providers/docker registries/BaseRegistry
qlty check --no-progress --all
The tag, Docker watcher and registry suites pass (2245 tests), and qlty exits clean.
Reviewing files that changed from the base of the PR and between 573906a and c61ad38.
Files ignored due to path filters: 2
CHANGELOG.md is excluded by !CHANGELOG.md
app/package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
Files selected for processing: 1
app/package.json
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
Walkthrough
The app package manifest updates the re2js dependency from version 2.8.6 to 2.8.7.
Priority: Low
Change: Other
Merge Risk: Minimal · up to c61ad
The dependency upgrade is consistently locked and compatible with the app's supported runtime, so no actionable merge risk remains.
Pre-merge checks: 2
Check name
Status
Explanation
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.
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
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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.
GHSA-gg6h-894w-4m9c (CVE-2026-116795), published today: re2js before 2.8.7 goes quadratic when the opt-in
LOOKBEHINDSflag is combined with repeated matching. A 16,000 character input takes about 37 seconds of CPU.drydock compiles user-supplied tag include, exclude and transform patterns with re2js, but every
RE2JS.compilecall inapp/uses the default flags. Lookbehinds are never turned on, so the slow path wasn't reachable. It's a patch bump that's been out since 2026-10-17, so I took the fix instead of triaging it. It also clears the qlty osv gate, which was failing on every push.Verify:
The tag, Docker watcher and registry suites pass (2245 tests), and qlty exits clean.
Changelog
re2jsfrom2.8.6to2.8.7to address GHSA-gg6h-894w-4m9c (CVE-2026-116795).Concerns
qlty checkstatus are not independently verified.