Novu: Lagging UK region hit by Handlebars RCE, exposing 23,534 organizations’ keys
On November 17, 2026 at 10:05 UTC, notification platform Novu deployed v3.20.0 to its US and EU cloud regions to patch a critical Handlebars template compiler vulnerability. Five smaller regions (UK, Japan, South Korea, Singapore, and Australia) stayed behind on the previous build. Roughly forty hours later, at 01:42 UTC on November 19, an attacker created self-service accounts in the lagging regions, sent a crafted template to the UK email preview endpoint, and ran code on the API server. That single UK server held cloud credentials able to read internal secrets across every region, handing the attacker US and EU Clerk secret keys and a Cloudflare Worker deploy token. In seventy-five minutes, the attacker opened 23,534 customer organizations (about 56% of Novu Cloud) and read environment API keys and integration provider credentials while a high-severity cloud alert fired ten minutes in and failed to page on-call for over five hours.
How they got in
A security fix is not shipped until every region runs it. On November 17, 2026 at 10:05 UTC, Novu deployed v3.20.0 to its US and EU cloud regions, bumping the Handlebars template compiler from 4.7.9 to 4.7.10 to close critical JavaScript-injection flaws disclosed upstream on October 5. Five smaller cloud regions (UK, Japan, South Korea, Singapore, and Australia) stayed behind on the previous build.
Receipt 1, in their wordsConfirmedRead Novu’s confirmation of the lagging UK build and cross-region secret readsOpenClose
Beginning at 20:49 UTC on November 18 from a single IP address (109.238.87.4), an attacker probed Novu’s public and keyless endpoints, briefly triggering an unhandled webhook error that disrupted the US API from 21:49 to 23:21 UTC. Between 00:51 and 01:42 UTC on November 19, the attacker spun up self-service accounts and organizations across the five lagging regions using automatically generated email inboxes. At 01:42 UTC, a crafted template sent to the UK email preview endpoint executed arbitrary code directly inside the UK API Node.js process.
One technical detail remains withheld: Novu’s report cites upstream Handlebars advisory GHSA-8r5x-fm3f-whwj (CVE-2026-106446), which fires only when an untrusted parsed AST object reaches compile(), whereas Novu’s own advisory GHSA-244j-pq88-5m65 omits the proof of concept and lists three Handlebars 4.7.9 flaws fixed by 4.7.10 (and shows no CVE assigned to Novu itself despite the report referencing a public CVE for self-hosted versions). Inspecting pinned Novu v3.19.0 source confirms that CompileTemplateCommand decorated its template property with @IsDefined() alone (no @IsString()) and passed command.template straight into handlebars.compile(). Because Novu withheld the payload, we do not claim whether the attacker sent an AST object or a string; either way, a runtime string check and regional release parity would have closed the entry door.
Receipt 2, in public codeObservedInspect CompileTemplateCommand (@IsDefined without @IsString) and handlebars.compile()OpenClose
Forty hours after US and EU patched to v3.20.0, the attacker creates self-service accounts in the five unpatched regions and runs code on the UK API server through the email preview endpoint.
UK preview RCECross-region credsOver 18 minutes the API server’s overly broad cloud role reads internal secrets for every region; a 01:52:27 UTC high-severity alert fires but fails to route to on-call.
Cross-region creds23,534 orgs readThe attacker mints ~1,550 user sessions, re-points org references ~25,000 times across 61 orgs to call four read-only endpoints across 23,534 orgs, and deploys modified Cloudflare Workers to dump Agent Inbox secrets.
23,534 orgs read4 Workers tamperedNovu rotates and IP-restricts Clerk keys (10:00Z), patches every region to v3.20.0 (12:43Z), cleans Cloudflare Workers (17:52–18:17Z), notifies customers (14:48Z & 20:51Z), and revokes all pre-incident Novu API keys.
4 Workers tampered
Figure 1. How the attack unfolded, and what stayed isolated. Select any step or box for details.
What they took
Code execution inside one regional API server became a global credential breach in eighteen minutes because that UK server held cloud credentials capable of reading internal secrets for every region. Between 01:46 and 02:00 UTC, the attacker pulled Novu’s US and EU Clerk secret keys, a scoped Cloudflare API token for deploying Workers, and other internal service keys.
With Clerk’s secret keys in hand, the attacker exploited a second design flaw between 01:59 and 02:57 UTC: Novu’s dashboard API trusted the organization reference carried inside a Clerk session token. Besides minting sign-in sessions for roughly 1,550 existing users, the attacker swapped that organization reference roughly 25,000 times across 61 attacker-owned organizations to walk customer workspaces at speed. Across 58 minutes, four read-only endpoints returned environment API keys (encrypted at rest in Novu’s database, but returned decrypted to signed-in dashboard sessions) and integration credentials for email, SMS, push, chat, and AI providers belonging to 23,534 organizations, about 56% of Novu Cloud (22,115 in US and 1,419 in EU): 55,059 successful calls to GET /v1/integrations, 31,027 to GET /v1/environments, 4,431 to GET /v1/integrations/active, and 4,416 to GET /v1/environment-variables.
Receipt 3, in their wordsConfirmedRead Novu’s exact numbers on forged Clerk sessions, 23,534 orgs, and Agent Inbox WorkersOpenClose
At the same time (02:10 to 02:45 UTC), the attacker used the stolen Cloudflare token to deploy tampered versions of four Cloudflare Workers (including Agent Inbox) and two helper Workers, dumping Agent Inbox production and staging authentication keys and service configuration secrets. Novu traced harvested OpenAI and Anthropic keys (both Novu’s own and customers’) to bursts of 2 to 5 requests per high-tier model matching published distillation prompts, echoing the wider AI-developer campaign documented by Wiz Research and disclosed by Railway, OpenCode, and Fireworks AI (though Novu has no confirmed upstream or downstream cascade link to Fireworks AI). Passive routing checks also reconcile a minor IOC discrepancy: Novu lists 109.238.87.4 under registrant ASN 201738 (UFO Technologies Limited), while BGP shows the /24 announced by AS55286 (B2 Net Solutions / ServerMania), matching row 63 of Wiz Research’s Agentic Attacks IOC feed from October 31 to November 23.
Receipt 4, what we ranObservedInspect AS55286 vs AS201738 routing for 109.238.87.4, Wiz IOC overlap, and Novu DNSOpenClose
What Novu runs
From customer integration keys and Novu’s lagging UK preview API down to cross-region cloud secrets, Cloudflare Workers, public edge hosting, and the data that stayed untouched. Yellow marks confirmed compromised layers; white maps public edge records; green stayed safe.
Hit or went downPart of the setupStayed safeNot known yet
Top: what people use. Lower down: what it runs on.
Customer environment API keys and provider credentials
23,534 orgs readConfirmedOver 58 minutes, forged Clerk sessions called four read-only dashboard endpoints across 23,534 customer organizations (22,115 US, 1,419 EU; about 56% of Novu Cloud), returning environment API keys and email, SMS, push, chat, and AI provider credentials.
- Endpoint counts:
GET /(v1/ integrations 55,059),GET /(v1/ environments 31,027),GET /(v1/ integrations/ active 4,431),GET /(v1/ environment- variables 4,416); ~2,300calls rejected (401/404). - Credentials were encrypted at rest in Novu’s database and returned decrypted to authenticated dashboard sessions; secret-flagged env vars remained masked.
- Endpoint counts:
Lagging UK API server and Handlebars template compiler
RCE on UK APIConfirmedUS and EU moved to v3.20.0 on November 17, but UK, JP, KR, SG, and AU stayed on the previous build bundling Handlebars 4.7.9. Forty hours later, a crafted template sent to the UK email preview endpoint ran arbitrary code on the API server.
Pinned v3.19.0 source validates template with @IsDefined() without @IsString() before handlebars.compile(). Observed
- Novu
v3.(20. 0 083bdfe3) upgraded Handlebars4.->7. 9 ^4.(7. 10 GHSA-,244j- pq88- 5m65 GHSA-/8r5x- fm3f- whwj CVE-).2026- 106446 - Exploit landed
2026-from11- 19T01:42:00Z 109.after probing began238. 87. 4 2026-.11- 18T20:49:00Z
- Novu
Cross-region cloud secrets, Clerk keys, and Cloudflare Workers
Cross-region pivotConfirmedThe UK API server’s cloud credentials could read internal secrets in every region, handing the attacker US and EU Clerk secret keys and a Cloudflare Worker deploy token used to tamper with four Workers including Agent Inbox.
- Clerk abuse (
01:59–02:57Z): sessions minted for ~1,550users; org reference re-pointed ~25,000times across61attacker orgs. - Cloudflare Workers (
02:10–02:45Z):4modified Workers (incl. Agent Inbox) +2helper Workers dumped Agent Inbox prod/staging auth keys; cleaned17:52–18:17Z. - High-severity alert fired
01:52:27Z(WAF in timeline / AWS GuardDuty in detection text) but failed to page on-call until07:08Z.
- Clerk abuse (
Public API edge, dashboards, and email posture
Public recordsObservedNovu routes its US and EU APIs through Cloudflare, serves dashboard frontends from Netlify, hosts corporate mail on Google Workspace, and enforces DMARC quarantine across novu.co.
- Cloudflare
- Netlify
- Google Workspace
Public records show Novu uses these services. That does not mean any of them were breached.
- Cloudflare: Authoritative NS and API edge (
api.,novu. co eu.->api. novu. co 172.,66. 40. 115 172.).66. 43. 141 - Netlify:
dashboard.&novu. co uk.->dashboard. novu. co dashboard-;prod- us. netlify. app eu.->dashboard. novu. co dashboard-.prod- eu. netlify. app - Google Workspace:
novu.MX onco aspmx.;l. google. com _dmarc.enforcesnovu. co p=quarantine; pct=100.
Customer subscribers, messages, databases, and cloud IAM ceiling
Stayed untouchedConfirmedNovu found no evidence of direct database access, no access to customer subscriber records, message content, or personal data, and no changes to customer workflows, roles, or integrations; cloud privilege escalation attempts were denied.
- Read-only dashboard API activity; five Clerk-linked empty org artifacts contacted directly with zero data loss.
- All pre-incident Novu API keys revoked Nov 19; Israel National Cyber Directorate briefed Nov 20.
Not known yet
Withheld by vendor- Exact template payload shape (parsed JSON AST object versus string) and which specific Handlebars 4.7.9 path executed on the UK preview endpoint.
- Total number of harvested customer provider keys replayed externally, whether keys reached AI-access resellers, and why the report names both WAF and AWS GuardDuty for the 01:52:27 UTC alert.
White layers combine passive DNS, RIPE RDAP, RIPEstat, and Wiz Research IOCs checked Dec 5, 2026. Naming Cloudflare, Netlify, or Clerk does not imply a vulnerability in those providers.
What stayed safe
Novu’s automated detection caught the intrusion within ten minutes, yet alert routing failed: a high-severity finding fired at 01:52:27 UTC (described as a WAF finding in Novu’s timeline table and as an AWS GuardDuty finding in its detection section), but an on-call integration gap left it unseen for 5 hours and 16 minutes until engineers started investigating anomalous sign-ups at 07:08 UTC. By then, the attacker’s last successful key read had ended four hours earlier at 02:57 UTC. Novu rotated and IP-restricted Clerk keys by 10:00 UTC, patched every region to v3.20.0 by 12:43 UTC, notified customers at 14:48 and 20:51 UTC, revoked every pre-incident Novu API key, redeployed clean Cloudflare Workers by 18:04 UTC, deleted the attacker’s Workers by 18:17 UTC, and briefed the Israel National Cyber Directorate on November 20.
Receipt 5, in their wordsConfirmedRead Novu’s disclosure of the unrouted alert and confirmation that subscriber data stayed safeOpenClose
Crucially, several internal walls held. Every attempt to escalate cloud privileges further was denied, the attacker never obtained direct database access, environment variables flagged as secret stayed masked, and Novu found no evidence that subscriber records, message content, or personal data were read or that customer workflows, roles, or integrations were altered (five Clerk sessions linked empty Novu orgs with zero data loss). Self-hosted deployments were unaffected by the cloud breach, though every self-hosted build prior to v3.20.0 carries the same Handlebars 4.7.9 vulnerability.
If you’re responding to this
Plain view is for everyone. Responder view is for teams running Novu Cloud integrations, self-hosted Novu deployments, or multi-region SaaS APIs.
Showing the plain view
Three things anyone can do
Replace every provider key you ever pasted into Novu
Open each email, SMS, push, chat, and AI provider dashboard where you generated a key for Novu, issue a fresh key there, and revoke the old one directly at the provider. Deleting an integration inside Novu does not stop a stolen key from working outside Novu.
Generate fresh Novu keys and check AI billing from November 18 onward
Novu revoked every pre-incident Novu API key on November 19, so update your apps with newly generated keys. Then review usage and billing logs across OpenAI, Anthropic, and other connected providers starting November 18 for small bursts of unexpected requests to top-tier models.
Upgrade self-hosted Novu servers to version 3.20.0 or newer immediately
Self-hosted installations were not part of the Novu Cloud intrusion, but every version before 3.20.0 bundles the same vulnerable Handlebars template compiler. Upgrade the API and Worker containers right away so an authenticated user cannot run code on the host.
Switch to Responder view for the first hour and what to hunt for.
In the first hour
Hunt for it
- Look in
- Third-party AI, email, SMS, and messaging provider request logs (OpenAI, Anthropic, Twilio, SendGrid, AWS SES)
- Signal
- Requests using keys previously stored in Novu from
109.(238. 87. 4 AS55286/AS201738), user agentspython-,requests/ 2. 32. 5 curl/,8. 19. 0 Go-, orhttp- client/ 2. 0 Chrome/, or unexpected calls to top-tier AI models. Receipt 4148. 0. 0. 0 - A real hit looks like
- Bursts of 2–5 prompts per high-tier OpenAI or Anthropic model with distillation-style system prompts, or API calls originating outside your application’s egress IPs after Nov 18 20:49Z.
- Probably noise if
- Routine outbound notifications dispatched from Novu Cloud’s normal regional egress prior to your key rotation.
Novu traced all direct Novu-side activity to 109., but warns stolen keys can be replayed from other addresses or AI resale services after 2026-.
hunt-novu-ioc-and-ai-replay.shFrom the story’s code. Swap in your own values before you run it.
- Look in
- Multi-region SaaS deployment pipelines, cloud secrets-manager audit logs, and Cloudflare Audit Logs
- Signal
- An API workload in one cloud region reading Secrets Manager/SSM entries tagged for another region, a Clerk backend API key minting sessions outside known API IPs, or a Cloudflare Worker deployment outside your CI pipeline.
- A real hit looks like
- Any cross-region secret read paired with high-rate
GET /orv1/ integrations GET /reads across dozens of tenant IDs from one session or IP. Receipt 1v1/ environments - Probably noise if
- Scheduled Terraform or CI/CD deploys running from dedicated release runner identities during announced maintenance windows.
guard-handlebars-and-region-iam.tsFrom the story’s code. Swap in your own values before you run it.
Never declare a security release complete until automated build-parity checks verify every region, bind each region’s runtime IAM role strictly to its own region’s secrets, verify organization membership server-side on every API call instead of trusting session-token org claims, and test high-severity GuardDuty and Cloudflare alert paging end to end.
Appendix
Evidence log and all 6 receipts
| Claim and source | How sure |
|---|---|
| Novu deployed v3.20.0 (upgrading Handlebars from 4.7.9 to 4.7.10) to US and EU on Nov 17 at 10:05 UTC while UK, JP, KR, SG, and AU stayed on the previous build; on Nov 19 at 01:42 UTC the attacker sent a crafted template to the UK email preview endpoint and ran arbitrary code on the API server | Confirmed |
| The exact exploit payload sent to the UK email preview endpoint (whether a parsed JSON AST object hitting GHSA-8r5x-fm3f-whwj or a string hitting a sibling Handlebars 4.7.9 flaw listed in GHSA-244j-pq88-5m65) Withheld by Novu (PoC intentionally omitted in GHSA-244j-pq88-5m65) | Withheld by vendor |
| In pinned Novu v3.19.0 source (commit fe53c481), CompileTemplateCommand decorates template with @IsDefined() without @IsString() and CompileTemplate passes command.template directly into handlebars.compile(); a runtime string check would have blocked the AST-object path independently of the Handlebars bump Pinned novuhq/novu v3.19.0 source cross-checked against GHSA-8r5x-fm3f-whwj | Inferred |
| UK API server cloud credentials read internal secrets across every region (01:46–02:00 UTC), including US and EU Clerk secret keys and a Cloudflare Worker deploy token; between 01:59 and 02:57 UTC the attacker minted sessions for ~1,550 users, re-pointed org references ~25,000 times across 61 attacker orgs, and called four read-only endpoints to read environment API keys and integration credentials for 23,534 organizations (22,115 US, 1,419 EU; ~56% of Novu Cloud) | Confirmed |
| Between 02:10 and 02:45 UTC the stolen Cloudflare token was used to deploy modified versions of four Workers (including Agent Inbox) and two helper Workers to read Agent Inbox production and staging authentication keys and service configuration secrets; harvested OpenAI and Anthropic keys saw 2–5 distillation-style requests per high-tier model | Confirmed |
| How many harvested customer provider keys were used externally, whether keys were passed to AI-access resellers, and why Novu’s timeline names WAF at 01:52:27 UTC while its detection section names AWS GuardDuty (both confirm the 01:52:27 UTC alert was not routed to on-call) | Withheld by vendor |
| No evidence of access to customer subscriber data, message content, or personal data; no attacker modifications to integrations, environments, members, roles, or workflows; no direct database access; all cloud privilege escalation attempts denied; secret-flagged env vars stayed masked; all pre-incident Novu API keys revoked on Nov 19 | Confirmed |
Attacker IP 109.238.87.4 belongs to RIPE block UFO-TECHNOLOGIES-LIMITED (registrant AS201738 cited by Novu) but is announced on BGP by AS55286 (B2 Net Solutions / ServerMania) and matches row 63 of Wiz Research’s Agentic Attacks IOC CSV (Oct 31–Nov 23); Novu’s APIs sit on Cloudflare, dashboards on Netlify, and _dmarc.novu.co runs p=quarantine (pct=100)RIPE RDAP, RIPEstat, Wiz Research IOC CSV (commit 4d39ec32), and passive DNS (Dec 5, 2026) | Observed |
All 6 receipts
Receipt 1, in their wordsConfirmedRead Novu’s confirmation of the lagging UK build and cross-region secret readsOpenClose
Receipt 2, in public codeObservedInspect CompileTemplateCommand (@IsDefined without @IsString) and handlebars.compile()OpenClose
Receipt 3, in their wordsConfirmedRead Novu’s exact numbers on forged Clerk sessions, 23,534 orgs, and Agent Inbox WorkersOpenClose
Receipt 4, what we ranObservedInspect AS55286 vs AS201738 routing for 109.238.87.4, Wiz IOC overlap, and Novu DNSOpenClose
Receipt 5, in their wordsConfirmedRead Novu’s disclosure of the unrouted alert and confirmation that subscriber data stayed safeOpenClose
Receipt 6, saved copyConfirmedInspect GHSA-244j-pq88-5m65 listing three upstream Handlebars 4.7.9 flaws and no assigned CVEOpenClose
Indicators of compromise
109.238.87.4Single attacker source IP published by Novu (RDAP UFO-TECHNOLOGIES-LIMITED / AS201738, BGP announced by AS55286 B2 Net Solutions; matches Wiz Agentic Attacks IOC CSV row 63).
https://novuhq.notion.site/Novu-Incident-report-November-19th-420d03ad838f80ae916fee0d55bc802fOfficial Novu November 19 incident report detailing the lagging UK region, cross-region cloud credential read, 23,534 affected organizations, and Cloudflare Worker tampering.
https://github.com/novuhq/novu/security/advisories/GHSA-244j-pq88-5m65Official Novu GitHub Security Advisory for Handlebars 4.7.9 RCE in @novu/api-service < 3.20.0 (patched in v3.20.0).
https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-8r5x-fm3f-whwjUpstream Handlebars critical advisory (CVE-2026-106446) for AST type confusion in compile(), fixed in 4.7.10.
Reproduction lab
Checks your own Node.js lockfiles for vulnerable Handlebars versions (< 4.7.10) and scans class-validator DTOs for template fields missing @IsString().
# Flag any bundled Handlebars older than 4.7.10 in lockfiles
rg -n '"handlebars":\s*"[\^~]?4\.[0-7]\.[0-9]"' package.json pnpm-lock.yaml package-lock.json 2>/dev/null || echo "PASS: no Handlebars < 4.7.10 found"
# Locate @IsDefined() template properties lacking @IsString()
rg -n -A 3 '@IsDefined\(\)' src/ libs/ 2>/dev/null | rg -n 'template' || true