CVE-2026-59510: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in ail-project ail-framework
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.
AI Analysis
Technical Summary
CVE-2026-59510 is a path traversal vulnerability (CWE-22) in ail-project's ail-framework affecting versions up to 6.9.0. The issue exists in the PDF.get_filepath() function, which joins a configured PDF storage directory with a path derived from a PDF object identifier without ensuring the final resolved path is confined within the intended directory. This allows an authenticated attacker to craft identifiers containing relative traversal sequences or absolute paths to access files outside the PDF storage directory. The vulnerability could disclose sensitive local files accessible to the AIL process. The fix involves using os.path.realpath() to canonicalize the path and rejecting any paths that do not share the common directory with the configured PDF folder.
Potential Impact
An authenticated attacker can exploit this vulnerability to read arbitrary files on the system that are accessible by the AIL Framework process, potentially exposing sensitive information such as application configuration files, credentials, or other local data. There is no indication of remote code execution or privilege escalation. The CVSS 4.0 score is 7.1 (high severity) reflecting network attack vector, low attack complexity, no user interaction, and high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability was fixed by canonicalizing file paths and rejecting those outside the intended directory, but no official patch or fix link is provided in the available data. Until an official fix is applied, restrict authenticated user access to PDF object operations and monitor for suspicious activity involving crafted PDF identifiers.
CVE-2026-59510: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in ail-project ail-framework
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.
CVSS v4.0
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-59510 is a path traversal vulnerability (CWE-22) in ail-project's ail-framework affecting versions up to 6.9.0. The issue exists in the PDF.get_filepath() function, which joins a configured PDF storage directory with a path derived from a PDF object identifier without ensuring the final resolved path is confined within the intended directory. This allows an authenticated attacker to craft identifiers containing relative traversal sequences or absolute paths to access files outside the PDF storage directory. The vulnerability could disclose sensitive local files accessible to the AIL process. The fix involves using os.path.realpath() to canonicalize the path and rejecting any paths that do not share the common directory with the configured PDF folder.
Potential Impact
An authenticated attacker can exploit this vulnerability to read arbitrary files on the system that are accessible by the AIL Framework process, potentially exposing sensitive information such as application configuration files, credentials, or other local data. There is no indication of remote code execution or privilege escalation. The CVSS 4.0 score is 7.1 (high severity) reflecting network attack vector, low attack complexity, no user interaction, and high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability was fixed by canonicalizing file paths and rejecting those outside the intended directory, but no official patch or fix link is provided in the available data. Until an official fix is applied, restrict authenticated user access to PDF object operations and monitor for suspicious activity involving crafted PDF identifiers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CIRCL
- Date Reserved
- 2026-07-05T17:52:20.396Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4a9d4e27e9c797196e938b
Added to database: 07/05/2026, 18:07:10 UTC
Last enriched: 07/13/2026, 09:04:33 UTC
Last updated: 08/19/2026, 10:57:09 UTC
Views: 149
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.