Description
Dulwich through 1.1.0 was found to be missing SSH host key verification in contrib/paramiko_vendor.py.
Published: 2026-07-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the Dulwich library version 1.1.0, where the SSH host key verification step is omitted in the contrib/paramiko_vendor.py module. This omission means that any SSH connection initiated by Dulwich will accept the server key without confirmation, thereby allowing a malicious actor to perform a man‑in‑the‑middle attack on the SSH session. The impact is a loss of confidentiality and integrity for data transmitted over the SSH channel, and a loss of authentication assurance for the client.

Affected Systems

Affected systems are installations that use the Dulwich Python library, particularly version 1.1.0. Any projects, services, or scripts that rely on Dulwich for SSH communication will be exposed, regardless of the operating system or deployment environment.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity vulnerability, while the EPSS score of less than 1% implies a very low probability of currently observed exploitation. The vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be remote over SSH; the attacker would need to establish an SSH session to the target and could subvert it by presenting a rogue host key. No special privileges are required on the client side, but successful exploitation requires the client to connect to a target server over SSH that the attacker can control or intercept.

Generated by OpenCVE AI on July 31, 2026 at 04:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dulwich to a version where SSH host key verification is enabled.
  • Configure SSH clients used by Dulwich to enforce strict host key checking, or provide a populated known_hosts file.
  • Verify that any custom SSH backend implements proper host key validation and does not rely solely on the default implementation.

Generated by OpenCVE AI on July 31, 2026 at 04:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Title dulwich: Dulwich: Missing SSH host key verification allows potential impersonation
Weaknesses CWE-322
References
Metrics threat_severity

None

threat_severity

Important


Thu, 16 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-295
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Jelmer
Jelmer dulwich
Vendors & Products Jelmer
Jelmer dulwich

Wed, 15 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Description Dulwich through 1.1.0 was found to be missing SSH host key verification in contrib/paramiko_vendor.py.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-16T18:26:43.162Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-38974

cve-icon Vulnrichment

Updated: 2026-07-16T18:26:38.447Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-15T00:00:00Z

Links: CVE-2026-38974 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T04:15:04Z

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-322

    Key Exchange without Entity Authentication