CVE-2026-137544 in LaraDashboard
Summary
by MITRE • 11/26/2026
LaraDashboard before 1.5.0 contains a path traversal vulnerability in module.json providers and composer.json psr-4 namespace parsing that derives destination folder names without excluding traversal characters. Attackers with module.create permission can upload a crafted module ZIP to write PHP files into the public directory, achieving unauthenticated remote code execution.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in LaraDashboard versions prior to 1.5.0 represents a critical security flaw rooted in improper input validation and path normalization logic within the application's module management subsystem. Specifically, the defect resides in how the system parses configuration files such as module.json and composer.json when processing uploaded modules. During this process, the software extracts namespace or provider information to determine destination folder names for file extraction but fails to adequately sanitize these strings against directory traversal sequences like dot-dot-slash (../). This oversight allows an attacker to manipulate the intended filesystem path by embedding relative navigation characters within the configuration data of a maliciously crafted module archive.
From a technical perspective, this flaw constitutes a classic Path Traversal vulnerability as defined under CWE-22: Improper Limitation of a Pathname to a Restricted Directory. The application's logic assumes that namespace strings or provider identifiers are safe for direct use in file system operations without verifying their structural integrity against traversal patterns. When an attacker uploads a ZIP archive containing these crafted configuration files, the parsing routine interprets the embedded traversal characters literally rather than stripping them out. Consequently, instead of placing files within the designated module directory structure, the extraction process writes content to arbitrary locations on the server's file system relative to the current working directory or public root.
The operational impact of this vulnerability is severe due to its potential for unauthenticated remote code execution. Although the initial action requires a user with module.create permissions, many deployments may have default accounts or weak credential policies that allow unauthorized access to these functions. More critically, if an attacker can trick an administrator into uploading a malicious package, or if any public-facing endpoint allows such uploads without strict authentication checks, the consequences are catastrophic. By writing PHP files directly into the public directory, which is typically configured by web servers like Apache or Nginx as the document root for executable content, the attacker ensures that their injected code can be invoked via a standard HTTP request. This effectively grants full control over the underlying server environment, enabling data exfiltration, complete system compromise, and lateral movement within the network infrastructure.
This attack vector aligns with several techniques documented in the MITRE ATT&CK framework. The initial access phase corresponds to T1505.003: Web Shell, where attackers install a web shell for persistent remote access. Furthermore, the mechanism of exploiting file upload functionality relates to T1106: Native API Execution if the traversal leads to executing system commands through included files, and potentially T1059: Command and Scripting Interpreter via the PHP engine. The vulnerability also reflects CWE-434: Unrestricted Upload of File with Dangerous Type, as it involves uploading a file type that can be executed by the server when placed in specific directories.
To mitigate this risk, immediate action is required to upgrade LaraDashboard to version 1.5.0 or later where these parsing routines have been hardened. In environments where upgrading is not immediately feasible, administrators should implement strict input validation on any module upload functionality. This includes enforcing allowlists for file names and directory structures while explicitly rejecting paths containing traversal sequences such as ../ or ..\ Additionally, web server configurations should be reviewed to ensure that the public directory does not permit execution of PHP files in subdirectories unless absolutely necessary, utilizing directives like php_admin_flag engine off where appropriate. Regular security audits focusing on file upload handlers and path resolution logic are essential to prevent similar vulnerabilities from being exploited in other components of the application stack.