GHSL-2020-254: Arbitrary file read and/or write in dotmesh
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.
Summary
Dotmesh is a git-like command-line interface for capturing, organizing and sharing application states. In versions 0.8.1 and prior, the unsafe handling of symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations outside the designated target folder. The routine `untarFile` attempts to guard against creating symbolic links that point outside the directory a tar archive is extracted to. However, a malicious tarball first linking `subdir/parent` to `..` (allowed, because `subdir/..` falls within the archive root) and then linking `subdir/parent/escapes` to `..` results in a symbolic link pointing to the tarball’s parent directory, contrary to the routine’s goals. This issue may lead to arbitrary file write (with same permissions as the program running the unpack operation) if the attacker can control the archive file. Additionally, if the attacker has read access to the unpacked files, they may be able to read arbitrary system files the parent process has permissions to read. As of time of publication, no patch for this issue is available.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dotmesh-io | dotmesh | up to 0.8.1 | — | No fix listed | CNA |
| — | github.com/dotmesh-io/dotmesh (Go) | up to 0.8.1 | — | No fix listed | GHSA-hf54-fq2m-p9v6 |
- dotmesh Vendordotmesh-io Affected up to 0.8.1 Fixed in — No fix listed CNA
- github.com/dotmesh-io/dotmesh (Go) Vendor— Affected up to 0.8.1 Fixed in — No fix listed GHSA-hf54-fq2m-p9v6
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dotmesh-io:dotmesh:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:dotmesh-io:dotmesh:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2020-26312
- 2026-10-03 Alias added: GHSA-hf54-fq2m-p9v6
References
Advisory 2
Sources
- CVE-2020-26312 · CVE Program
- CVE-2020-26312 · NVD
- FIRST EPSS
- GHSA-hf54-fq2m-p9v6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences