# CVE-2026-83813: Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.1
- **CVSS:** 3.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **CWE:** CWE-346
- **Aliases:** GHSA-jj36-9pvh-vj5r
- **Published:** 2026-10-23T20:21:54.364Z
- **Modified:** 2026-10-29T19:17:26.937Z

## Who should check

- Projects that depend on PyPI package twisted (\< 26.10.0rc1)
- Anyone running twisted \< 26.7.0rc1

## Description

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.

## Affected and fixed versions

- PyPI `twisted`: affected \< 26.10.0rc1; fixed 26.10.0rc1 (osv)
- twisted: \< 26.7.0rc1 (cvelist)

## Mitigation

- Upgrade twisted to 26.10.0rc1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-83813. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-83813.md
Affected: twisted < 26.10.0rc1
Fixed in: 26.10.0rc1

Steps:
1. Search this machine and project for twisted (PyPI), twisted: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-83813 being exploited?

There is no confirmed exploitation: CVE-2026-83813 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-83813?

Low: CVSS 3.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-83813?

twisted \< 26.10.0rc1.

### Is there a fix for CVE-2026-83813?

Yes. Fixed in 26.10.0rc1. Upgrade twisted to 26.10.0rc1 or later.

### How do I check if I'm affected by CVE-2026-83813?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/twisted/twisted/security/advisories/GHSA-jj36-9pvh-vj5r>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-83813>
- patch: <https://github.com/twisted/twisted/pull/12700>
- patch: <https://github.com/twisted/twisted/commit/b53e1c3477c209b5609a1c74cf9e48373b5879ac>
- other: <https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1>
- other: <https://github.com/twisted/twisted>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-83813>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jj36-9pvh-vj5r> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-83813> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-83813>
