From 4164180f602c69a5fbedf9f6ff80a541eace6c3d Mon Sep 17 00:00:00 2001 From: Al Snow <43523+jasnow@users.noreply.github.com> Date: Thu, 19 Nov 2026 20:28:59 -0500 Subject: [PATCH 1/3] Eight new graphql advisories --- gems/graphql/GHSA-492h-6x29-69mq.yml | 25 +++++++++++++++++++++++++ gems/graphql/GHSA-5f8h-c2xc-j37j.yml | 25 +++++++++++++++++++++++++ gems/graphql/GHSA-8wfw-p943-3jjp.yml | 28 ++++++++++++++++++++++++++++ gems/graphql/GHSA-pjx7-wx97-6wf8.yml | 24 ++++++++++++++++++++++++ gems/graphql/GHSA-qv9r-jc8m-v7ph.yml | 26 ++++++++++++++++++++++++++ gems/graphql/GHSA-rf3p-x6p2-rr4g.yml | 24 ++++++++++++++++++++++++ gems/graphql/GHSA-wc34-88mf-j95m.yml | 24 ++++++++++++++++++++++++ gems/graphql/GHSA-wqwf-8p4q-mwqj.yml | 24 ++++++++++++++++++++++++ 8 files changed, 200 insertions(+) create mode 100644 gems/graphql/GHSA-492h-6x29-69mq.yml create mode 100644 gems/graphql/GHSA-5f8h-c2xc-j37j.yml create mode 100644 gems/graphql/GHSA-8wfw-p943-3jjp.yml create mode 100644 gems/graphql/GHSA-pjx7-wx97-6wf8.yml create mode 100644 gems/graphql/GHSA-qv9r-jc8m-v7ph.yml create mode 100644 gems/graphql/GHSA-rf3p-x6p2-rr4g.yml create mode 100644 gems/graphql/GHSA-wc34-88mf-j95m.yml create mode 100644 gems/graphql/GHSA-wqwf-8p4q-mwqj.yml diff --git a/gems/graphql/GHSA-492h-6x29-69mq.yml b/gems/graphql/GHSA-492h-6x29-69mq.yml new file mode 100644 index 0000000000..72a9370e0a --- /dev/null +++ b/gems/graphql/GHSA-492h-6x29-69mq.yml @@ -0,0 +1,25 @@ +--- +gem: graphql +ghsa: 492h-6x29-69mq +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-492h-6x29-69mq +title: Authorization - `.authorized?` skipped after crafted connection cursors +date: 2026-11-17 +description: | + When a schema has at least one connection whose node type uses + reauthorize_scoped_objects(false), a client using crafted inputs + can skip authorized? on an unrelated object in the same query. + + GraphQL::Execution::Next is not affected. +unaffected_versions: + - "<= 2.0.18" +patched_versions: + - ">= 2.6.16" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.16 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2616-17-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-492h-6x29-69mq +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - "High" Severity from GHSA URL. diff --git a/gems/graphql/GHSA-5f8h-c2xc-j37j.yml b/gems/graphql/GHSA-5f8h-c2xc-j37j.yml new file mode 100644 index 0000000000..67084f86be --- /dev/null +++ b/gems/graphql/GHSA-5f8h-c2xc-j37j.yml @@ -0,0 +1,25 @@ +--- +gem: graphql +ghsa: 5f8h-c2xc-j37j +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-5f8h-c2xc-j37j +title: Crafted query strings can cause exponential backtracking in + the Ruby lexer on older Rubies +date: 2026-11-17 +description: | + Certain invalid query constructions could result in exponential CPU + consumption on older Rubies (<= 3.2.x). + Newer Rubies are not vulnerable. +cvss_v3: 5.3 +unaffected_versions: + - "<= 2.0.18" +patched_versions: + - ">= 2.6.16" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.16 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2616-17-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-5f8h-c2xc-j37j +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - cvss_v3 from GHSA URL. diff --git a/gems/graphql/GHSA-8wfw-p943-3jjp.yml b/gems/graphql/GHSA-8wfw-p943-3jjp.yml new file mode 100644 index 0000000000..635b2d69b2 --- /dev/null +++ b/gems/graphql/GHSA-8wfw-p943-3jjp.yml @@ -0,0 +1,28 @@ +--- +gem: graphql +ghsa: 8wfw-p943-3jjp +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-8wfw-p943-3jjp +title: 'Execution::Next ignores analysis errors, variable errors, + and unknown operation name errors when `validate: false`' +date: 2026-11-09 +description: | + With validate: false, Schema.execute_next (or use + GraphQL::Execution::Next, as_default: true) runs queries that analysis + or variable validation rejected. max_complexity, max_depth and other + analyzer errors, invalid or missing variables, and unknown operation + names are all ignored. (The legacy interpreter enforces all of + them with validate: false.) +cvss_v3: 5.9 +unaffected_versions: + - "< 2.5.21" +patched_versions: + - ">= 2.6.15" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.15 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2615-9-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-8wfw-p943-3jjp +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - cvss_v3 from GHSA URL. diff --git a/gems/graphql/GHSA-pjx7-wx97-6wf8.yml b/gems/graphql/GHSA-pjx7-wx97-6wf8.yml new file mode 100644 index 0000000000..b26af53d80 --- /dev/null +++ b/gems/graphql/GHSA-pjx7-wx97-6wf8.yml @@ -0,0 +1,24 @@ +--- +gem: graphql +ghsa: pjx7-wx97-6wf8 +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-pjx7-wx97-6wf8 +title: Exponential backtracking in regular expression +date: 2026-11-09 +description: | + Certain query string patterns led to exponential backtracking in + the GraphQL-Ruby parser. This issue also affects graphql-c_parser + because it used the same regular expression from GraphQL-Ruby. +cvss_v3: 7.5 +unaffected_versions: + - "< 1.0.1" +patched_versions: + - ">= 2.6.15" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.15 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2615-9-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-pjx7-wx97-6wf8 +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - cvss_v3 from GHSA URL. diff --git a/gems/graphql/GHSA-qv9r-jc8m-v7ph.yml b/gems/graphql/GHSA-qv9r-jc8m-v7ph.yml new file mode 100644 index 0000000000..5613bd261c --- /dev/null +++ b/gems/graphql/GHSA-qv9r-jc8m-v7ph.yml @@ -0,0 +1,26 @@ +--- +gem: graphql +ghsa: qv9r-jc8m-v7ph +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-qv9r-jc8m-v7ph +title: Fragment spreads can cause exponential work in validation, + analysis, execution and lookahead +date: 2026-11-09 +description: | + A crafted configuration of fragment spreads can make graphql-ruby + do work that doubles with every layer of fragments. This configuration + doesn't require a large query or a high "complexity" score. + Multiple components of GraphQL-Ruby were subject to this issue. +cvss_v3: 7.5 +unaffected_versions: + - "< 2.0.0" +patched_versions: + - ">= 2.6.15" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.15 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2615-9-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-qv9r-jc8m-v7ph +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - cvss_v3 from GHSA URL. diff --git a/gems/graphql/GHSA-rf3p-x6p2-rr4g.yml b/gems/graphql/GHSA-rf3p-x6p2-rr4g.yml new file mode 100644 index 0000000000..9fb4289ee5 --- /dev/null +++ b/gems/graphql/GHSA-rf3p-x6p2-rr4g.yml @@ -0,0 +1,24 @@ +--- +gem: graphql +ghsa: rf3p-x6p2-rr4g +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-rf3p-x6p2-rr4g +title: Execution::Next skips class-level Resolver/Mutation + .authorized?, so guarded resolvers run unauthorized +date: 2026-11-09 +description: | + With Execution::Next, class-level .authorized? hooks of Resolvers + (and Mutations) were not called. (Instance method #authorized? + hooks were properly called.) +unaffected_versions: + - "< 2.5.21" +patched_versions: + - ">= 2.6.15" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.15 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2615-9-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-rf3p-x6p2-rr4g +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - "High" Severity from GHSA URL. diff --git a/gems/graphql/GHSA-wc34-88mf-j95m.yml b/gems/graphql/GHSA-wc34-88mf-j95m.yml new file mode 100644 index 0000000000..e515cea9f3 --- /dev/null +++ b/gems/graphql/GHSA-wc34-88mf-j95m.yml @@ -0,0 +1,24 @@ +--- +gem: graphql +ghsa: wc34-88mf-j95m +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-wc34-88mf-j95m +title: Bypass max_complexity (in "legacy" mode) +date: 2026-11-09 +description: | + With the default complexity_cost_calculation_mode (:legacy), a + client can bypass max_complexity by adding one connection field + by using crafted inputs. The query runs at a cost far above the limit. +cvss_v3: 7.5 +unaffected_versions: + - "< 2.0.0" +patched_versions: + - ">= 2.6.15" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.15 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2615-9-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-wc34-88mf-j95m +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - cvss_v3 from GHSA URL. diff --git a/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml b/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml new file mode 100644 index 0000000000..0df1e97d7c --- /dev/null +++ b/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml @@ -0,0 +1,24 @@ +--- +gem: graphql +ghsa: wqwf-8p4q-mwqj +url: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-wqwf-8p4q-mwqj +title: Exponential time when calculating complexity +date: 2026-11-17 +description: | + When max_complexity is set, a small, valid crafted query can cause + the complexity analyzer take exponential time. The work happens + outside validate_timeout, the query is not rejected and max_depth + does not prevent it. +unaffected_versions: + - "<= 2.3.0" +patched_versions: + - ">= 2.6.16" +related: + url: + - https://rubygems.org/gems/graphql/versions/2.6.16 + - https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md#2616-17-nov-2026 + - https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-wqwf-8p4q-mwqj +notes: | + - gem name is graphql and repo name is graphql-ruby. + - No CVE from GHSA URL. + - "High" Severity from GHSA URL. From 4462630ccd61e3e847a0231f12d4a2cff348de8a Mon Sep 17 00:00:00 2001 From: Al Snow <43523+jasnow@users.noreply.github.com> Date: Sat, 21 Nov 2026 10:14:25 -0500 Subject: [PATCH 2/3] Apply suggestion from @flavorjones Co-authored-by: Mike Dalessio --- gems/graphql/GHSA-492h-6x29-69mq.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gems/graphql/GHSA-492h-6x29-69mq.yml b/gems/graphql/GHSA-492h-6x29-69mq.yml index 72a9370e0a..3bad8a61ee 100644 --- a/gems/graphql/GHSA-492h-6x29-69mq.yml +++ b/gems/graphql/GHSA-492h-6x29-69mq.yml @@ -11,7 +11,7 @@ description: | GraphQL::Execution::Next is not affected. unaffected_versions: - - "<= 2.0.18" + - "< 2.1.0" patched_versions: - ">= 2.6.16" related: From a77daaea899b54aed9786b045792cc912fc858ef Mon Sep 17 00:00:00 2001 From: Al Snow <43523+jasnow@users.noreply.github.com> Date: Sat, 21 Nov 2026 10:14:42 -0500 Subject: [PATCH 3/3] Apply suggestion from @flavorjones Co-authored-by: Mike Dalessio --- gems/graphql/GHSA-wqwf-8p4q-mwqj.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml b/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml index 0df1e97d7c..faa9e08a68 100644 --- a/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml +++ b/gems/graphql/GHSA-wqwf-8p4q-mwqj.yml @@ -10,7 +10,7 @@ description: | outside validate_timeout, the query is not rejected and max_depth does not prevent it. unaffected_versions: - - "<= 2.3.0" + - "< 2.3.0" patched_versions: - ">= 2.6.16" related: