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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.50% (percentile 74, 2026-11-26)
- **CWE:** CWE-943, CWE-74
- **Aliases:** GHSA-qm4w-4995-vg7f
- **Published:** 2022-09-08T21:15:13.000Z
- **Modified:** 2026-06-17T04:52:53.090Z

## Who should check

- Projects that depend on npm package cruddl (\>= 3.0.0, \< 3.0.2)
- Anyone running AEB-labs cruddl \>= 3.0.0, \< 3.0.2; \>= 1.1.0, \< 2.7.0

## 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.

## Affected and fixed versions

- npm `cruddl`: affected \>= 3.0.0, \< 3.0.2; fixed 3.0.2, 2.7.0 (osv)
- AEB-labs cruddl: \>= 3.0.0, \< 3.0.2; \>= 1.1.0, \< 2.7.0 (cvelist)

## Mitigation

- Upgrade cruddl to one of 3.0.2, 2.7.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-36084. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-36084.md
Affected: cruddl >= 3.0.0, < 3.0.2
Fixed in: 3.0.2, 2.7.0

Steps:
1. Search this machine and project for cruddl (npm), AEB-labs cruddl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-36084 being exploited?

There is no confirmed exploitation: CVE-2022-36084 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-36084?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-36084?

cruddl \>= 3.0.0, \< 3.0.2.

### Is there a fix for CVE-2022-36084?

Yes. Fixed in 3.0.2, 2.7.0. Upgrade cruddl to one of 3.0.2, 2.7.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2022-36084?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-36084>
- patch: <https://github.com/AEB-labs/cruddl/pull/253>
- patch: <https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698>
- other: <https://github.com/AEB-labs/cruddl>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-36084>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qm4w-4995-vg7f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-36084> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-36084>
