# Email parsing identity collapse

Email split, semicolon, or delimiter parsing binds multiple addresses or identities to one account

_Area: Web authentication and account takeover. Seen in 3 disclosed reports; one confirmed bounty: $250; latest 2026-09-11. Updated 2026-11-20._

## How it works
A system treats an email address as a single identity, but the code that parses or resolves it does not enforce that one address maps to one owner. When the parser splits on delimiters (semicolon, comma, spaces) or re-derives identity from an assertion field, several addresses or tenants collapse onto one account. The broken assumption: "the email string identifies exactly one verified owner." Nothing proves ownership before the string is trusted.

## Where it shows up
- Signup/activation endpoints taking an email in a URL or base64 parameter that the server splits before mailing [E3](https://bugbountylibrary.com/r/blog%3Abergee-it-blog-blind-account-takeover.md)
- SAML ACS finish flows that recompute tenant via `email.split("@")[-1]` instead of the route-selected config [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md)
- Global lookups (e.g. SAMLDomainIndex) that resolve a domain to a tenant without domain-ownership proof [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md)
- Support/helpdesk portals that auto-create tickets from inbound email and allow signup with an unverified address [E1](https://bugbountylibrary.com/r/h1%3A1534465.md)
- Settings like auto-connect or IdP-initiated SSO that widen who can assert an identity [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md)

## How to review
Find every place an email string becomes an identity or tenant. The invariant: token/account issuance must bind to the configuration or record already validated for that request, and every address bound to an account must have proven ownership. Check that the server does not split user-supplied email into multiple recipients, that tenant resolution uses the route-selected SAML config rather than re-parsing the assertion, and that signup requires verification before granting access to existing data.

## How finders spotted it
- Noticed the support portal ingests inbound email as tickets and never verifies ownership at signup; hypothesized any mail to an unverified address becomes readable [E1](https://bugbountylibrary.com/r/h1%3A1534465.md)
- Code-read the SAML ACS finish flow, saw tenant recalculated from asserted `user.email` domain rather than the validated config, then traced auto-connect, IdP-initiated SSO and the global domain index to confirm cross-tenant issuance [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md)
- While testing an activation link, tried two emails separated by a semicolon; both mailboxes got identical links to one account, and a leading space hid the attacker address from the victim's form [E3](https://bugbountylibrary.com/r/blog%3Abergee-it-blog-blind-account-takeover.md)

## Variants seen
- Delimiter injection in signup email parameter binding multiple mailboxes to one account [E3](https://bugbountylibrary.com/r/blog%3Abergee-it-blog-blind-account-takeover.md)
- Tenant re-derivation from asserted email domain in multi-tenant SAML SSO [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md)
- Unverified email signup on a helpdesk that reads inbound mail as tickets [E1](https://bugbountylibrary.com/r/h1%3A1534465.md)

## Impact and severity
Led to account takeover and password resets across multiple services by chaining reset-link emails [E1](https://bugbountylibrary.com/r/h1%3A1534465.md); cross-tenant token issuance with lateral movement via a token-switch endpoint into every tenant the victim belongs to [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md); blind account takeover by pre-seeding a victim's signup [E3](https://bugbountylibrary.com/r/blog%3Abergee-it-blog-blind-account-takeover.md). Impact rises with reach: any service mailing links to the address [E1](https://bugbountylibrary.com/r/h1%3A1534465.md), and multi-tenant membership breadth [E2](https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md).

## Seen in real software
Open-source packages and projects, and products, where this pattern was found. If the target runs one, compare the version it runs with the fix.
- **prowler-cloud (pip)** < 5.30.3, fixed in 5.30.3: Prowler: SAML Domain Claiming Enables Cross-Tenant Account Takeover (CVE-2026-59151). Report: https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md. Fix: https://github.com/prowler-cloud/prowler/commit/bf3b5c2ba713e533014927141b64948c82c8f32e

## Evidence
- E1: https://bugbountylibrary.com/r/h1%3A1534465.md
- E2: https://bugbountylibrary.com/r/ghsa%3AGHSA-h8m9-jgf8-vwvp.md
- E3: https://bugbountylibrary.com/r/blog%3Abergee-it-blog-blind-account-takeover.md
