WhatsApp CVE-2026-23871: Crafted Ad-Reply Leaks Device IP to Attacker URL
1. Basic Information Article Name: WhatsApp Security Advisories 2026 Publisher: WhatsApp Publication Date: 2026-11-20 Collection Date: 2026-11-21T07:45:23+09:00 Original Source: Primary Source Related Source: S
1. Basic Information
- Article Name: WhatsApp Security Advisories 2026
- Publisher: WhatsApp
- Publication Date: 2026-11-20
- Collection Date: 2026-11-21T07:45:23+09:00
- Original Source: Primary Source
- Related Source: SecurityWeek
- Related CVE: CVE-2026-23871
- Related Products: WhatsApp for Android >= 2.20.198.3, < 2.26.17.4; WhatsApp Business for Android >= 2.20.198.3, < 2.26.17.4
- Severity: Medium (Author's response priority)
- Reason for Severity: While the CVSS score for the IP leak itself is 3.5, WhatsApp indicated that it may have been used in combination with a scam campaign. Successful exploitation on individual devices cannot be confirmed from public information alone.
2. Executive Summary
In WhatsApp and WhatsApp Business for Android versions 2.20.198.3 and later but earlier than 2.26.17.4, rendering a crafted Click to WhatsApp ad-reply message may cause the client to fetch media from an attacker-controlled URL, leaking the device IP address.
3. Attack Flow
From Crafted Ad Reply to IP Leak
- An attacker sends a crafted Click to WhatsApp ad-reply message.
- The ad-reply is rendered and displayed in the message thread.
- The client fetches media from an attacker-controlled URL.
- The source IP address of the device is exposed to the attacker server.
4. Attacker Position and Execution Location
- A remote attacker capable of sending crafted messages to the target from a WhatsApp account.
5. Victim and Administrator Perspective
Victim
- May appear as a normal ad reply or media message.
Administrator
- May appear in mobile network telemetry as a connection to an unknown media domain.
6. Success and Failure Conditions
Success Conditions
- Android version 2.20.198.3 or higher and less than 2.26.17.4
- Rendering and display of a crafted ad-reply message
- Ability to connect to the attacker-controlled media URL
Failure and Mitigation Conditions
- Update to version 2.26.17.4 or later
- Educate users on handling unknown senders and ad replies
- Block malicious media hosts using mobile DNS or Secure Web Gateway (SWG)
7. Impact of Successful Exploitation
- Leakage of the device source IP address
- Inference: The leaked IP address could help estimate the victim's approximate location or network information, or reinforce the credibility of scam messages; use for these purposes in individual cases is unconfirmed.
8. Observable Logs
- Email: None specified
- Proxy / SWG / DNS: GET requests or DNS lookups from mobile devices to unknown media domains
- Endpoint / EDR: Mobile app version and message metadata (where accessible)
- Identity / IdP: None specified
- SaaS / Cloud: WhatsApp abuse and report records
- Network: External media host connections corresponding to message display timestamps
9. Attack Success Assessment
- Public Information (Potential abuse indicated; individual success unconfirmed): WhatsApp has indicated that the flaw may have been used alongside specific spam messages, but has not publicly confirmed successful IP leakage on individual devices. Target scope: CVE-2026-23871.
Separate attempts, execution, privilege acquisition, information access, and subsequent compromises; do not judge a compromise successful based solely on a single IOC or request.
10. Investigation Playbook
- Trigger: Crafted ad-reply scam report or unknown media host connection
- Initial Checks: Verify app version, message timestamp, sender, URL, and network events
- Endpoint: Examine the mobile device's app version and cache, preserving evidence where possible.
- Identity / Cloud: Verify WhatsApp account compromise and linked devices
- Follow-on: Track subsequent phishing, payment requests, and account takeovers
- Containment: Update app, block or report sender, and block malicious domains
- Classification: Separate message receipt, rendering, IP connection, and subsequent scam success
11. Defense and Detection Ideas
- Single Event: Unknown media domain connection upon WhatsApp display
- Timeline: Correlate message receipt, media fetch, and subsequent phishing interaction
- Hunting: Cross-search the same sender or domain across managed Android devices
- Log Gaps: Verify visibility into mobile DNS/SWG and app version
- Priority Mitigation: Update to version 2.26.17.4 or later
12. Facts / Inference / Hypothesis
Facts
- Due to insufficient validation of external ad-reply URLs, when a crafted Click to WhatsApp ad-reply message is rendered and displayed in a thread, fetching media from an attacker-controlled URL can expose the device IP address.
- CVSS v3.1 score is 3.5, classified as network attack vector, low complexity, low privileges required, user interaction required, and low confidentiality impact.
- The official WhatsApp advisory indicates potential use in conjunction with specific spam messages.
- A WhatsApp spokesperson told SecurityWeek that the vulnerability was discovered while disrupting a scam campaign and that WhatsApp believed scammers had used it to increase the credibility of their messages.
- It was patched in version 2.26.17.4.
Inference
- IP acquisition may have allowed scammers to gauge the victim's approximate location or connectivity to reinforce social engineering, but individual usage has not been confirmed.
Hypothesis
- None. Do not assume a broader impact or successful attack beyond publicly available information.
13. MITRE ATT&CK Mapping
No MITRE ATT&CK techniques are assigned in this report as no matching behavior was confirmed. T1589.003 targets employee name collection and does not apply to the IP information leak in this case.
14. Uncertainties and Additional Investigation
- Scale of the scam campaign
- Number of devices where IP acquisition succeeded
- Message content and delivery infrastructure
15. Impact on SOCs and Organizations
On managed Android devices, verify the WhatsApp version and incorporate Click to WhatsApp ad replies and connections to unknown media domains into phishing investigations.
16. Summary by Role
- SOC: Correlate device connections to unknown media domains with WhatsApp scam reports occurring at the same timestamp.
- Administrators: Update WhatsApp and WhatsApp Business for Android to version 2.26.17.4 or later.
- Users: Update the app and do not trust links or requests in suspicious messages masquerading as ad replies.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.