Skip to main content

DBD::File CVE-2026-15392

| EUVDEUVD-2026-43727 HIGH
Path Traversal (CWE-22)
2026-07-14 CPANSec
7.7
CVSS 3.1 · Vendor: CPANSec
Share

Severity by source

Vendor (CPANSec) PRIMARY
7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
7.1 HIGH

Local vector requiring symlink placement in the data directory or control of table names implies PR:L; high confidentiality and integrity from arbitrary file read/write, no availability impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE
7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Red Hat
6.3 MEDIUM
qualitative

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Source Code Evidence Fetched
Jul 15, 2026 - 16:30 vuln.today
Analysis Generated
Jul 15, 2026 - 16:30 vuln.today
CVSS changed
Jul 15, 2026 - 14:22 NVD
7.7 (HIGH)
CVE Published
Jul 14, 2026 - 15:34 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 14, 2026 - 15:34 cve.org
HIGH 7.7

DescriptionCVE.org

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.

AnalysisAI

Arbitrary file read/write in Perl's DBD::File before 1.651 lets callers of file-based DBI drivers escape the configured data directory via a symbolic link placed inside it. Because the complete_table_name method resolved the absolute table-file path without validating whether the entry was a symlink, a link within f_dir could point to any path on the filesystem, breaking the directory sandbox for both reads and writes. No public exploit has been identified at time of analysis, and the flaw is not in CISA KEV; a vendor patch (DBI 1.651) is available.

Technical ContextAI

DBD::File is the base driver in the Perl DBI ecosystem that underpins file-backed database drivers such as DBD::CSV, DBD::DBM, and DBD::Sys, mapping SQL-style 'tables' onto individual files inside directories named by the f_dir and f_dir_search meta settings. The vulnerability is a classic CWE-22 path traversal: the complete_table_name routine in lib/DBD/File.pm computed the fully-qualified filename (fqfn) for a table and confirmed it lived under an approved base directory, but never called lstat/-l to detect that the on-disk entry was a symbolic link. As shown in patch commit 96d62dfe, the fix adds an '-l $fqfn' check that resolves the link target with Cwd::abs_path and croaks unless the real path still begins with one of the abs_path'd f_dir/f_dir_search bases, closing the symlink-following gap.

RemediationAI

Vendor-released patch: upgrade DBI/DBD::File to version 1.651 or later, which adds an explicit symlink check in complete_table_name (commit 96d62dfe4528bf56fe13f413ed323d4252531728); this is the primary fix and is documented in advisory GHSA-mh3j-xwf4-jrqw and the release notes at https://metacpan.org/release/HMBRAND/DBI-1.651/changes. Where immediate upgrade is not possible, restrict who can write into the configured f_dir and f_dir_search directories so untrusted users cannot plant symbolic links (trade-off: does not help if table names themselves are attacker-controlled), and validate or whitelist any user-supplied table names before passing them to file-based drivers (trade-off: application-specific and may reject legitimate names). Additionally, mount or place data directories on a filesystem/context where symlink creation by the service account is denied, and run the Perl process under a low-privilege account to limit what an escaped read/write can reach. See also the oss-security disclosure at https://seclists.org/oss-sec/2026/q3/145.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

Share

CVE-2026-15392 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy