CVE-2026-15392

DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location

Published Jul 14, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in DBD::File, a Perl driver that constructs absolute paths for table files without checking for symbolic links, a flaw classified as CWE-22 (Path Traversal) and CWE-59 (Improper Handling of Symlink). If a symlink within the data directory points to a location outside the configured f_dir or f_dir_search directories, an attacker can read or write arbitrary files on the filesystem. This flaw permits the alteration or exfiltration of data typically confined to the application’s data directory, potentially exposing sensitive information or corrupting critical system files.

Affected Systems

The affected product is HMBRAND DBD::File for Perl, versions prior to 1.651. Users running DBD::File 1.650 or earlier are susceptible, while 1.651 and later contain the requisite symlink validation.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity level, yet the EPSS score of less than 1% suggests that exploitation is currently uncommon. This flaw is not listed in the CISA KEV catalog. The likely attack vector requires an adversary with write access to the driver’s data directory; from that position, the attacker can craft a symlink that redirects file operations outside the intended boundaries. If such local access is achieved, the compromise can affect the confidentiality, integrity, and availability of files on the host.

Remediation

Vendor Solution

Upgrade to version 1.651 or later.


OpenCVE Recommended Actions

  • Upgrade DBD::File to 1.651 or later, which adds symlink checks.
  • Validate any file paths derived from the data directory to ensure they do not resolve to locations outside the allowed directories.
  • Restrict write permissions on the data directory to trusted users and monitor it for unexpected symbolic links.

Generated by OpenCVE AI on July 31, 2026 at 10:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4764-1 libdbi-perl security update
Debian DLA Debian DLA DLA-4764-2 libdbd-csv-perl regression update
Debian DSA Debian DSA DSA-6473-1 libdbi-perl security update
History
Type Values Removed Values Added
First Time appeared Hmbrand
Hmbrand dbd::file
Vendors & Products Hmbrand
Hmbrand dbd::file
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location
Weaknesses CWE-22
CWE-59
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jul 15, 2026, 2:01 PM
Reserved
Jul 10, 2026, 12:52 PM
Status
Deferred
Published
Jul 14, 2026, 4:16 PM
Modified
Oct 24, 2026, 9:10 PM
Severity
Moderate
Public date
Jul 14, 2026, 3:34 PM