# CVE-2020-26277: Arbitrary read/write in DBdeployer

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.20%, higher than 69% of CVEs (2026-12-01)
- Published: 2020-12-21T21:15:14.000Z
- Modified: 2026-07-08T05:59:50.632Z
- Also known as: GHSA-47wr-426j-fr82, GO-2022-0787
- Weaknesses: CWE-59
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- datacharmer dbdeployer: < 1.58.2
- github.com/datacharmer/dbdeployer (Go): before 1.58.2
- dbdeployer dbdeployer: before 1.58.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:H/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82> (advisory, third-party-advisory, web)
- <https://github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26277> (advisory)

## Sources

- CVE List: [CVE-2020-26277](https://www.cve.org/CVERecord?id=CVE-2020-26277), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-47wr-426j-fr82](https://github.com/advisories/GHSA-47wr-426j-fr82), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0787](https://pkg.go.dev/vuln/GO-2022-0787), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2020-26277](https://nvd.nist.gov/vuln/detail/CVE-2020-26277), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26277 · Whole record: https://cve.day/CVE-2020-26277.json · Rebuilt by cve.day 2026-11-25T22:57:56.347Z
