---
id: "CVE-2026-125114"
page: "https://infrastack.ai/live/CVE-2026-125114"
kind: "vulnerability"
aliases: ["CVE-2026-125114", "GHSA-4x48-cgf9-q33f"]
title: "Novu has SSRF via conditions filter webhook bypasses validateUrlSsrf() protection"
severity: "high"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@novu/api", "fixed": ["3.15.0"], "affected": "< 3.15.0", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["@novu/api", "cloud-metadata", "cwe-918", "novu", "package", "self-hosted"]
not_affected_if: ["managed-hosting", "no-condition-webhooks", "version-3.15.0-or-later"]
published_at: "2026-04-14T23:22:48+00:00"
first_seen_at: "2026-11-09T22:15:29+00:00"
updated_at: "2026-11-09T22:16:26+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-4x48-cgf9-q33f", "first_seen_at": "2026-11-09T22:15:29+00:00"}]
exploit_sources: []
---

# Novu has SSRF via conditions filter webhook bypasses validateUrlSsrf() protection

Link for people: https://infrastack.ai/live/CVE-2026-125114 (this .md is for agents)

Novu's conditions filter webhook sends POST requests to user-configured URLs without the SSRF validation that the HTTP Request workflow step applies. An attacker who can create workflows can make the server reach internal addresses such as cloud metadata endpoints and read the response data through the execution details API.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:@novu/api affected < 3.15.0 fixed 3.15.0

## How to check

- Check the installed `@novu/api` version in `package.json` or the lockfile; affected versions are below `3.15.0`.
- Look for workflows containing condition steps with a webhook URL set to private or link-local addresses such as `169.254.169.254`.
- Confirm whether untrusted users can create or edit workflows in your Novu instance.

## Fix

- `@novu/api`: move to `3.15.0` or later.

## Timeline

- 2026-11-09T22:15:29+00:00 ghsa https://github.com/advisories/GHSA-4x48-cgf9-q33f

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/novuhq/novu/security-advisories/GHSA-4x48-cgf9-q33f
- [advisory] Maintainer's advisory: github.com https://github.com/novuhq/novu/security/advisories/GHSA-4x48-cgf9-q33f
- [fix] Patch: github.com https://github.com/novuhq/novu/commit/87d965eb88340ac7cd262dd52c8015acd092dc68

## From the sources

## Summary

The conditions filter webhook at `libs/application-generic/src/usecases/conditions-filter/conditions-filter.usecase.ts` line 261 sends POST requests to user-configured URLs using raw `axios.post()` with no SSRF validation. The HTTP Request workflow step in the same codebase correctly uses `validateUrlSsrf()` which blocks private IP ranges. The conditions webhook was not included in this protection.

## Root Cause

`conditions-filter.usecase.ts` line 261:
```typescript
return await axios.post(child.webhookUrl, payload, config).then((response) => {
  return response.data as Record<string, unknown>;
});
```

No call to `validateUrlSsrf()`. The `webhookUrl` comes from the workflow condition configuration with zero validation.

## Protected Code (for contrast)

`execute-http-request-step.usecase.ts` line 130:
```typescript
const ssrfValidationError = await validateUrlSsrf(url);
if (ssrfValidationError) {
  // blocked
}
```

This function resolves DNS and checks against private ranges (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16). It exists in the codebase but is not applied to the conditions webhook path.

## Proof of Concept

1. Create a workflow with a condition step
2. Configure the condition's webhook URL to `http://169.254.169.254/latest/meta-data/iam/security-credentials/`
3. Trigger the workflow by sending a notification event
4. The worker evaluates the condition and calls `axios.post()` to the metadata endpoint
5. The response data is stored in execution details and accessible via the execution details API

## Impact

Full-read SSRF. The response body is returned as `Record<string, unknown>` for condition evaluation and stored in the execution details `raw` field. The `GET /execution-details` API returns this data.

The POST method limits some metadata endpoints (GCP requires GET, Azure requires GET), but AWS IMDSv1 accepts POST and returns credentials. Internal services accepting POST are also reachable.

## Suggested Fix

Extract `validateUrlSsrf()` to a shared utility and call it before the axios.post in conditions-filter.usecase.ts:

```typescript
const ssrfError = await validateUrlSsrf(child.webhookUrl);
if (ssrfError) {
  throw new Error('Webhook URL blocked by SSRF protection');
}
return await axios.post(child.webhookUrl, payload, config)...
```

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
