databasement: Remote code execution via database name argument injection
Summary
databasement is a self-hosted database backup manager with a web interface. Versions 1.0.0 up to 1.8.1 pass the database name to mariadb-dump without proper argument separation, so an authenticated user can inject dump options. This allows an arbitrary file write, for example into a web-served PHP file, which leads to remote code execution.
Affected
- databasement 1.0.0 up to but excluding 1.8.2
- Source: GitHub advisory GHSA-hm57-pvxc-4pcm and CVE record
Fixed in
- Upgrade to databasement 1.8.2 or later
- Fix commits: 22258e3eac594e653f9d04a69d93e83923d61499 and 2d2761905594a2fa2c3d81d48a7c8b6a1784862c
- Unknown: whether 1.8.2 also fixes the similar PostgreSQL dump and restore code paths; verify with the maintainer.
Workaround
- Unknown. No vendor-documented interim workaround found.
- Until patched, restrict access to the web interface to trusted networks or VPN.
- Remove unneeded user accounts.
- Ensure the application web root is not writable by the application user.
Exploitation
- Requires an authenticated user account.
- CVSS 8.8 (v3.1), CWE-88.
- CISA SSVC: exploitation status poc, automatable: no, technical impact: total.
- No public exploit confirmed by VulDB; no known in-the-wild exploitation.
- Exploit availability is unconfirmed: a Positive Technologies write-up (PT-2026-110344) exists but its content was not verified.
Our recommendation
- Upgrade to databasement 1.8.2 or later.
- Check whether the web interface is reachable from untrusted networks and restrict it if so.
- Review user accounts and remove unneeded ones.
- Check that the application web root is not writable by the application user.
- Monitor for unexpected file changes in the web root.
Public exploits
PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.
Research sources
- GitHub Security Advisory GHSA-hm57-pvxc-4pcm github.com
- Fix commit 2d2761905594a2fa2c3d81d48a7c8b6a1784862c github.com
- Fix commit 22258e3eac594e653f9d04a69d93e83923d61499 github.com
- VulDB entry 416790 vuldb.com
- OSV entry CVE-2026-108963 osv.dev
- Vulnerable source file MysqlDatabase.php github.com
Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 31 Oct 2026, 20:33.
Original description (NVD)
databasement before 1.8.2 allows remote code execution because it runs certain commands (e.g., mariadb-dump) with a database name that can be specified by any authenticated user. For example, --result-file=/app/public/index.php can write to index.php. In other words, quoting prevents OS command injection in mariadb-dump, but the argument injection alone is sufficient for code execution indirectly. NOTE: the project's composer.json file does not indicate an independently published databasement Composer package.
NVD references (5)
- https://github.com/David-Crty/databasement/blob/bcee6f0e62796337aaac26961c41f7eb9578dd76/app/Services/Backup/…
- https://github.com/David-Crty/databasement/blob/bcee6f0e62796337aaac26961c41f7eb9578dd76/composer.json#L3
- https://github.com/David-Crty/databasement/commit/22258e3eac594e653f9d04a69d93e83923d61499
- https://github.com/David-Crty/databasement/commit/2d2761905594a2fa2c3d81d48a7c8b6a1784862c
- https://github.com/David-Crty/databasement/security/advisories/GHSA-hm57-pvxc-4pcm
Sources
The tracker combines official, freely usable data sources – updated continuously:
- NVD (NIST) – CVEs, rating (CVSS), affected products
- CISA KEV – vulnerabilities confirmed by CISA as actively exploited
- CISA Vulnrichment – CISA assessment (SSVC) in the official CVE record
- FIRST EPSS – probability of exploitation
- Microsoft MSRC – Patch Tuesday: vulnerabilities, severity, updates
- PoC-in-GitHub – public proof-of-concept repositories
- Metasploit (Rapid7) – modules of the Metasploit Framework
- Exploit-DB (OffSec) – archive of public exploits (links only)
- Patch days: official vendor pages (linked per vendor) (Vendor patch days)
This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.
Affected? We can help.
We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.
