CWE
94
Advisory Published
Updated

GHSA-q92j-grw3-h492: Code Injection

First published: Wed Mar 12 2025(Updated: )

# Summary Loading a malicious schema definition in `GraphQL::Schema.from_introspection` (or `GraphQL::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](https://github.com/github-community-projects/graphql-client) to load external schemas via GraphQL introspection.

Affected SoftwareAffected VersionHow to fix
rubygems/graphql>=1.11.5<1.11.11
1.11.11
rubygems/graphql>=2.1.0<2.1.15
2.1.15
rubygems/graphql>=1.12.0<1.12.25
1.12.25
rubygems/graphql>=1.13.0<1.13.24
1.13.24
rubygems/graphql>=2.0.0<2.0.32
2.0.32
rubygems/graphql>=2.2.10<2.2.17
2.2.17
rubygems/graphql>=2.3.0<2.3.21
2.3.21
rubygems/graphql>=2.4.0<2.4.13
2.4.13

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of GHSA-q92j-grw3-h492?

    The severity of GHSA-q92j-grw3-h492 is high due to the potential for remote code execution.

  • How do I fix GHSA-q92j-grw3-h492?

    To fix GHSA-q92j-grw3-h492, upgrade to GraphQL version 1.11.8, 1.12.25, 1.13.24, 2.0.32, 2.1.14, 2.2.17, 2.3.21, or 2.4.13.

  • What types of applications are affected by GHSA-q92j-grw3-h492?

    Applications that load a GraphQL schema from untrusted JSON sources are vulnerable to GHSA-q92j-grw3-h492.

  • Can GHSA-q92j-grw3-h492 impact production environments?

    Yes, GHSA-q92j-grw3-h492 can significantly impact production environments due to the risk of remote code execution.

  • What is the recommended action for developers regarding GHSA-q92j-grw3-h492?

    Developers should immediately update their GraphQL library to a secure version to mitigate risks associated with GHSA-q92j-grw3-h492.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203