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.
Published: 2026-07-14
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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

No advisories yet.

History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Hmbrand
Hmbrand dbd::file
Vendors & Products Hmbrand
Hmbrand dbd::file

Thu, 16 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 15 Jul 2026 14:30:00 +0000

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'}


Tue, 14 Jul 2026 15:45:00 +0000

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

Subscriptions

Hmbrand Dbd::file
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-07-15T14:01:34.760Z

Reserved: 2026-07-10T12:52:40.335Z

Link: CVE-2026-15392

cve-icon Vulnrichment

Updated: 2026-07-14T18:23:06.476Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-14T15:34:01Z

Links: CVE-2026-15392 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T10:15:06Z

Weaknesses
  • CWE-22

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

  • CWE-59

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