← Back to search

CVE-2026-108963

8.8 HIGHpublic exploit available

Published 2026-10-11 · Updated 2026-10-13

AI risk analysis

Summary
The databasement library before version 1.8.2 allows authenticated users to inject OS commands through database names, enabling remote code execution by writing arbitrary PHP files to the web root. This occurs because the mariadb-dump command doesn't properly quote user-supplied database names, allowing attackers to inject additional commands.
Exploitability
Exploitation requires an authenticated user account with access to the database management interface, but is relatively straightforward once achieved as it leverages existing database dump functionality to write PHP code directly to the web server's document root.
Blast radius
If exploited, attackers could execute arbitrary code on the web server, potentially leading to full system compromise, data exfiltration, or serving malicious content to other users.
Detection
Monitor for unusual file creation patterns in the web root directory, particularly PHP files being written by the web server process, and examine application logs for database dump operations with unexpected arguments.
Prioritized remediation
Upgrade to databasement version 1.8.2 or later to fix the OS command injection vulnerability in mariadb-dump functionality.
rcecommand-injectionwebdatabase

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-88

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.