Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-434.
Summary
Laravel-Mediable before 7.0.0 contains a file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading a file with an embedded PHP extension disguised within a double extension such as shell.php.jpg. The PATHINFO_FILENAME extraction preserves the inner .php extension in the base name, and on misconfigured Apache or nginx servers that execute any filename containing .php as PHP, the stored file is interpreted as executable code while all MIME type, extension, and aggregate type validation checks pass due to the outer .jpg extension.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA laravel-mediable (plank) Fixed in 7.0.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
plank laravel-mediable 7.0.0
4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2026-36804 Laravel-Mediable < 7.0.0 Path Traversal via File::sanitizePath()Priority MEDIUM 42
- TI-2026-36805 Laravel-Mediable < 7.0.0 Stored XSS via SVG File UploadPriority LOW 24
- TI-2026-36803 Laravel-Mediable < 7.0.0 SSRF via RemoteUrlAdapter URL HandlingPriority LOW 24
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49972
- 2026-10-03 Alias added: GHSA-6mqm-3932-8jfr
References
More plank vulnerabilities
- TI-2026-62940 Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload CVSS 4.0CRITICAL 9.3
- TI-2026-04194 Unsafe Client MIME Type Handling Can Enable Arbitrary File Upload in plank/laravel-mediable CVSS 4.0CRITICAL 9.3
- TI-2026-36804 Laravel-Mediable < 7.0.0 Path Traversal via File::sanitizePath() CVSS 4.0HIGH 8.7
- TI-2026-36805 Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload CVSS 4.0MEDIUM 5.3
- TI-2026-36803 Laravel-Mediable < 7.0.0 SSRF via RemoteUrlAdapter URL Handling CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-49972 · CVE Program
- CVE-2026-49972 · NVD
- FIRST EPSS
- GHSA-6mqm-3932-8jfr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences