CVE-2026-59510
JSON

7.1high

Authenticated Path Traversal in AIL Framework PDF Object Handling Enables Potential Arbitrary File Read

Severity
7.1high CVSS:4.0 by CIRCL
Exploit likelihood
0.37% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CIRCL

Description

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.

Affected

Product or packageVersionsReported by
ail-project ail-frameworkup to v6.9.0CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

AIL Framework contiene una vulnerabilidad de salto de ruta en su manejo de objetos PDF. Antes del commit 14c618fce4d1df02358717c48ea903706abecdf2, la función PDF.get_filepath() construía una ruta de archivo uniendo el directorio de almacenamiento de PDF configurado con una ruta derivada de un identificador de objeto PDF, sin verificar que la ruta resuelta permaneciera dentro del directorio PDF_FOLDER previsto. Un atacante autenticado capaz de invocar operaciones de objetos PDF con un identificador manipulado podría usar secuencias de salto relativas o componentes de ruta absolutos para hacer que AIL Framework abriera archivos ubicados fuera del directorio de almacenamiento de PDF. Esto podría permitir la divulgación de archivos legibles por el proceso AIL, incluyendo la configuración de la aplicación, credenciales u otros datos locales sensibles. Esta vulnerabilidad es potencial debido a errores adicionales antes de poder ser ejecutada. La solución canoniza la ruta resultante con os.path.realpath() y rechaza las rutas cuyo directorio común está fuera del directorio PDF configurado.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59510 changed 2026-07-06CVE Terms of Use
NVDCVE-2026-59510 changed 2026-10-25Public domain