Improper Validation of Unsafe Equivalence in Input Affecting github.com/dunglas/mercure/caddy package, versions <0.22.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMDUNGLASMERCURECADDY-15989817
  • published12 Apr 2026
  • disclosed9 Apr 2026
  • creditdunglas

Introduced: 9 Apr 2026

CVE-2026-39972  (opens in a new tab)
CWE-1289  (opens in a new tab)

How to fix?

Upgrade github.com/dunglas/mercure/caddy to version 0.22.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Unsafe Equivalence in Input via the TopicSelectorStore process. An attacker can access private updates intended for authorized subscribers or prevent delivery to legitimate recipients by poisoning the match result cache through crafted topic names or selectors.

CVSS Base Scores

version 4.0
version 3.1