CVE-2026-59510 PUBLISHED

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

Assigner: CIRCL
Reserved: 05.07.2026 Published: 05.07.2026 Updated: 06.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/U:Clear
CVSS Score: 7.1

Product Status

Vendor ail-project
Product ail-framework
Versions Default: unaffected
  • affected from 0 to v6.9.0 (incl.)

Exploits

The exploitation is not possible due to potential bug before being able to reach the vulnerable code.

Credits

  • Jeroen Pinoy finder
  • Aurelien Thirion remediation developer

References

Problem Types

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE

Impacts

  • CAPEC-126 Path Traversal