---
id: CVE-2026-108963
title: >-
  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
summary: >-
  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…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-88
published: '2026-10-11'
updated: '2026-10-11'
sourceUpdated: '2026-10-11T20:16:34.063'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108963'
references:
  - url: >-
      https://github.com/David-Crty/databasement/blob/bcee6f0e62796337aaac26961c41f7eb9578dd76/app/Services/Backup/Databases/MysqlDatabase.php#L22
    label: cve@mitre.org
  - url: >-
      https://github.com/David-Crty/databasement/blob/bcee6f0e62796337aaac26961c41f7eb9578dd76/composer.json#L3
    label: cve@mitre.org
  - url: >-
      https://github.com/David-Crty/databasement/commit/22258e3eac594e653f9d04a69d93e83923d61499
    label: cve@mitre.org
  - url: >-
      https://github.com/David-Crty/databasement/commit/2d2761905594a2fa2c3d81d48a7c8b6a1784862c
    label: cve@mitre.org
  - url: >-
      https://github.com/David-Crty/databasement/security/advisories/GHSA-hm57-pvxc-4pcm
    label: cve@mitre.org
tags:
  - nvd
ingestedAt: '2026-10-12T14:50:34.069Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
