Is github.com/vektah/gqlparser/v2 2.1 vulnerable?

Go · 1 release from 2.1.0 to 2.1.0 · latest github.com/vektah/gqlparser/v2 is 2.5.64 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. github.com/vektah/gqlparser/v2 2.1.0, the last 2.1 release, is affected by 2 known security advisories (1 medium, 1 low), including CVE-2023-49559, CVE-2023-49559. Upgrade to 2.5.14 or later to fix all of them.

Upgrade with:go get github.com/vektah/gqlparser/v2@v2.5.14

Is your project on an affected github.com/vektah/gqlparser/v2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting github.com/vektah/gqlparser/v2 2.1.0

  • LowCVE-2023-49559GO-2024-29201 Jul 2024

    Denial of service vulnerability via the parseDirectives function in github.com/vektah/gqlparser

    Affected
    <2.5.14
    Fixed in
    2.5.14
  • MediumCVE-2023-49559GHSA-2hmf-46v7-v6fx12 Jun 2024

    gqlparser denial of service vulnerability via the parserDirectives function

    Affected
    <2.5.14
    Fixed in
    2.5.14

Which of your client projects are still on github.com/vektah/gqlparser/v2 2.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/vektah/gqlparser/v2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/vektah/gqlparser/v2 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.