Intel

AIKIDO-2026-381421

github.com/dunglas/mercure is vulnerable to Allocation of Resources Without Limits or Throttling

GHSA-88rf-rrhm-w65hPublished Oct 13, 2026
October 13, 2026

75

CVE Score

High

Allocation of Resources Without Limits or Throttling

Are you affected? Scan for Free

TL;DR

The hub's topic matcher cache tracks compiled URL patterns by entry count rather than by the memory each pattern and topic string actually retains. A subscriber who requests many large or complex topic templates can grow the cache to gigabytes of retained memory on the hub process. The fix weighs each cache entry by its retained bytes and evicts by that weight instead of by count.

How do I fix this?

Upgrade the github.com/dunglas/mercure library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

1.0.0 - 1.0.1

Fixed in 1.0.2

Background info

github.com/dunglas/mercure is vulnerable to Allocation of Resources Without Limits or Throttling in versions 1.0.0 - 1.0.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea