Skip to main content

Dulwich CVE-2026-38974

| EUVDEUVD-2026-44852 MEDIUM
Improper Certificate Validation (CWE-295)
2026-07-15 mitre GHSA-h7fr-r783-5g99
5.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker gains on-path network position
  2. Delivery
    Intercept Dulwich SSH connection
  3. Exploit
    Present fraudulent SSH server key
  4. Execution
    Dulwich accepts key without verification
  5. Persist
    Proxy SSH session
  6. Impact
    Capture credentials or inject content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires: (1) the target application must use Dulwich's contrib/paramiko_vendor.py SSH transport (ParamikoSSHVendor) - this is not the default transport and must be explicitly configured; (2) the attacker must be network-positioned to intercept and proxy TCP connections between the Dulwich client and the SSH server (on-path MITM). Exploitation is limited to SSH-based Git operations only - HTTPS operations, subprocess-SSH operations, and any transport not routed through ParamikoSSHVendor are unaffected. The vulnerability affects Dulwich versions through 1.1.0 exclusively.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, score 5.3) likely overstates ease of exploitation because AC:L does not adequately capture the network positioning required for a MITM attack. Realistically, an adversary needs to be on-path between the Dulwich client and the SSH Git server, which elevates actual complexity. The integrity impact is also understated - a successful MITM can modify data in transit, not just observe it. EPSS at 0.14% (4th percentile) corroborates low real-world exploitation probability. No CISA KEV listing and no public exploit code exist. Exposure is further limited to deployments that specifically use Dulwich's paramiko SSH vendor path (not the default transport); users employing HTTPS or system-SSH transports are unaffected. Overall this is a medium-severity design flaw with meaningful consequence when triggered, but a narrow exploitation window.

Exploit ScenarioDerived

An attacker with network access between a developer's workstation and the SSH Git server - for example, via ARP poisoning on a shared network segment or a rogue DNS response - intercepts the SSH handshake initiated by Dulwich and presents a fraudulent server key. Because Dulwich's paramiko vendor previously accepted any key without verification, the connection succeeds against the attacker's proxy, allowing credential theft (SSH passwords, git push/pull data) or injection of malicious repository content. No public exploit code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

Missing SSH host key verification in Dulwich's paramiko vendor module exposes SSH connections to man-in-the-middle interception. The contrib/paramiko_vendor.py module used paramiko's MissingHostKeyPolicy, which silently accepts any server host key without checking it against known_hosts, allowing a network-positioned attacker to impersonate a legitimate SSH Git server. No public exploit has been identified at time of analysis and EPSS sits at 0.14% (4th percentile), but the attack is conceptually straightforward for any attacker with network access between client and server.

RemediationAI

The upstream fix is available in GitHub pull request #2123 (https://github.com/jelmer/dulwich/pull/2123), which replaces the permissive MissingHostKeyPolicy with RejectPolicy and adds proper known_hosts loading. A released patched version is not independently confirmed from available data - users should monitor the Dulwich release page at https://github.com/jelmer/dulwich and upgrade to the first release that includes PR #2123. As a compensating control until a patched release is available, operators can override the paramiko transport by using Dulwich's subprocess-based SSH vendor (which delegates to the system ssh binary and inherits its host key verification) rather than the paramiko vendor, or switch to HTTPS transport where applicable. Restricting the network path between Dulwich clients and SSH Git servers (e.g., using SSH through a VPN or internal-only network) reduces MITM exposure.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dulwich is a pure-Python implementation of the Git protocol, including SSH transport via the paramiko library (contrib/paramiko_vendor.py). The root cause is CWE-295 (Improper Certificate/Key Validation): when establishing SSH connections, the code set paramiko.client.MissingHostKeyPolicy() as the missing-host-key policy. This policy does not reject, warn, or verify - it silently accepts any presented server key. The fix (PR #2123) replaces this with paramiko.RejectPolicy() and adds a _load_host_keys() helper that loads system host keys and user-specified known_hosts files (via globalknownhostsfile/userknownhostsfile SSH config entries) before connecting, making the vendor fail-closed by default.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.8 MEDIUM

MITM network positioning elevates AC to H; missing host key verification enables both data interception (C:L) and content injection (I:L).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.8 HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 16, 2026 - 19:22 NVD
5.3 (MEDIUM)
CVE Published
Jul 15, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Dulwich through 1.1.0 was found to be missing SSH host key verification in contrib/paramiko_vendor.py.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche Python Git library, not a default system component
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy