{"id":"CVE-2022-36084","aliases":["EUVD-2022-6921","GHSA-qm4w-4995-vg7f"],"status":"published","title":"cruddl vulnerable to AQL injection through flexSearch","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.","severity":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01496,"percentile":0.74383,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-943"],"published":"2022-09-08T21:15:13Z","modified":"2026-10-28T02:30:57Z","fixes":[{"ecosystem":"npm","package":"cruddl","fixed_in":["3.0.2","2.7.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"cruddl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"cruddl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"fixed":"2.7.0"}]}]},{"source":"osv","ecosystem":"npm","package":"cruddl","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"cruddl","ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"2.7.0"}]}]}],"products":[{"vendor":"aeb","product":"cruddl"},{"vendor":"aeb-labs","product":"cruddl"}],"references":[{"url":"https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/AEB-labs/cruddl/pull/253","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36084","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qm4w-4995-vg7f"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36084.json","tags":["advisory"]},{"url":"https://github.com/AEB-labs/cruddl","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-36084","title":"cruddl vulnerable to AQL injection through flexSearch","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.","status":"published","published":"2022-09-08T21:15:13Z","modified":"2025-04-23T17:12:43.338Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-943","CWE-74"],"updated_at":"2026-11-02T14:34:35.615708Z"}],"euvd":[{"id":"EUVD-2022-6921","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.","status":"published","published":"2022-09-08T21:15:13Z","modified":"2025-04-23T17:12:43Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:10.906327Z"}],"ghsa":[{"id":"GHSA-qm4w-4995-vg7f","title":"cruddl vulnerable to ArangoDB Query Language (AQL) injection through flexSearch","description":"### Impact\n\nIf a vunerable version of cruddl 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.\n\nSchemas that do not use `@flexSearchFulltext` are not affected.\n\nThe attacker needs to have `READ` permission to at least one root entity type that has `@flexSearchFulltext` enabled.\n\n### Patches\n\nThe issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl.\n\n### Workarounds\n\nUsers can temporarily remove `@flexSearchFulltext` from their schemas before they can update cruddl.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [cruddl](https://github.com/AEB-labs/cruddl)\n* Email us at [security@aeb.com](mailto:security@aeb.com)\n","status":"published","published":"2022-09-16T17:43:10Z","modified":"2023-01-27T05:02:45Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:36:19.144959Z"}],"nvd":[{"id":"CVE-2022-36084","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.","status":"published","published":"2022-09-08T22:15:08.713Z","modified":"2026-06-17T04:52:53.09Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-74","CWE-943"],"updated_at":"2026-11-02T14:07:27.631109Z"}],"osv":[{"id":"CVE-2022-36084","title":"cruddl vulnerable to AQL injection through flexSearch","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.","status":"published","published":"2022-09-08T21:15:13Z","modified":"2026-10-28T02:30:57.508162039Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-74","CWE-943"],"updated_at":"2026-11-02T15:44:26.195407Z"},{"id":"GHSA-qm4w-4995-vg7f","title":"cruddl vulnerable to ArangoDB Query Language (AQL) injection through flexSearch","description":"### Impact\n\nIf a vunerable version of cruddl 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.\n\nSchemas that do not use `@flexSearchFulltext` are not affected.\n\nThe attacker needs to have `READ` permission to at least one root entity type that has `@flexSearchFulltext` enabled.\n\n### Patches\n\nThe issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl.\n\n### Workarounds\n\nUsers can temporarily remove `@flexSearchFulltext` from their schemas before they can update cruddl.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [cruddl](https://github.com/AEB-labs/cruddl)\n* Email us at [security@aeb.com](mailto:security@aeb.com)\n","status":"published","published":"2022-09-16T17:43:10Z","modified":"2023-11-08T04:10:00.18618Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:54.760124Z"}]}}
