{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "original_tag": "v2.38.3",
                "range": [
                  {
                    "fixed": "5dc000a53e595395fc7014cb561f00af82f4422e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5dc000a53e595395fc7014cb561f00af82f4422e"
            }
          ],
          "repo": "https://github.com/binwiederhier/ntfy",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138048.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.38.3"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.38.3"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "ntfy before v2.38.3 contains a server-side request forgery vulnerability that allows remote attackers to bypass the web push endpoint allow-list by crafting a URL containing '#' or '?' characters that satisfy the [^/]+ regex pattern used to validate mozaws.net and notify.windows.com hosts. Attackers can submit an endpoint .example#.mozaws.net/push, which passes validation while Go parses the actual host as attacker.example, causing the server to send subsequent web push POST requests to an attacker-controlled or internal host.",
  "id": "CVE-2026-138048",
  "modified": "2026-11-27T20:46:00.981838772Z",
  "published": "2026-11-27T19:38:16.358Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://docs.ntfy.sh/releases/#ntfy-server-v2383"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138048.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/binwiederhier/ntfy"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/binwiederhier/ntfy/compare/v2.38.3...main"
    },
    {
      "type": "FIX",
      "url": "https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138048"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass"
}