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

Go · 9 releases from 2.4.0 to 2.4.8 · 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.4.8, the last 2.4 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.4.8

  • 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

Every github.com/vektah/gqlparser/v2 2.4.x release

Affected: 2.4.0 to 2.4.8. Latest github.com/vektah/gqlparser/v2: 2.5.64.

VersionKnown advisories
github.com/vektah/gqlparser/v2 2.4.8CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.7CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.6CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.5CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.4CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.3CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.2CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.1CVE-2023-49559, CVE-2023-49559
github.com/vektah/gqlparser/v2 2.4.0CVE-2023-49559, CVE-2023-49559

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

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.