
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-83813 is a DNS response spoofing vulnerability in the Twisted networking library's twisted.names DNS client, caused by missing source address validation in DNSDatagramProtocol. The flaw allows any host capable of delivering a UDP packet with a matching 16-bit transaction ID to inject forged DNS answers, independent of the real DNS server's address. It affects all Twisted versions up to and including 26.4.0, with a fix available in version 26.10.0rc1. The vulnerability carries a CVSS v3.1 base score of 3.1 (Low) (GitHub Advisory).
The root cause is an Origin Validation Error (CWE-346) in DNSDatagramProtocol.datagramReceived (src/twisted/names/dns.py, line 3350), which accepts DNS responses based solely on a matching 16-bit transaction ID without verifying the source address of the UDP datagram. The listening socket is created with listenUDP(0, self, maxPacketSize=512) and is not connected to the queried server, so the OS kernel performs no source-address filtering either. While twisted.names.client.Resolver mitigates brute-force attacks by creating a new DNSDatagramProtocol instance with a fresh random source port per query (providing ~32 bits of combined entropy), code that uses DNSDatagramProtocol directly across multiple queries reuses the same port, reducing the attacker's guessing space to just the 16-bit transaction ID. A public proof-of-concept demonstrating successful injection of a forged A record from an unrelated local socket is included in the advisory (GitHub Advisory).
A successful exploit allows an attacker to redirect hostname resolution to an arbitrary IP address, enabling mail interception via spoofed MX/A records, server-side request forgery (SSRF), or man-in-the-middle positioning against any service that trusts the resolved address. Applications using twisted.mail for MX lookups are directly affected. On-path attackers or those sharing a broadcast domain or NAT segment with the resolver face no meaningful barrier, as source-address validation is the precise control that would otherwise stop them (GitHub Advisory).
A public proof-of-concept is included in the GitHub Security Advisory, demonstrating that a forged DNS response from an unrelated UDP socket is accepted by the resolver when the transaction ID matches. The CVE was reserved but details were published on October 22, 2026. No in-the-wild exploitation, threat actor attribution, EPSS score, or CISA KEV listing has been reported at this time. Off-path exploitation against the standard client.Resolver requires winning a ~32-bit combined guess (port + transaction ID) within the query timeout, while direct DNSDatagramProtocol usage reduces this to a 16-bit (1-in-65,536) guess (GitHub Advisory).
twisted.names.client.Resolver, createResolver, or twisted.mail MX lookups) and determine the resolver's listening UDP port — either by network observation or by targeting code that uses DNSDatagramProtocol directly (which reuses the same port across queries).secureRandom, so it must be guessed (1-in-65,536 per attempt) or observed if the attacker is on-path. For DNSDatagramProtocol used directly across multiple queries, the source port is fixed after the first query, reducing the search space to the transaction ID alone.6.6.6.6).twisted.mail deployments.Upgrade Twisted to version 26.10.0rc1 or later, which includes a fix for the missing source address validation in DNSDatagramProtocol. As a workaround, avoid using DNSDatagramProtocol directly across multiple queries on a single instance; instead, use twisted.names.client.Resolver (which rotates source ports per query) to benefit from the ~32-bit combined entropy. Additionally, deploying DNSSEC validation or using a local validating resolver (e.g., Unbound) as an upstream can provide an independent layer of protection against forged responses (GitHub Advisory).
The vulnerability was reported by researcher tinyb0y and published by Twisted maintainer adiroiban via GitHub Security Advisory on October 22, 2026. No broader media coverage or notable social media reactions have been identified at this time (GitHub Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."