fix: GraphQL __type introspection bypass via inline fragments when public introspection is disabled (GHSA-q5q9-2rhp-33qw)#10111
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. 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. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughThe pull request enhances GraphQL introspection detection by replacing a root-level-only AST traversal with a recursive function that detects Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #10111 +/- ##
=======================================
Coverage 92.67% 92.68%
=======================================
Files 191 191
Lines 15872 15879 +7
Branches 180 180
=======================================
+ Hits 14710 14717 +7
Misses 1150 1150
Partials 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
__type introspection bypass via inline fragments when public introspection is disabled (GHSA-q5q9-2rhp-33qw)
# [9.5.0-alpha.10](9.5.0-alpha.9...9.5.0-alpha.10) (2026-03-06) ### Bug Fixes * GraphQL `__type` introspection bypass via inline fragments when public introspection is disabled ([GHSA-q5q9-2rhp-33qw](https://github.com/parse-community/parse-server/security/advisories/GHSA-q5q9-2rhp-33qw)) ([#10111](#10111)) ([61261a5](61261a5))
|
🎉 This change has been released in version 9.5.0-alpha.10 |
Pull Request
Issue
GraphQL
__typeintrospection bypass via inline fragments when public introspection is disabled (GHSA-q5q9-2rhp-33qw)Note: Parse Server 8 sets Apollo's
introspection: falsedirectly, which natively blocks__typeeverywhere — including inline fragments. Parse Server 9 changed this tointrospection: trueand delegated control to a custom plugin, which is where the gap was introduced.Tasks
Summary by CodeRabbit
Bug Fixes
Tests