Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.1
CVE-2026-83813: Twisted DNS library can accept forged replies
CVE-2026-83813 · published 29 days ago
Summary
The Twisted Python networking framework’s DNS component can be fooled into trusting a fake response if an attacker guesses the short transaction code and sends a packet to the same port. This could cause your systems to resolve host names incorrectly, potentially leading to email interception or other misdirection. Update Twisted to the latest version (26.10.0rc1 or newer) to fix the issue.
What to do
- Update twisted to version 26.10.0rc1.
- Update debian twisted to version 26.10.0-1.
- Update bellsoft py3-twisted to version 26.10.0-r0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | twisted | twisted | < 26.7.0rc1 |
| pip | – | twisted |
<= 26.4.0 Fix: upgrade to 26.10.0rc1
|
| Debian:12 | debian | twisted | All versions |
| Debian:14 | debian | twisted |
< 26.10.0-1 Fix: upgrade to 26.10.0-1
|
| Ubuntu:Pro:14.04:LTS | canonical | twisted | All versions |
| Alpaquita:stream | bellsoft | py3-twisted |
>= 22.10.0-r0, < 26.10.0-r0 Fix: upgrade to 26.10.0-r0
|
Original advisory text
Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.names.dns.DNSDatagramProtocol accepts a UDP DNS response for a pending query when its 16-bit transaction ID matches but does not verify that the response came from the queried host and port. An attacker able to deliver a packet to the resolver's listening port with the correct transaction ID can inject a forged answer. The standard twisted.names.client.Resolver uses a new random source port for each query, increasing off-path attack complexity, while applications that reuse a DNSDatagramProtocol instance expose only the transaction-ID search space after the first query. A successful forgery can redirect hostname resolution and enable mail interception, server-side request forgery, or man-in-the-middle positioning. This issue is fixed in version 26.10.0rc1.
References
- https://github.com/twisted/twisted/commit/b53e1c3477c209b5609a1c74cf9e48373b5879... Patch
- https://github.com/twisted/twisted/pull/12700 Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83813... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-83813 Vendor Advisory
- https://github.com/advisories/GHSA-jj36-9pvh-vj5r
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1 URL
- https://security-tracker.debian.org/tracker/CVE-2026-83813 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-83813 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-83813 Third Party Advisory
- https://github.com/twisted/twisted/security/advisories/GHSA-jj36-9pvh-vj5r Vendor Advisory
- https://docs.bell-sw.com/security/cves/CVE-2026-83813 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-346Origin Validation Error
Timeline
Published23 Oct 2026
Updated13 Nov 2026
First seen23 Oct 2026
Sources
CVE-2026-83813 · NVD
CVE-2026-83813 · MITRE
CVE-2026-83813 · OSV
GHSA-jj36-9pvh-vj5r · GHSA
DEBIAN-CVE-2026-83813 · OSV
UBUNTU-CVE-2026-83813 · OSV
BELL-CVE-2026-83813 · OSV
Track software like this
Free during beta