---
id: CVE-2026-39087
title: >-
  ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for
  web push endpoint URLs.
summary: >-
  ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for
  web push endpoint URLs.
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-777
  - CWE-94
published: '2026-04-23'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-39087'
references:
  - url: 'https://gist.github.com/MightyNawaf/5d41d6e8ead16e217f86b016002ecae5'
    label: cve@mitre.org
  - url: 'https://github.com/binwiederhier/ntfy/releases/tag/v2.22.0'
    label: cve@mitre.org
  - url: 'https://ntfy.sh'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00482
epssPercentile: 0.38967
ingestedAt: '2026-07-04T16:56:19.053Z'
---

## Overview

ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for web push endpoint URLs.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
