{"id":"CVE-2026-30925","aliases":["CVE-2026-30925","GHSA-mf3j-86qx-cq5j","BIT-PARSE-2026-30925"],"related":[],"kind":"vulnerability","state":"published","title":"Parse Server affected by Regular Expression Denial of Service (ReDoS) via `$regex` query in LiveQuery","summary":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.5.0-alpha.14 and 8.6.11, a malicious client can subscribe to a LiveQuery with a crafted $regex pattern that causes catastrophic backtracking, blocking the Node.js event loop. This makes the entire Parse Server unresponsive, affecting all clients. Any Parse Server deployment with LiveQuery enabled is affected. The attacker only needs the application ID and JavaScript key, both of which are public in client-side apps. This only affects LiveQuery subscription matching, which evaluates regex in JavaScript on the Node.js event loop. Normal REST and GraphQL queries are not affected because their regex is evaluated by the database engine. This vulnerability is fixed in 9.5.0-alpha.14 and 8.6.11.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.5.0-alpha.14 and 8.6.11, a malicious client can subscribe to a LiveQuery with a crafted $regex pattern that causes catastrophic backtracking, blocking the Node.js event loop. This makes the entire Parse Server unresponsive, affecting all clients. Any Parse Server deployment with LiveQuery enabled is affected. The attacker only needs the application ID and JavaScript key, both of which are public in client-side apps. This only affects LiveQuery subscription matching, which evaluates regex in JavaScript on the Node.js event loop. Normal REST and GraphQL queries are not affected because their regex is evaluated by the database engine. This vulnerability is fixed in 9.5.0-alpha.14 and 8.6.11.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA malicious client can subscribe to a LiveQuery with a crafted `$regex` pattern that causes catastrophic backtracking, blocking the Node.js event loop. This makes the entire Parse Server unresponsive, affecting all clients. Any Parse Server deployment with LiveQuery enabled is affected. The attacker only needs the application ID and JavaScript key, both of which are public in client-side apps.\n\nThis only affects LiveQuery subscription matching, which evaluates regex in JavaScript on the Node.js event loop. Normal REST and GraphQL queries are not affected because their regex is evaluated by the database engine.\n\n### Patches\n\nRegex evaluation in LiveQuery subscription matching now runs in an isolated VM context with a configurable timeout via a new Parse Server option `liveQuery.regexTimeout, with defaults 100 ms. A regex that exceeds the timeout is treated as non-matching.\n\nThe protection adds approximately 50 microseconds of overhead per regex evaluation. For most applications this is negligible, but it can add up if there is a very large number of LiveQuery subscriptions that use `$regex` on the same class. For example, 10,000 concurrent regex subscriptions would add approximately 500ms of processing time per object save event on that class. Set `liveQuery.regexTimeout: 0` to disable the protection and use native regex evaluation without overhead.\n\n### Workarounds\n\nUse the `beforeSubscribe` Cloud Code hook to reject any LiveQuery subscription that contains a `$regex` operator. Note that this also blocks the LiveQuery `startsWith`, `endsWith`, and `contains` query methods, as they use `$regex` internally.\n\n```js\n// Repeat for each class that is used with LiveQuery\nParse.Cloud.beforeSubscribe('MyClass', request => {\n  const where = request.query._where || {};\n  for (const value of Object.values(where)) {\n    if (value?.$regex) {\n      throw new Parse.Error(Parse.Error.OPERATION_FORBIDDEN, '$regex not allowed in LiveQuery subscriptions');\n    }\n  }\n});\n```\n\n### References\n\n- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-mf3j-86qx-cq5j\n- Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.14\n- Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.11","format":"markdown","source":"ghsa"},{"lang":"es","text":"Parse Server es un backend de código abierto que puede ser desplegado en cualquier infraestructura que pueda ejecutar Node.js. Antes de 9.5.0-alpha.14 y 8.6.11, un cliente malicioso puede suscribirse a una LiveQuery con un patrón $regex manipulado que causa un retroceso catastrófico, bloqueando el bucle de eventos de Node.js. Esto hace que todo el Parse Server no responda, afectando a todos los clientes. Cualquier despliegue de Parse Server con LiveQuery habilitado se ve afectado. El atacante solo necesita el ID de aplicación y la clave de JavaScript, ambos son públicos en las aplicaciones del lado del cliente. Esto solo afecta la coincidencia de suscripción de LiveQuery, que evalúa expresiones regulares en JavaScript en el bucle de eventos de Node.js. Las consultas REST y GraphQL normales no se ven afectadas porque sus expresiones regulares son evaluadas por el motor de la base de datos. Esta vulnerabilidad está corregida en 9.5.0-alpha.14 y 8.6.11.","source":"nvd"},{"lang":"en","text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.5.0 and 8.6.11, a malicious client can subscribe to a LiveQuery with a crafted $regex pattern that causes catastrophic backtracking, blocking the Node.js event loop. This makes the entire Parse Server unresponsive, affecting all clients. Any Parse Server deployment with LiveQuery enabled is affected. The attacker only needs the application ID and JavaScript key, both of which are public in client-side apps. This only affects LiveQuery subscription matching, which evaluates regex in JavaScript on the Node.js event loop. Normal REST and GraphQL queries are not affected because their regex is evaluated by the database engine. This vulnerability is fixed in 9.5.0 and 8.6.11.","format":"markdown","source":"bitnami"}],"published":"2026-03-09T23:01:32.408Z","modified":"2026-09-08T08:48:24.497Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":">= 9.0.0 < 9.5.0-alpha.14","status":"affected"},{"version":"< 8.6.11","status":"affected"}],"vendor":"parse-community","product":"parse-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.0.0-alpha.1","status":"affected","fixed":"9.5.0-alpha.14"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.6.11"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"8.6.11"},{"status":"affected","introduced":"9.0.0","fixed":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"},{"status":"affected","version":"9.5.0"}],"vendor":"parseplatform","product":"parse-server","cpe":"cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.6.11"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.5.0"}],"ecosystem":"Bitnami","package":"parse","purl":"pkg:bitnami/parse","source":"bitnami"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-mf3j-86qx-cq5j","tags":["advisory","mitigation","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/releases/tag/8.6.11","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.14","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30925","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/parse-community/parse-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-10T14:08:58.113Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-30925","url":"https://www.cve.org/CVERecord?id=CVE-2026-30925","licence":"CVE Terms of Use","modified":"2026-03-10T14:11:27.984Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mf3j-86qx-cq5j","url":"https://github.com/advisories/GHSA-mf3j-86qx-cq5j","licence":"CC-BY-4.0","modified":"2026-03-16T03:05:27.149Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-30925","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30925","licence":"Public domain","modified":"2026-06-17T10:33:09.663Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PARSE-2026-30925","url":"https://osv.dev/vulnerability/BIT-PARSE-2026-30925","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.497Z"}],"updatedAt":"2026-11-25T22:59:15.567Z","epss":{"score":0.005,"percentile":0.44413,"date":"2026-12-01T12:00:22.000Z"}}