Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 10 min 128 bronnen 3 kritiek 52 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-49970

HIGH · 8.8 CVSS Gepubliceerd: CWE-22

Beschrijving NL

Laravel-Mediable voor 7.0.0 bevat een kwetsbaarheid voor het doorlopen van paden in de functie File:: sanitizePath () waarmee aanvallers geüploade bestanden naar willekeurige locaties kunnen schrijven door het directoryargument te beheren dat is doorgegeven aan MediaUploader::toDestination(). Aanvallers kunnen gebruik maken van de tolerante regex van tekenklasse die zowel punt- als schuine streeptekens mogelijk maakt in combinatie met een ineffectieve achterliggende trim() -oproep om ontsmetting te omzeilen en bestanden te uploaden naar gevoelige locaties zoals de hoofdmap van het document, omgevingsconfiguratiebestanden of toepassingsconfiguratiemappen, waardoor externe code-uitvoering mogelijk is.

Origineel (Engels) tonen

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.

References