PyPI
CVE-2026-83813
Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation
- Severity
- Low 3.1
- Published
- 27 Oct 2026
- Last changed
- 27 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 26.10.0rc1
- Exploit chance
- 0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- From the same local network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N- Also known as
- GHSA-jj36-9pvh-vj5r
- Sources
- OSV.dev and GitHub
Description
twisted.names.dns.DNSDatagramProtocol, the UDP transport used by twisted's DNS client (twisted.names.client.Resolver, createResolver, and anything built on it, including MX lookups in twisted.mail), accepts a DNS response for a pending query solely on the basis of the 16-bit transaction ID matching. It never checks that the response actually originated from the server the query was sent to. Any host that can deliver a UDP packet to the resolver's listening port with the correct transaction ID can inject a forged answer, independent of the real server's address. This is a materially weaker defense than standard DNS resolver practice (transaction ID plus source-address validation, typically also source-port rotation), and enables off-path DNS response spoofing / cache poisoning.
DNSDatagramProtocol.datagramReceived (src/twisted/names/dns.py, line 3350) is:
Affected software
| Software | Affected versions |
|---|---|
twistedPyPI · osv:PyPI:twisted |
|
About twisted
- Weekly downloads (PyPI)
- 3,301,576PyPI Stats, 24 Nov 2026
Vulnerabilities in twisted
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- GHSA-vpp8-g58w-m8mpTwisted: Unauthenticated Remote Denial of Service in the Twisted HTTP/2 Server via Rapid Stream ResetHigh 7.5 29 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-83813
- GitHub Advisory Database https://github.com/advisories/GHSA-jj36-9pvh-vj5r