Home

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 Reserved 2026-07-10 | Published 2026-07-14 | Updated 2026-07-14 | Assigner CPANSec

Problem types

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

CWE-59 Improper Link Resolution Before File Access ('Link Following')

Product status

Default status
unaffected

Any version before 1.651
affected

References

www.openwall.com/lists/oss-security/2026/07/14/15

github.com/...bi/dbi/security/advisories/GHSA-mh3j-xwf4-jrqw vendor-advisory

metacpan.org/release/HMBRAND/DBI-1.651/changes release-notes

github.com/...96d62dfe4528bf56fe13f413ed323d4252531728.patch patch

cve.org (CVE-2026-15392)

nvd.nist.gov (CVE-2026-15392)

Download JSON