Skip to content

Security Alert | PromptJack — ServiceNow's AI Agent Can Be Tricked Into Mailing a Phishing Reply

Dec 4, 20266 min
TL;DRBeyondTrust Phantom Labs disclosed PromptJack (CVE-2026-18883, CVSS 7.1): ServiceNow Now Assist for CSM's Email Response AI Agent lifts field-like strings straight out of an inbound email and uses them as the recipient and body for its send-mail tool, and prompt-injection detection didn't catch it because the payload looked like ordinary business data. ServiceNow shipped a centralized fix on 2026-11-19; the real fix is binding sensitive fields like recipients in code instead of letting the LLM decide.

Look up & save

Loading dictionary…

中文版

What happened

Madhav Nakar, a researcher at BeyondTrust's Phantom Labs, found a vulnerability he named PromptJack (CVE-2026-18883) in the built-in "Triage Cases" workflow of ServiceNow Now Assist for Customer Service Management (CSM): a single email to a support inbox is enough to make the Email Response AI Agent send its reply to a recipient and with content the attacker chooses — turning an out-of-the-box support automation into a machine that mails convincing-looking phishing messages. Worse, the poisoned content also lands in the agent's long-term memory, where it can resurface weeks later in a completely unrelated customer's case. Nakar reported the flaw to ServiceNow back in May; ServiceNow shipped a centralized fix on November 19, and there's no evidence it has been exploited in the wild.

Key facts

ItemValue
Incident typeIndirect prompt injection → LLM tool argument hijacking
ScopeServiceNow Now Assist for CSM's Email Response AI Agent (Triage Cases workflow); fixed in AI Agent Collection v6.1
SeverityHigh, CVSS 4.0 7.1 (per the official CVE record; some third-party trackers list CVSS 3.1 9.1 Critical)
CVECVE-2026-18883
SourcesBeyondTrust Phantom Labs research writeup, CVE.org record, ServiceNow KB3235180

Attack surface analysis

Now Assist's agentic workflow is coordinated by an orchestrator that dispatches specialized agents; the Email Response AI Agent reads a case, drafts a reply, and calls a send-mail tool to deliver it. The researcher found that when the orchestrator builds a task, it folds the case content, prior agents' outputs, and shared memory all into one context — and when the Email Response AI Agent calls its drafting and sending tools, the recipient and body are left "open": the LLM has to fill them in at runtime from whatever is in that context. The researcher crafted an inbound email whose body happened to look like the field names and values the send-mail tool expects, so the model treated them as legitimate input to use rather than text a user typed — and filled them straight into the send-mail tool's arguments. The tool itself validates nothing: it never checks the recipient against the case's actual contact, and nothing enforces the "no URLs in drafts" rule that exists only as a soft instruction in a prompt template. The researcher specifically tested this with Now Assist Guardian's prompt-injection detection turned on, in block mode at low sensitivity — and the attack still succeeded, because the payload was disguised as ordinary business data rather than a classic "ignore previous instructions" injection the classifier was built to catch.

There's a deeper risk underneath: whatever an agent run produces gets written verbatim into the sn_aia_memory table, with no sanitization at all. That means a malicious URL planted in one email can resurface weeks later when the agent handles an entirely different, unrelated customer's case, pulled back in as "something it learned before" and written into that reply. The blast radius of one injection isn't limited to the email that carried it.

Mapped to the OWASP LLM Top 10, this is LLM01 Prompt Injection (indirect injection changing agent behavior) compounded by LLM06 Excessive Agency (the send-mail tool hands the decision for high-risk fields like recipient and body entirely to the LLM, with no hard constraint in code).

PromptJack's attack chain — turning one email into a ServiceNow-sent phishing reply and poisoned memory
PromptJack's attack chain — turning one email into a ServiceNow-sent phishing reply and poisoned memoryAn attacker sends an email with field-like strings, the Email Response AI Agent treats them as its send-mail tool's arguments, mails the result to an attacker-chosen address, and writes it into long-term memory, poisoning later cases reads the inbound email carries field-like strings treated as mail arguments mailed to outside address written into long-term memory poisons a later case Malicious email Email Agent Outside inbox
  1. Email Agent reads an inbound support email
  2. The email carries field-like strings as its content
  3. The agent treats the content as mail-tool arguments
  4. The agent sends the mail to an external address
  5. The content is also written into long-term memory
  6. It later poisons the reply to an unrelated case

Defenses

Act now

  • In ServiceNow's Application Manager, confirm the Now Assist "AI Agent Collection" is already at v6.1 or later — ServiceNow's fix was deployed centrally and usually needs no manual platform upgrade, but still verify the application version
  • Inventory every agentic workflow in your own environment that reads external email or case content and can call a send-mail or external-notification tool; assume each one has the same exposure
  • Enforce sender authentication at the mail gateway: enable DMARC and set glide.email.inbound.authenticate_sender = true and glide.email.user_authentication = true, so an unauthenticated inbound message never reaches the workflow that triggers this

Longer-term architecture

  • Fields where a mistake is a security incident — recipient addresses, outbound URLs — should be bound in code directly from the record (e.g., the case's actual registered contact), never left for the LLM to fill in at runtime; that open field is exactly what made this vulnerability possible
  • Don't rely solely on a soft rule written into a prompt, or on a classifier like Now Assist Guardian, as your only defense — this incident shows that injected content disguised as ordinary business data slips past classifiers
  • Anything that gets written into an agent's long-term memory should be sanitized first — strip URLs and structured payloads — so one injection can't spread through memory into future, unrelated tasks
  • If you're deciding whether to add a runtime detection layer, something like Lakera can serve as a second line of defense against injected payloads, but the lesson here is that code-level constraints on parameters are more reliable than any semantic classifier

Impact

ServiceNow and several CVE trackers (NVD, Tenable, Rapid7) currently report no observed exploitation of this flaw, and EPSS puts the 30-day exploitation probability under 1%. But the exposure covers every customer running Now Assist for CSM's default "Triage Cases" workflow with the Email Response AI Agent enabled — this is ServiceNow's own built-in sample use case, not custom development, so simply following the official setup docs put customers at risk. The fix was deployed centrally on 2026-11-19, and customers don't need to manually upgrade the platform or apply a hotfix, though checking the application version and mail-authentication settings is still worth doing. Worth noting: this isn't Now Assist's first prompt-injection problem — in November 2025, a separate researcher disclosed a "second-order prompt injection" where Now Assist agents could trigger each other, suggesting this is a recurring architectural risk on the same agentic platform rather than a one-off bug.

If any part of your own agent system fits the pattern "reads external email or user input → the LLM decides which tool to call and what to fill in → the tool itself does no code-level validation on high-risk parameters," this incident applies directly, regardless of which platform or model you use.

Today's takeaway

The way this defense failed is worth remembering: Now Assist Guardian wasn't disabled, and it didn't simply miss an obviously malicious sentence — the attacker made the payload look like a normal business field, so the classifier had nothing unusual to flag. That's a reminder that prompt-injection detection is built to assume the adversary writes "text with strange instructions in it," but the attacks that actually get through disguise themselves as the data format the system already expects to receive. Taking the decision for high-risk parameters away from the LLM and putting it back in code is the one defense this kind of attack can't get past.

References