CVE-2026-49970
CVE-2026-49970 · Laravel-Mediable < 7.0.0 Path Traversal via File::sanitizePath()
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
Laravel-Mediable before 7.0.0 contains a path traversal vulnerability in the File::sanitizePath() function that allows attackers to write uploaded files to arbitrary locations by controlling the directory argument passed to MediaUploader::toDestination(). Attackers can exploit the permissive character-class regex that allows both dot and slash characters combined with an ineffective trailing trim() call to bypass sanitization and upload files to sensitive locations such as the document root, environment configuration files, or application configuration directories, enabling remote code execution.
CVSS 8.7 · Hoch · EPSS 1,0% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: php
Betroffene Produkte und Versionen
laravel-mediable
- Softwareversionen
- ≥ 0, < 7.0.0: Betroffen (semver)
Auf 7.0.0 aktualisieren
plank/laravel-mediable Packagist
- Softwareversionen
- 0.1.0
- 0.1.1
- 0.1.2
- 0.1.3
- 0.1.4
- 0.2.0
- 0.3.0
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 2.0.0
- 2.1.0
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.3.0
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.4.6
- 2.4.7
- 2.4.8
- 2.5.0
- 2.6.0
- 2.6.1
- 2.6.2
- 2.7.0
- 2.7.1
- 2.7.2
- 2.7.3
- 2.8.0
- 2.8.1
- 2.8.2
- 2.9.0
- 3.0.0
- 3.0.1
- 4.0.0
- 4.0.1
- 4.1.0
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.4.0
- 4.4.1
- 4.4.2
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.0.6
- 5.0.7
- 5.1.0
- 5.1.1
- 5.2.0
- 5.2.1
- 5.3.1
- 5.4.0
- 5.4.1
- 5.5.0
- 5.6.0
- 5.7.0
- 5.8.0
- 5.9.0
- 5.9.1
- 6.0.0
- 6.0.1
- 6.0.2
- 6.0.3
- 6.0.4
- 6.0.5
- 6.1.0
- 6.1.1
- 6.1.2
- 6.1.3
- 6.2.0
- 6.2.1
- 6.3.0
- 6.3.1
- 6.4.0
- 6.5.0
- Betroffene Versionsbereiche
- ECOSYSTEM: < 7.0.0
Auf 7.0.0 aktualisieren