The vulnerability is a classic path traversal in Admidio's document upload functionality, identified as GHSA-m9h6-8pqm-xrhf. The analysis of the patch commit 4a7239a43b18546ab02d10b2fd70fadbb57cf357 confirms the details in the advisory. The exploit chain begins in modules/documents-files.php, where the name parameter is improperly validated, allowing path traversal characters. This tainted input is passed to the Folder.addFolderOrFileToDatabase method, which constructs and stores a malicious file path in the database without sanitization. Finally, when the file is accessed, File.getFullFilePath reconstructs this malicious path, leading to arbitrary file read. The patch rectifies these flaws by enforcing stricter 'file' validation, adding CSRF protection, and implementing a path canonicalization check using realpath() as a defense-in-depth measure.