Update dependency graphql to v2.1.15 [SECURITY] #148
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.
This PR contains the following updates:
2.1.0->2.1.15graphql allows remote code execution when loading a crafted GraphQL schema
CVE-2025-27407 / GHSA-q92j-grw3-h492
More information
Details
Summary
Loading a malicious schema definition in
GraphQL::Schema.from_introspection(orGraphQL::Schema::Loader.load) can result in remote code execution. Any system which loads a schema by JSON from an untrusted source is vulnerable, including those that use GraphQL::Client to load external schemas via GraphQL introspection.Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
rmosolgo/graphql-ruby (graphql)
v2.1.15Compare Source
v2.1.13Compare Source
v2.1.12Compare Source
v2.1.11Compare Source
v2.1.10Compare Source
v2.1.9Compare Source
Bug fixes
v2.1.8Compare Source
New features
prepare: check for the named method on the argument owner, too #4717v2.1.7Compare Source
New features
NullContextinherit fromContext, to make typechecking easier #4709Schema.query_classto use for executing queries #4679Bug fixes
reauthorize_scoped_objectsto false #4720subscriptions.triggerwith custom enum values #4713backtrace: truewith GraphQL-Pro@defer#4708to_hfrom Input Object validation error message #4701v2.1.6Compare Source
Breaking Changes
config.graphql.parser_cache = trueto your Rails environment setup to enable it. #4648New features
ISO8601Durationscalar #4688Bug fixes
v2.1.5Compare Source
Bug fixes
Schema.default_loggerwhen Rails is present but doesn't have a logger #4686v2.1.4Compare Source
New features
Query#logger#4674with_alias:option #2912load_application_object_failed#4667Bug fixes
Connection#initializeoutside of execution #4675Subscriptions#trigger#4673definition_methodswhen interfaces implement other interfaces #4670NullContextto use the built-in Singleton module #4669ScopeExtension#after_resolveoutside of execution #4685one_of?checks #4680v2.1.3Compare Source
Bug fixes
GraphQL::Schema#4663raccas a dependency because it's not included by default in Ruby 3.3 #4661v2.1.2Compare Source
New features
count_introspection_fields: false#4658get_fiber_variablesandset_fiber_variables#4593Schema.default_trace_mode#4642Bug fixes
hash_key:: use the configured hash key when the underlying Hash has a default value Proc #4656v2.1.1Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.