# CVE-2023-49559: gqlparser denial of service vulnerability via the parserDirectives function

- Severity: Low 3.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-06-12T00:00:00.000Z
- Modified: 2026-09-10T03:50:14.729Z
- Also known as: GHSA-2hmf-46v7-v6fx, GO-2024-2920
- Related: CGA-8p69-4x8m-hf9q
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue in vektah gqlparser open-source-library v.2.5.10 allows a remote attacker to cause a denial of service via a crafted script to the parserDirectives function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/vektah/gqlparser/v2 (Go): before 2.5.14
- github.com/vektah/gqlparser (Go): before 2.5.14; all versions

## Every score

- CISA-ADP: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://gist.github.com/uvzz/d3ed9d4532be16ec1040a2cf3dfec8d1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49559> (advisory)
- <https://github.com/99designs/gqlgen/issues/3118> (web)
- <https://github.com/vektah/gqlparser/commit/36a3658873bf5a107f42488dfc392949cdd02977> (fix, web)
- <https://github.com/advisories/GHSA-2hmf-46v7-v6fx> (advisory)
- <https://github.com/vektah/gqlparser> (package)
- <https://github.com/vektah/gqlparser/blob/master/parser/query.go#L316> (web)

## Sources

- CVE List: [CVE-2023-49559](https://www.cve.org/CVERecord?id=CVE-2023-49559), CVE Terms of Use, modified 2024-12-03
- GitHub Advisory Database: [GHSA-2hmf-46v7-v6fx](https://github.com/advisories/GHSA-2hmf-46v7-v6fx), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2920](https://pkg.go.dev/vuln/GO-2024-2920), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-49559](https://nvd.nist.gov/vuln/detail/CVE-2023-49559), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49559 · Whole record: https://cve.day/CVE-2023-49559.json · Rebuilt by cve.day 2026-11-25T22:58:34.150Z
