Skip to content
Business logic Disclosed report Intermediate

Spam & Clearance checks disabled with existing referenced Message-ID

HEY's inbound email processing could be tricked into skipping spam filtering and The Screener when a crafted email referenced an existing Message-ID. An attacker who knew a valid Message-ID from a target's mailbox could deliver spam directly into an existing thread.

northeastprince Follow

Originally disclosed on HackerOne

Bounty$250 Low View original
  • Triaged in 2.6 years
  • Fixed in 2.6 years
  • Paid in 2.6 years
  • Disclosed after 2.6 years

Summary by the program

Summary

A vulnerability in HEY's inbound email processing could allow crafted emails to bypass spam filtering and The Screener when they appear to be in reply to an existing thread.

Impact

An attacker who obtained a valid Message-ID from a target's mailbox could send emails that bypassed HEY's spam detection and appeared directly in existing threads, even when the mail server flagged them as spam.

The original report as published on HackerOne, by northeastprince. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is HEY's inbound email processing, on the *.hey.com asset. The report describes a flaw in how HEY handles incoming mail that appears to be a reply to an existing thread.

The researcher's finding, as summarised by the program, is that a crafted email could bypass spam filtering and The Screener when it looked like a reply to a thread that already existed. The precondition is a valid Message-ID taken from the target's mailbox. With such an identifier, an attacker could send mail that skipped HEY's spam detection and landed directly in an existing thread, even when the mail server had already flagged the message as spam.

The report is short and does not include the raw request, the exact headers used, the version of any component, or the server responses. What it does establish is the outcome: mail that appears to be a reply to an existing thread can bypass spam filtering and The Screener.

The outcome recorded by the platform: severity low, weakness classified as improper access control (generic), a bounty of 250.00 USD, and public disclosure on 2026-01-21. The report does not describe the fix.

Root cause

A plausible explanation is that a message referencing an existing Message-ID is treated as part of that conversation and so faces weaker checks. Spam scoring and The Screener are skipped for such a message, according to the report.

The mistake is trusting an identifier that the sender supplies. A Message-ID is not a secret and is not authenticated by the receiving server, so anyone who has seen it can reference it. If the server uses that value to decide trust rather than only to decide display grouping, the sender controls the trust decision.

Impact

Within the report's own framing: an attacker holding a valid Message-ID from a target's mailbox could deliver mail that bypassed spam detection and appeared directly in an existing thread, even when the mail server had flagged it as spam. That is a delivery and filtering bypass, not a compromise of the mailbox. The report does not claim code execution, data disclosure, or account takeover, and the low severity reflects that.

The practical consequence is that unwanted mail reaches the inbox and appears directly in an existing thread. The Screener is bypassed for such messages.

How this kind of bug works

Mail threading is built on identifiers. Message-ID names a single message; In-Reply-To and References point at earlier messages so clients can group them into a conversation. None of these headers is authenticated. There is no signature binding them to the original sender, and the receiving MTA has no way to verify that the sender of a new message is the same party that sent the referenced one.

Because of that, any logic that says "this message belongs to a thread the user has already engaged with, therefore it is safe" is trusting attacker-controlled input. This resembles a trust-boundary problem: a value used for grouping is reused for a filtering decision.

The same pattern appears wherever a system derives trust from a reference: ticket systems that append mail to an existing ticket based on a subject tag or a reply address, comment platforms that accept replies by parent identifier, and notification services that thread by a token in the subject line. The defence is to keep the two decisions separate. Threading may use the header; admission to the inbox must still run the full set of checks, or must require proof that the sender is entitled to post to that thread, such as a per-thread secret address or a signed token.

How to test for it

  1. Identify the feature that groups inbound messages: a mail-to-ticket gateway, a comment-by-email address, a threaded inbox, a support desk.
  2. Obtain a legitimate message identifier from a mailbox you control on the target, for example by sending yourself a message and reading its headers, or by finding one quoted in a reply.
  3. Send a new message from a different, untrusted sender that references that identifier in the reply headers, and vary the content so it would normally be filtered: spam-like body, suspicious links, a sender domain with poor reputation.
  4. Observe whether the message is grouped into the existing thread and whether it skipped the checks that a fresh message from the same sender would hit, such as the screening queue or a spam verdict.
  5. Repeat with a message the upstream server marks as spam, if you can arrange it, to confirm the verdict is ignored rather than merely delayed.

A positive result is a message from an unrelated sender appearing inside a thread it does not belong to, with the normal admission checks not applied. Common false positives: the message is grouped for display but still quarantined; the sender was already allow-listed; the identifier was guessed and the server rejected it, which shows validation is present; or the grouping is done client-side only and the server still scored the message.

How it is fixed

Separate threading from admission. A referenced identifier may be used to place a message in a conversation, but the message should still pass spam scoring and the screening decision unless the sender is independently trusted. Where a thread must accept replies from outside, use an unguessable per-thread address or a signed token rather than a public header value, and verify it server-side.

Hunting notes

This bug class hides in any product that accepts mail or messages from outside and threads them: helpdesks, CRMs, project tools, shared inboxes, and notification gateways. Recon signals include published reply-to addresses, documentation describing how to reply to a thread by email, and headers visible in messages the product sends you. Once you have a mailbox on the target, the headers of your own messages give you the identifiers you need.

Capture the headers you sent and the state of the message in the product.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

HEY is an email service. Two of its features matter here. Spam filtering tries to keep junk mail out of your inbox. The Screener is HEY's own gate: mail from someone you have not accepted before is held back until you decide whether to let that sender through. Both exist to stop strangers dropping messages into your mailbox uninvited.

The report describes a way around both. HEY groups incoming mail into conversations, called threads, so that a reply sits underneath the message it answers. To do that, it uses a reference to an existing message's Message-ID. Every email carries one: it is a unique label for that single message, a bit like a serial number on a receipt. When you reply, your mail client references the original message's Message-ID, which is how the receiving side knows which conversation the new message belongs to.

The problem is that these headers are written by whoever sends the email. Nothing proves they are genuine. If an attacker can obtain a valid Message-ID from your mailbox, they can send a message that references it. HEY then treats that message as part of a conversation you already have, and, according to the report, skips the spam check and The Screener for it. The message lands directly in the existing thread, even when the mail server had already marked it as spam.

The report is short. It does not include the raw request, the exact headers used, software versions or the server's responses. What it does establish is the mechanism: whether a message counts as part of a thread is decided from a value the sender controls, and that decision switches off the checks a brand new message would face.

The platform recorded the severity as low, classified the weakness as improper access control (generic), paid a bounty of 250.00 USD, and disclosed the report publicly on 2026-01-21. The report does not describe the fix.

Why it matters

The report frames the impact narrowly: an attacker who holds a valid Message-ID from a target's mailbox could deliver mail that bypassed spam detection and appeared directly in an existing thread, even when the mail server had flagged it as spam. That is a delivery and filtering bypass, not a break-in to the mailbox. The report does not claim code execution, data disclosure or account takeover, and the low severity reflects that.

The practical consequence is that unwanted mail reaches the inbox and appears directly in an existing thread. The Screener is bypassed for such messages.

In general, how this kind of bug works

Email threading is built on identifiers. Message-ID names a single message; In-Reply-To and References point back at earlier messages so that mail clients can group them into a conversation. None of these headers is authenticated. There is no signature tying them to the original sender, and the receiving mail server has no way to check that the person sending a new message is the same person who sent the one being referenced.

So any logic that says "this message belongs to a thread the user has already engaged with, therefore it is safe" is trusting input the attacker supplies. This resembles a trust-boundary problem: a value used for grouping is reused for a filtering decision.

The same pattern turns up wherever a system derives trust from a reference. Ticket systems that append mail to an existing ticket based on a subject tag or a reply address, comment platforms that accept replies by parent identifier, and notification services that thread by a token in the subject line all share the shape. The defence is to keep the two decisions apart. Threading may use the header; admission to the inbox must still run the full set of checks, or must require proof that the sender is entitled to post to that thread, such as a per-thread secret address or a signed token.

How to test for it

  1. Identify the feature that groups incoming messages: a mail-to-ticket gateway, a comment-by-email address, a threaded inbox, a support desk.
  2. Obtain a legitimate message identifier from a mailbox you control on the target, for example by sending yourself a message and reading its headers, or by finding one quoted in a reply.
  3. Send a new message from a different, untrusted sender that references that identifier in the reply headers, and vary the content so it would normally be filtered: spam-like body, suspicious links, a sender domain with poor reputation.
  4. Observe whether the message is grouped into the existing thread and whether it skipped the checks that a fresh message from the same sender would hit, such as the screening queue or a spam verdict.
  5. Repeat with a message the upstream server marks as spam, if you can arrange it, to confirm the verdict is ignored rather than merely delayed.

A positive result is a message from an unrelated sender appearing inside a thread it does not belong to, with the normal admission checks not applied. Common false positives: the message is grouped for display but still quarantined; the sender was already allow-listed; the identifier was guessed and the server rejected it, which shows validation is present; or the grouping is done in the browser only and the server still scored the message.

How it is fixed

Separate threading from admission. A referenced identifier may be used to place a message in a conversation, but the message should still pass spam scoring and the screening decision unless the sender is independently trusted. Where a thread must accept replies from outside, use an unguessable per-thread address or a signed token rather than a public header value, and verify it on the server.

Where to look for it

This bug class hides in any product that accepts mail or messages from outside and threads them: helpdesks, CRMs, project tools, shared inboxes and notification gateways. Recon signals include published reply-to addresses, documentation describing how to reply to a thread by email, and headers visible in messages the product sends you. Once you have a mailbox on the target, the headers of your own messages give you the identifiers you need.

Capture the headers you sent and the state of the message in the product.

Glossary

  • HEY: an email service; the product affected in this report.
  • Spam filtering: automatic checks that try to keep junk and malicious mail out of the inbox.
  • The Screener: HEY's feature that holds mail from unknown senders until the user decides whether to accept them.
  • Thread: a conversation made of an original message and its replies, grouped together.
  • Header: a labelled field at the top of an email carrying metadata such as sender, subject and threading information.
  • Message-ID: a unique identifier for a single email message, like a serial number.
  • In-Reply-To / References: headers that point back at earlier messages so mail clients can group replies into a thread.
  • Mail server (MTA): the software that receives and passes on email messages.
  • Bypass: getting past a control, such as a filter, without satisfying it.
  • Phishing: mail that pretends to be trustworthy in order to trick the recipient into acting on it.
  • Improper access control: a weakness where something is allowed to happen that should have been restricted.
  • Trust boundary: the line between data a system controls and data an outsider can supply; bugs appear when the second is treated like the first.
  • Confused deputy: a system that has authority but is tricked into using it on an attacker's behalf.
  • Allow-list: a list of senders or addresses that are trusted in advance.
  • Quarantine: holding a suspicious message aside instead of delivering it to the inbox.
  • False positive: a test result that looks like a bug but is not one.
  • Token: a value, often random and secret, used to prove that a request is legitimate.
  • Severity: a rating of how serious a vulnerability is, here low.
  • Bounty: a payment made to a researcher for reporting a valid vulnerability.
  • Disclosure: making a vulnerability report public.

More from Basecamp

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.