Skip to content
CVE-2026-137544

LaraDashboard Path Traversal RCE via module.json/composer.json Namespace Parsing (CVE-2026-137544)

Initial Access Execution Last updated:

Detects exploitation of CVE-2026-137544, a path traversal vulnerability in LaraDashboard before 1.5.0. The module installer derives destination file paths from attacker-controllable fields in module.json ('providers') and composer.json ('autoload.psr-4' namespace mappings) without canonicalizing or constraining the resulting path. A malicious module archive containing '../' sequences in these fields can write PHP files outside the intended Modules directory, e.g. into the web root, bootstrap/cache, or a provider autoload location, achieving remote code execution. A public proof of concept demonstrates this working end to end against a real instance. CWE-22. This detection surfaces module uploads/installs, filesystem writes of PHP outside the Modules path, and web requests to anomalous newly-created endpoints.

Based on VulnCheck Advisory, LaraDashboard before 1.5.0 Path Traversal RCE via module.json namespace parsing

Vulnerability Intelligence

Theoretical

What is CVE-2026-137544 LaraDashboard Path Traversal RCE via module.json/composer.json Namespace Parsing (CVE-2026-137544)?

LaraDashboard Path Traversal RCE via module.json/composer.json Namespace Parsing (CVE-2026-137544) (CVE-2026-137544) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.

This page provides production-ready detection logic for LaraDashboard Path Traversal RCE via module.json/composer.json Namespace Parsing (CVE-2026-137544), covering the data sources and telemetry it touches: Microsoft Defender for Endpoint, DeviceFileEvents, DeviceProcessEvents. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Initial Access Execution
Microsoft Sentinel / Defender
kusto
// df00tech DF00-f473ab3685 · https://df00tech.com/detections/CVE-2026-137544 · licence: https://df00tech.com/detections/licence
// Detect LaraDashboard module install writing PHP outside the Modules directory (CVE-2026-137544)
let traversal_markers = dynamic(["../","..\\","%2e%2e%2f","%2e%2e/","..%2f","....//"]);
union
(
    DeviceFileEvents
    | where Timestamp > ago(1d)
    | where ActionType in ("FileCreated","FileModified")
    | where FileName endswith ".php"
    | where InitiatingProcessFileName in~ ("php","php-fpm","php8.2","php8.3","artisan")
        or InitiatingProcessCommandLine has_any ("module:install","composer","laradashboard")
    | where FolderPath !has "/Modules/" and FolderPath !has "\\Modules\\"
    | where FolderPath has_any ("/public/","\\public\\","/bootstrap/cache","/vendor/","/app/Providers")
    | extend Signal = "php_written_outside_modules"
),
(
    DeviceProcessEvents
    | where Timestamp > ago(1d)
    | where ProcessCommandLine has "module:install" or ProcessCommandLine has "laradashboard"
    | where ProcessCommandLine has_any (traversal_markers)
    | extend Signal = "traversal_in_module_install_cmd"
)
| project Timestamp, DeviceName, Signal, FolderPath=column_ifexists("FolderPath",""), FileName=column_ifexists("FileName",""), InitiatingProcessCommandLine=column_ifexists("InitiatingProcessCommandLine",""), ProcessCommandLine=column_ifexists("ProcessCommandLine","")

Correlates LaraDashboard module-install process activity and PHP file writes landing outside the sanctioned Modules directory, which indicates path traversal via module.json providers or composer.json psr-4 parsing.

high severity medium confidence

Data Sources

Microsoft Defender for Endpoint DeviceFileEvents DeviceProcessEvents

Required Tables

DeviceFileEvents DeviceProcessEvents

False Positives

  • Legitimate module installation that intentionally registers service providers in app/Providers via the supported mechanism
  • Developer running composer dump-autoload or artisan commands that regenerate bootstrap/cache files
  • Deployment automation that copies PHP files into public/ or vendor/ during a release

Query fingerprint DF00-f473ab3685 · licence

Sigma logsource & community rules

The detection logic for LaraDashboard Path Traversal RCE via module.json/composer.json Namespace Parsing (CVE-2026-137544) (CVE-2026-137544) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  category: process_creation
  product: windows

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Malicious module.json providers with path traversal

    Expected signal: File creation of module.json containing '../' in providers and a PHP payload file under the staged module directory.

  2. Test 2 Malicious composer.json psr-4 namespace traversal

    Expected signal: composer.json containing '../' in the psr-4 target and a PHP file staged for out-of-bounds write.

  3. Test 3 PHP file written outside Modules directory

    Expected signal: FileCreated event: php process writes a .php file to /var/www/laradashboard/public (outside Modules/).


Response Playbook

Triage

  1. Identify the host running LaraDashboard and confirm the installed version is below 1.5.0 (check composer.json / git tag / about page).
  2. Locate the suspicious PHP file flagged outside the Modules directory and inspect its contents for webshell markers (eval, system, assert, base64_decode, $_REQUEST/$_GET/$_POST handling).
  3. Correlate the file-write timestamp with the most recent module install/upload event and identify the uploading authenticated admin account and source IP.
  4. Extract and review the uploaded module archive's module.json 'providers' and composer.json 'autoload.psr-4' values for '../' / encoded traversal sequences.

Containment

  1. Quarantine or remove the attacker-written PHP file(s) and revoke any web routes/providers they registered.
  2. Disable module upload/install functionality (or place the application in maintenance mode) until the host is upgraded to LaraDashboard 1.5.0+.
  3. Rotate credentials for the admin account used to upload the module and invalidate active sessions.

Evidence Collection

  1. Preserve the uploaded module archive, extracted module.json and composer.json, and the resulting written files with hashes.
  2. Capture web server and PHP-FPM access/error logs around the install and any subsequent requests to the new file path.
  3. Collect filesystem timeline (atime/mtime/ctime) for the written PHP and the Modules directory, plus the application's module-install audit log.

Escalation Criteria

  • ! Escalate to IR if the written PHP file was subsequently requested over HTTP or executed (process spawned by php-fpm/webserver).
  • ! Escalate if the file contains webshell/command-execution code or if outbound connections originate from the web server after the write.
  • ! Escalate if multiple hosts or the same archive appear across systems, indicating a broader campaign.

Investigation Guide

Forensic Artifacts

  • > Uploaded module archive and its module.json / composer.json manifests
  • > PHP files written outside <app>/Modules/ (e.g. in public/, vendor/, bootstrap/cache, app/Providers)
  • > Web/PHP-FPM access logs showing requests to the newly created PHP path
  • > Module-install audit entries and the admin session/source IP that performed the upload

Tuning Guidance

Baseline your legitimate deploy/release processes (CI runners, deploy user, composer dump-autoload) and exclude their known hosts/paths. Narrow FolderPath allow-lists to the specific public/, vendor/ and bootstrap/cache locations your deploy writes. After upgrading all instances to LaraDashboard 1.5.0+, keep the rule as a regression/webshell detector but lower severity for hosts confirmed patched. Alert with high confidence only when a PHP write outside Modules is immediately followed by an HTTP request to that path.


Hunting Queries

Hunt for PHP files created outside the LaraDashboard Modules directory by module-install/composer tooling, the core artifact of CVE-2026-137544.

Hunting — KQL
kql
// df00tech DF00-f473ab3685 · https://df00tech.com/detections/CVE-2026-137544 · licence: https://df00tech.com/detections/licence
DeviceFileEvents | where FileName endswith ".php" | where FolderPath !has "/Modules/" | where InitiatingProcessCommandLine has_any ("module:install","composer","laradashboard") | project Timestamp, DeviceName, FolderPath, InitiatingProcessCommandLine
Hunting — SPL
spl
``` df00tech DF00-f473ab3685 · https://df00tech.com/detections/CVE-2026-137544 · licence: https://df00tech.com/detections/licence ```
index=endpoint sourcetype="linux:filesystem" file="*.php" NOT file="*/Modules/*" | search file="*/public/*" OR file="*/vendor/*" OR file="*/app/Providers/*" | stats count by host,file,process

Atomic Red Team Tests

Test 1 Malicious module.json providers with path traversal
linux

Simulate a LaraDashboard module archive whose module.json providers field contains traversal sequences that would derive a destination outside the Modules directory.

Command

bash
mkdir -p /tmp/ld-lab/evilmod && cat > /tmp/ld-lab/evilmod/module.json <<'EOF'
{"name":"evilmod","providers":["../../../../public/EvilProvider"],"aliases":{}}
EOF
cp /tmp/ld-lab/evilmod/module.json /tmp/ld-lab/evilmod/manifest_copy.json && echo '<?php system($_GET["c"]); ?>' > /tmp/ld-lab/evilmod/EvilProvider.php

Cleanup

bash
rm -rf /tmp/ld-lab

Expected Telemetry

File creation of module.json containing '../' in providers and a PHP payload file under the staged module directory.

Expected Detection

Hunting query matches the traversal marker in the module manifest; file-write rule fires if the installer copies EvilProvider.php outside Modules/.

Test 2 Malicious composer.json psr-4 namespace traversal
linux

Simulate a composer.json whose autoload.psr-4 map points a namespace at a traversal path, abusing the psr-4 parsing to derive an out-of-bounds destination.

Command

bash
mkdir -p /tmp/ld-lab/evilmod && cat > /tmp/ld-lab/evilmod/composer.json <<'EOF'
{"name":"vendor/evil","autoload":{"psr-4":{"Evil\\\\":"../../../../bootstrap/cache/"}}}
EOF
echo '<?php /* dropped via psr-4 traversal */ phpinfo(); ?>' > /tmp/ld-lab/evilmod/EvilClass.php

Cleanup

bash
rm -rf /tmp/ld-lab

Expected Telemetry

composer.json containing '../' in the psr-4 target and a PHP file staged for out-of-bounds write.

Expected Detection

Traversal-in-manifest hunt matches; file-write rule fires if EvilClass.php lands under bootstrap/cache.

Test 3 PHP file written outside Modules directory
linux

Directly emulate the exploitation outcome: a php process writing a PHP file into the web root, triggering the file-location detection.

Command

bash
mkdir -p /var/www/laradashboard/public && php -r 'file_put_contents("/var/www/laradashboard/public/evil_cve_2026_137544.php", "<?php echo 1; ?>");'

Cleanup

bash
rm -f /var/www/laradashboard/public/evil_cve_2026_137544.php

Expected Telemetry

FileCreated event: php process writes a .php file to /var/www/laradashboard/public (outside Modules/).

Expected Detection

Primary KQL/SPL/EQL/CQL rules fire on a PHP write outside Modules/ by a php process.

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections