Repository navigation
fix: Object write with a reserved field name can make reads fail on MongoDB (GHSA-gwrq-q25v-g8mr) - #10764
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe change rejects writes to internal fields from ordinary requests, permits master-key and maintenance-key writes, normalizes null context values, and skips unrecognized reserved Mongo keys when converting stored objects. ChangesInternal Field Handling
Priority: ⬆️ High Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is established; the change is ready for normal checks. Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning)
✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-8.x.x #10764 +/- ##
=================================================
+ Coverage 92.27% 92.69% +0.42%
=================================================
Files 192 192
Lines 16326 16336 +10
Branches 238 238
=================================================
+ Hits 15065 15143 +78
+ Misses 1236 1172 -64
+ Partials 25 21 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
## [8.6.100](8.6.99...8.6.100) (2026-10-08) ### Bug Fixes * Object write with a reserved field name can make reads fail on MongoDB ([GHSA-gwrq-q25v-g8mr](GHSA-gwrq-q25v-g8mr)) ([#10764](#10764)) ([9133478](9133478))
|
🎉 This change has been released in version 8.6.100 |
Issue
Object write with a reserved field name can make reads fail on MongoDB (GHSA-gwrq-q25v-g8mr)
Tasks