CVE-2020-26277: Symbolic links in dbdeployer unpacking routine enable arbitrary file read and write

Summary

12/02/2022
Yes i
Moderate
6.1

CVE-2020-26277: Impact _Users unpacking a tarball through dbdeployer may use a maliciously packaged tarball that contains symlinks to files external to the target. Affects github.com/datacharmer/dbdeployer versions < 1.58.2. Fixed in 1.58.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

dbdeployer is an open-source tool written in Go that allows users to easily deploy and manage MySQL database instances. It is designed to be used as an unprivileged user, but can also be used as root. The tool includes an unpacking routine for tarballs, which is vulnerable to symbolic link attacks.

Vulnerability Detail

The vulnerability in dbdeployer's unpacking routine allows an attacker to create a malicious tarball that contains symbolic links to files outside of the target directory. When the tarball is unpacked, dbdeployer will create the symbolic links as defined, potentially allowing an attacker to read and write to arbitrary locations on the system. This could lead to the alteration of system files and compromise the security of the computer. However, several mitigating factors need to be present for the attack to succeed, such as the user being logged in as root and using a tarball from a non-secure source without verifying the checksum.

How To Fix

Latest published version: v1.73.0 as of 22 Oct 2026

go get github.com/datacharmer/dbdeployer@v1.73.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.58.2

This is the first release that contains the fix.

go get github.com/datacharmer/dbdeployer@v1.58.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in dbdeployer's unpacking routine allows attackers to read and write to arbitrary locations on the system. It has been patched in release 1.58.2, and users are advised to update to the latest version. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for github.com/datacharmer/dbdeployer →

Share this vulnerability

FAQ

dbdeployer is an open-source tool written in Go that allows users to easily deploy and manage MySQL database instances.

The vulnerability allows an attacker to read and write to arbitrary locations on the system, potentially compromising system files and defenses.

The user must be logged in as root and use a tarball from a non-secure source without verifying the checksum for the attack to succeed.

Update dbdeployer to version 1.58.2 or later to fix the vulnerability.

No specific workaround is mentioned for this vulnerability.

How To Fix

Latest published version: v1.73.0 as of 22 Oct 2026

go get github.com/datacharmer/dbdeployer@v1.73.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.58.2

This is the first release that contains the fix.

go get github.com/datacharmer/dbdeployer@v1.58.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback