CVE-2026-59510
Beschrijving NL
AIL Framework bevat een kwetsbaarheid voor het doorlopen van paden in de verwerking van PDF-objecten. Voorafgaand aan het vastleggen van 14c618fce4d1df02358717c48ea903706abecdf2, construeerde de functie PDF.get_filepath () een bestandspad door verbinding te maken met de geconfigureerde PDF-opslagmap met een pad afgeleid van een PDF-object-ID, zonder te verifiëren dat het opgeloste pad binnen de beoogde PDF_MAPMAP bleef. Een geverifieerde aanvaller die PDF-objectbewerkingen kan aanroepen met een vervaardigde id, kan relatieve traversale sequenties of absolute padcomponenten gebruiken om ervoor te zorgen dat Ail Framework bestanden opent die zich buiten de PDF-opslagmap bevinden. Dit kan de openbaarmaking van bestanden mogelijk maken die leesbaar ZIJN door het Ail-proces, inclusief applicatieconfiguratie, inloggegevens of andere gevoelige lokale gegevens. Deze kwetsbaarheid is mogelijk vanwege extra fouten voordat deze kan worden uitgevoerd. De fix canonicaliseert het resulterende pad met os.path.realpath() en verwerpt paden waarvan de gemeenschappelijke map zich buiten de geconfigureerde PDF-directory bevindt.
Origineel (Engels) tonen
AIL Framework contains a path traversal vulnerability in its PDF object handling. Prior to commit 14c618fce4d1df02358717c48ea903706abecdf2, the PDF.get_filepath() function constructed a file path by joining the configured PDF storage directory with a path derived from a PDF object identifier, without verifying that the resolved path remained within the intended PDF_FOLDER directory.
An authenticated attacker able to invoke PDF object operations with a crafted identifier could use relative traversal sequences or absolute path components to cause AIL Framework to open files located outside the PDF storage directory. This could allow disclosure of files readable by the AIL process, including application configuration, credentials, or other sensitive local data. This vulnerability is potential due to additional errors before being able to be executed.
The fix canonicalises the resulting path with os.path.realpath() and rejects paths whose common directory is outside the configured PDF directory.