One weak SPF record on a subdomain can make a whole domain spoofable: 79,000 domain hierarchies were exposed
2026-11-07
A study presented at ACM IMC '26 (Karlsruhe, 12-16 October 2026) used public DNS data to measure what happens when one subdomain of a company has a weak SPF record and the DMARC policy uses the default "relaxed" alignment. According to the authors, that weak point can make the entire domain hierarchy spoofable, including the company's main domain. The paper also presents a recommended setup, "Split Alignment", which removes this risk.
How it was measured
The authors are Muhammad Hamza, Taejoong Chung and Eric Pauley (Virginia Tech; Pauley is also with Terrace Networks), Mattijs Jonker and Raffaele Sommese (University of Twente), and Simon Fernandez and Olivier Hureau (Univ. Grenoble Alpes, CNRS, Grenoble INP, LIG). The measurement had two parts. First, from public DNS data (certificate transparency logs and passive DNS) they collected 34.6 million subdomains under 3.2 million organizational domains. Every organizational domain in the data had a DMARC record. For these they queried the SPF, DKIM and DMARC TXT records and looked for well-known flaws. Then they checked whether the DMARC alignment settings let one weak subdomain affect the whole hierarchy. Second, they tested the proposed Split Alignment setup with test emails at large email services, sent to their own accounts and in minimal volume.
The key numbers
- 528 thousand vulnerable subdomain policies. The abstract says "policies", while the body text and table count distinct subdomains. Of these, 35 thousand SPF records end with
allor+all(which effectively authorizes every IP address), 493 thousand list IPs that anyone can rent at a cloud provider, and only 11 stem from compromised DKIM keys. According to the authors this is the largest such number in recent email studies; the study is limited to domains with active DMARC. - Of the 81 thousand domain hierarchies containing a vulnerable subdomain, 97.14% (79 thousand) were entirely spoofable through that subdomain. The cause is relaxed alignment, which lets the local weakness propagate through the whole hierarchy.
- About 90% of organizational domains use relaxed alignment, and about 70% use the default, meaning they do not set the
aspfandadkimtags. Strict alignment appears in about 10%. - Among organizational domains with a vulnerable subdomain, 97.38% use relaxed alignment and 83.54% use the default.
- In the Split Alignment tests the authors report that deliverability matched that of a perfectly configured DMARC-passing email at all evaluated services, and the adversarial setup was handled the same as an email failing DMARC at all of them (excluding confirmed bugs that were fixed or under remediation).
- The testing found DMARC implementation bugs at four email services. The abstract and introduction label all four as bugs, whereas the body's table shows three fixed, and the fourth service described the behavior as intended. The body text is the authoritative version.
- The paper also reviewed the documentation of 11 email service providers: 7 explain the alignment tags, 6 recommend no specific alignment setting, and of the 5 that give a recommendation, 4 advise relaxed.
What to keep in mind about the study
- The "spoofable" classification rests on the configuration visible in DNS: relaxed alignment plus at least one vulnerable subdomain. The authors did not actually spoof these domains, and could not notify each of the 81 thousand affected organizations individually.
- The data has limits: subdomains were collected from certificate transparency logs and passive DNS (January 2024 to February 2025), so subdomains used only for email and absent from these sources may be missed. The study is limited to domains with active DMARC.
- Split Alignment was tested with email sent to the authors' own controlled accounts, in minimal volume per service. Providers' internal policies can override the DMARC decision, so a delivery outcome does not always show the DMARC decision. The paper addressed this, but the measurement applies to the services tested and the time of testing.
- The proposed setup requires, at minimum, DKIM signing on the sending domain.
- The paper found the four providers' flaws by sending test emails (active testing) and disclosed them responsibly. This is not the same as passive measurement from public DNS.
What this means for you
The following is our interpretation and a practical checklist, not every point of the study.
- Check how your domains' SPF records end. If the end is
+allorall, it effectively authorizes every IP address and is no protection. Look at subdomains too, not only the main domain. - Check whether the SPF includes large IP ranges that anyone can rent from a cloud provider, especially ones left in after a service was decommissioned. According to the paper, records with cloud-rentable IPs make up the vast majority of the vulnerable policies (493 thousand of 528 thousand).
- SPF has a general rule (RFC 7208): at most 10 DNS lookups per evaluation, and many
includeentries lead to long records that are hard to review. This number is not from the paper, it comes from the SPF standard. - Check the
aspfandadkimvalues in your DMARC record. If they are missing, relaxed alignment is the default, and according to the paper most organizations rely on it. - The paper's recommended setup, Split Alignment: strict DMARC (
adkim=s; aspf=s), SPF moved to a dedicated MAIL FROM subdomain, the visible domain's SPF record set tov=spf1 -all, and DMARC relying on DKIM. Test before going live, because every sending service you use (newsletter, invoicing, CRM) must support SPF on a subdomain and DKIM signing with your own domain.
A Secageo audit checks the domain's SPF and DMARC records from public DNS.
Sources
- Muhammad Hamza, Mattijs Jonker, Raffaele Sommese, Simon Fernandez, Olivier Hureau, Eric Pauley, Taejoong Chung: "Split Alignment: Diffusing SPF Vulnerabilities with DMARC", Proceedings of the 2026 ACM Internet Measurement Conference (IMC '26), Karlsruhe, 12-16 October 2026. CC BY 4.0. https://doi.org/10.1145/3777912.3809146