CVE-2020-26277 json
Arbitrary read/write in DBdeployer
published 2020-12-21 5 y ago modified 2026-07-08 4 mo ago also GHSA-47wr-426j-fr82 , GO-2022-0787 , EUVD-2022-0806
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
DBdeployer is a tool that deploys MySQL database servers easily. In DBdeployer before version 1.58.2, users unpacking a tarball may use a maliciously packaged tarball that contains symlinks to files external to the target. In such scenario, an attacker could induce dbdeployer to write into a system file, thus altering the computer defenses. For the attack to succeed, the following factors need to contribute: 1) The user is logged in as root. While dbdeployer is usable as root, it was designed to run as unprivileged user. 2) The user has taken a tarball from a non secure source, without testing the checksum. When the tarball is retrieved through dbdeployer, the checksum is compared before attempting to unpack. This has been fixed in version 1.58.2.
Patch / fix
- go github.com/datacharmer/dbdeployer 1.58.2
- dbdeployer dbdeployer 1.58.2
Exploit prediction
1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:H/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/datacharmer/dbdeployer | <1.58.2 |
1.58.2 |
Affected products
- datacharmer dbdeployer
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10
web, patch, third-party-advisory
-
github.com
/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26277
advisory
Sources
- CVE List CVE-2020-26277
- GitHub Advisory GHSA-47wr-426j-fr82
- NVD CVE-2020-26277
- OSV GO-2022-0787
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.