CVE-2026-47712: Conda lock · Dulwich doesn't sanitize commit subjects in `porcelain.format_patch`
Affects conda-lockSource GCVE Database
Not known to be exploited · CVSS 3.3 Low : upgrade to 4.0.5 when convenient.
Data as of 4 Nov 2026, 20:36 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 4 Nov 2026.
What to do
Upgrade conda-lock to 4.0.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewconda-lockpkg:brew/conda-lockOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Dulwich version 1.2.5; users should upgrade to this version or later. Until upgrading, mitigations include using stdout=True to control patch output location, validating resolved patch paths to ensure they remain inside the intended directory, or pre-screening commit subjects to reject unsafe characters.
Description
A vulnerability in dulwich.porcelain.format_patch allows malicious commit subjects to cause patch files to be written outside the intended output directory. This occurs because commit subjects are used directly in patch filenames without proper sanitization, permitting directory traversal and illegal filename characters. The issue is fixed in Dulwich version 1.2.5. Users should upgrade to prevent potential unauthorized file writes.
References
- github.com/jelmer/dulwich/security/advisories/GHSA-555p-6grf-mh7f (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-47712 (opens in a new tab)
- github.com/jelmer/dulwich/commit/c2446e51b (opens in a new tab)
- github.com/jelmer/dulwich (opens in a new tab)
- github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5 (opens in a new tab)