CVE-2026-15392: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HMBRAND DBD::File
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location. The complete_table_name method builds the absolute table file path without checking whether the file is a symbolic link. A link inside the data directory can point to a table file at any path outside of the configured f_dir and f_dir_search directories. Callers of file-based drivers can read or write files outside of the data directory.
AI Analysis
Technical Summary
The DBD::File Perl module versions prior to 1.651 do not ensure that the table file path is not a symbolic link to an untrusted location. Specifically, the complete_table_name method constructs an absolute path to the table file without checking for symbolic links. This flaw allows an attacker who can place or manipulate symlinks inside the data directory to cause the driver to read or write files outside the intended f_dir and f_dir_search directories, resulting in a path traversal vulnerability (CWE-22) and potential unauthorized file access or modification.
Potential Impact
Exploitation of this vulnerability allows an attacker to read or write arbitrary files outside the designated data directories by leveraging symbolic links. This can lead to unauthorized disclosure or modification of sensitive files on the system where the vulnerable DBD::File module is used. The impact depends on the privileges of the process using the module and the files accessible via symlinks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted symbolic links within the data directories or restrict access to these directories to trusted users only. Monitor vendor communications for updates regarding an official fix.
CVE-2026-15392: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HMBRAND DBD::File
Description
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location. The complete_table_name method builds the absolute table file path without checking whether the file is a symbolic link. A link inside the data directory can point to a table file at any path outside of the configured f_dir and f_dir_search directories. Callers of file-based drivers can read or write files outside of the data directory.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The DBD::File Perl module versions prior to 1.651 do not ensure that the table file path is not a symbolic link to an untrusted location. Specifically, the complete_table_name method constructs an absolute path to the table file without checking for symbolic links. This flaw allows an attacker who can place or manipulate symlinks inside the data directory to cause the driver to read or write files outside the intended f_dir and f_dir_search directories, resulting in a path traversal vulnerability (CWE-22) and potential unauthorized file access or modification.
Potential Impact
Exploitation of this vulnerability allows an attacker to read or write arbitrary files outside the designated data directories by leveraging symbolic links. This can lead to unauthorized disclosure or modification of sensitive files on the system where the vulnerable DBD::File module is used. The impact depends on the privileges of the process using the module and the files accessible via symlinks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted symbolic links within the data directories or restrict access to these directories to trusted users only. Monitor vendor communications for updates regarding an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-10T12:52:40.335Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a565a3b68715ace43c7b5ee
Added to database: 07/14/2026, 15:48:11 UTC
Last enriched: 07/14/2026, 16:22:20 UTC
Last updated: 07/15/2026, 02:22:04 UTC
Views: 4
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.
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.