{"id":"CVE-2026-41150","aliases":["DEBIAN-CVE-2026-41150","GHSA-6m6c-36f7-fhxh","UBUNTU-CVE-2026-41150"],"summary":"Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS","published_at":"2026-05-11T19:36:55Z","modified_at":"2026-10-17T12:58:14.940796Z","products":[],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0038399999029934406,"percentile":0.3321300148963928,"date":"2026-11-19T00:00:00Z"},"priority":8,"details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"mermaid-js/mermaid","versions":[">= 11.0.0-alpha.1, < 11.15.0","< 10.9.6"],"provider":"cvelistv5","source":"CVE-2026-41150","relation":"self"},{"ecosystem":"Debian:14","package":"node-mermaid","purl":"pkg:deb/debian/node-mermaid?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.11.0+ds+~cs29.13.22-1","8.13.2+ds+~cs30.13.21-1","8.13.2+ds+~cs30.13.21-1.1","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1","8.14.0+ds1+~cs11.4.14-1","8.14.0+~cs11.4.14-1","8.7.0+ds+~cs27.17.17-1","8.7.0+ds+~cs27.17.17-2","8.7.0+ds+~cs27.17.17-2~bpo10+1","8.7.0+ds+~cs27.17.17-3","8.9.1+ds+~cs26.20.25-1","8.9.3+ds+~cs29.13.19-1","9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"DEBIAN-CVE-2026-41150","relation":"self"},{"ecosystem":"NVD","package":"mermaid_project:mermaid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.9.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"11.0.0"},{"fixed":"11.15.0"}]}],"fixed":["10.9.6","11.15.0"],"provider":"nvd","source":"CVE-2026-41150","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.7.0+ds+~cs27.17.17-3","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1"],"provider":"osv","source":"UBUNTU-CVE-2026-41150","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"UBUNTU-CVE-2026-41150","relation":"self"},{"ecosystem":"npm","package":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"type":"SEMVER","events":[{"introduced":"11.0.0-alpha.1"},{"fixed":"11.15.0"}]}],"fixed":["11.15.0"],"provider":"osv","source":"GHSA-6m6c-36f7-fhxh","relation":"self"},{"ecosystem":"npm","package":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"10.9.6"}]}],"fixed":["10.9.6"],"provider":"osv","source":"GHSA-6m6c-36f7-fhxh","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","cpe":"cpe:/a:redhat:podman_desktop:1","status":"affected","packages":["rh-podman-desktop.git"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-41150"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-41150"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/code-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-41150"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-41150","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-41150","license":"CC-BY-4.0","published_at":"2026-05-29T13:54:52.157Z","modified_at":"2026-05-29T16:17:31.324Z","summary":"Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","source":"CVE-2026-41150"}],"affected":[{"ecosystem":"CVE","package":"mermaid-js/mermaid","versions":[">= 11.0.0-alpha.1, < 11.15.0","< 10.9.6"],"provider":"cvelistv5","source":"CVE-2026-41150","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"}]},{"provider":"nvd","source_id":"CVE-2026-41150","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41150","severity":[],"affected":[{"ecosystem":"NVD","package":"mermaid_project:mermaid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.9.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"11.0.0"},{"fixed":"11.15.0"}]}],"fixed":["10.9.6","11.15.0"],"provider":"nvd","source":"CVE-2026-41150","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-41150","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-41150","published_at":"2026-05-29T15:16:22.673Z","modified_at":"2026-10-01T03:03:11.641969Z","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"DEBIAN-CVE-2026-41150"}],"affected":[{"ecosystem":"Debian:14","package":"node-mermaid","purl":"pkg:deb/debian/node-mermaid?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.11.0+ds+~cs29.13.22-1","8.13.2+ds+~cs30.13.21-1","8.13.2+ds+~cs30.13.21-1.1","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1","8.14.0+ds1+~cs11.4.14-1","8.14.0+~cs11.4.14-1","8.7.0+ds+~cs27.17.17-1","8.7.0+ds+~cs27.17.17-2","8.7.0+ds+~cs27.17.17-2~bpo10+1","8.7.0+ds+~cs27.17.17-3","8.9.1+ds+~cs26.20.25-1","8.9.3+ds+~cs29.13.19-1","9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"DEBIAN-CVE-2026-41150","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-41150"}]},{"provider":"osv","source_id":"GHSA-6m6c-36f7-fhxh","relation":"self","url":"https://osv.dev/vulnerability/GHSA-6m6c-36f7-fhxh","license":"CC-BY-4.0","published_at":"2026-05-11T19:36:55Z","modified_at":"2026-09-10T03:50:45.806197Z","summary":"Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS","details":"### Impact\n\nMermaid v11.14.0 and earlier are vulnerable to a denial-of-service attack when rendering gantt charts, if they use the [`excludes` attribute](https://mermaid.js.org/syntax/gantt.html?#excludes) to exclude all dates.\n\nExample:\n\n```\ngantt\n  excludes monday,tuesday,wednesday,thursday,friday,saturday,sunday\n  DoS :2025-01-01, 1d\n```\n\n`mermaid.parse` is unaffected, unless you then call the `ganttDb.getTasks()` (which is called when rendering a diagram).\n\n### Patches\n\nThis has been patched in:\n\n- [v11.15.0](https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0) (see [faafb5d49106dd32c367f3882505f2dd625aa30e](https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e))\n- [v10.9.6](https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6) (see [a59ea56174712ee5430dfd5bc877cb5151f501a6](https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6))\n\n### Workarounds\n\nThere are no workarounds available without updating to a newer version of mermaid.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GHSA-6m6c-36f7-fhxh"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","source":"GHSA-6m6c-36f7-fhxh"}],"affected":[{"ecosystem":"npm","package":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"type":"SEMVER","events":[{"introduced":"11.0.0-alpha.1"},{"fixed":"11.15.0"}]}],"fixed":["11.15.0"],"provider":"osv","source":"GHSA-6m6c-36f7-fhxh","relation":"self"},{"ecosystem":"npm","package":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"10.9.6"}]}],"fixed":["10.9.6"],"provider":"osv","source":"GHSA-6m6c-36f7-fhxh","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41150"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"PACKAGE","url":"https://github.com/mermaid-js/mermaid"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-41150","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-41150","license":"CC-BY-SA-4.0","published_at":"2026-05-29T15:16:00Z","modified_at":"2026-10-17T12:58:14.940796Z","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","source":"UBUNTU-CVE-2026-41150"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"UBUNTU-CVE-2026-41150"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-41150"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.7.0+ds+~cs27.17.17-3","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1"],"provider":"osv","source":"UBUNTU-CVE-2026-41150","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"UBUNTU-CVE-2026-41150","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41150"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41150"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"}]},{"provider":"redhat-vex","source_id":"CVE-2026-41150","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-41150","license":"CC-BY-4.0","published_at":"2026-05-29T13:54:52.157Z","modified_at":"2026-08-10T11:00:52.758843Z","summary":"mermaid: Mermaid: Denial of Service via specially crafted gantt charts","details":"A flaw was found in Mermaid, a JavaScript tool used for creating diagrams and charts. This vulnerability allows a remote attacker to trigger a denial-of-service (DoS) condition. The attack occurs when a specially crafted gantt chart, which uses the `excludes` attribute to exclude all dates, is rendered. Successful exploitation can make the application unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CVE-2026-41150"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-41150"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","cpe":"cpe:/a:redhat:podman_desktop:1","status":"affected","packages":["rh-podman-desktop.git"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-41150"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-41150"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/code-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-41150"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41150.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-41150"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2483296"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-41150"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41150"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"}]}],"references":[{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-41150"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41150"},{"type":"PACKAGE","url":"https://github.com/mermaid-js/mermaid"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41150"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41150"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41150.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-41150"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2483296"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-41150","url":"https://www.cve.org/CVERecord?id=CVE-2026-41150","license":"CC-BY-4.0","modified_at":"2026-05-29T16:17:31.324Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-41150","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41150","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-41150","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-41150","modified_at":"2026-10-01T03:03:11.641969Z","relation":"self"},{"provider":"osv","source_id":"GHSA-6m6c-36f7-fhxh","url":"https://osv.dev/vulnerability/GHSA-6m6c-36f7-fhxh","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:45.806197Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-41150","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-41150","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:58:14.940796Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-41150","url":"https://access.redhat.com/security/cve/CVE-2026-41150","license":"CC-BY-4.0","modified_at":"2026-08-10T11:00:52.758843Z","relation":"self"}]}
