# CVE-2022-36084: cruddl vulnerable to AQL injection through flexSearch

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- 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): 1.58%, higher than 76% of CVEs (2026-12-02)
- Published: 2022-09-08T21:15:13.000Z
- Modified: 2026-06-17T04:52:53.090Z
- Also known as: GHSA-qm4w-4995-vg7f
- Weaknesses: CWE-74, CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

cruddl is software for creating a GraphQL API for a database, using the GraphQL SDL to model a schema. If cruddl starting with version 1.1.0 and prior to versions 2.7.0 and 3.0.2 is used to generate a schema that uses `@flexSearchFulltext`, users of that schema may be able to inject arbitrary AQL queries that will be forwarded to and executed by ArangoDB. Schemas that do not use `@flexSearchFulltext` are not affected. The attacker needs to have `READ` permission to at least one root entity type that has `@flexSearchFulltext` enabled. The issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl. As a workaround, users can temporarily remove `@flexSearchFulltext` from their schemas.

(As written by CVE List.)

## Affected

- AEB-labs cruddl: >= 3.0.0, < 3.0.2; >= 1.1.0, < 2.7.0
- cruddl (npm): from 3.0.0 before 3.0.2; from 1.1.0 before 2.7.0
- aeb cruddl: from 1.1.0 before 2.7.0; from 3.0.0 before 3.0.2

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f> (vendor-advisory, web)
- <https://github.com/AEB-labs/cruddl/pull/253> (patch, third-party-advisory, web)
- <https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36084> (advisory)
- <https://github.com/AEB-labs/cruddl> (package)

## Sources

- CVE List: [CVE-2022-36084](https://www.cve.org/CVERecord?id=CVE-2022-36084), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-qm4w-4995-vg7f](https://github.com/advisories/GHSA-qm4w-4995-vg7f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-36084](https://nvd.nist.gov/vuln/detail/CVE-2022-36084), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36084 · Whole record: https://cve.day/CVE-2022-36084.json · Rebuilt by cve.day 2026-11-25T22:58:14.785Z
