Skip to main content
VulnerabilityPublished Updated

CVE-2026-38974: dulwich · Improper Certificate Validation

Affects dulwichSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.1.1 when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.1.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade dulwich to 1.1.1.

Affected software

ProductAffectedFixed in
PyPIdulwichpkg:pypi/dulwichOther threatsAffected
  • <1.1.1
Fixed in
  • 1.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, users should consider avoiding use of the vulnerable SSH functionality in Dulwich or implement external SSH host key verification mechanisms as a temporary mitigation.

Description

Dulwich versions prior to 1.1.1 lack SSH host key verification in the contrib/paramiko_vendor.py component. This vulnerability can allow an attacker to perform man-in-the-middle attacks by impersonating SSH hosts, potentially leading to information disclosure. The issue is identified as CWE-295 and has a medium severity with a CVSS score of 5.3.

References

Community reviews

Loading reviews…