{"id":"CVE-2026-15392","state":"PUBLISHED","title":"DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location","description":"DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location.\n\nThe 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.\n\nCallers of file-based drivers can read or write files outside of the data directory.","publishedAt":"2026-07-14T15:34:01.547Z","updatedAt":"2026-07-15T14:01:34.760Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["HMBRAND DBD::File"],"affected":[{"vendor":"HMBRAND","product":"DBD::File","packageName":"DBI","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.651","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBD/File.pm"],"programRoutines":[{"name":"DBD::File::complete_table_name"}],"repo":"https://github.com/perl5-dbi/dbi"}],"references":["https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mh3j-xwf4-jrqw","https://metacpan.org/release/HMBRAND/DBI-1.651/changes","https://github.com/perl5-dbi/dbi/commit/96d62dfe4528bf56fe13f413ed323d4252531728.patch","http://www.openwall.com/lists/oss-security/2026/07/14/15"],"weaknesses":["CWE-22","CWE-59"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/15xxx/CVE-2026-15392.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-15392","state":"PUBLISHED","datePublished":"2026-07-14T15:34:01.547Z","dateUpdated":"2026-07-15T14:01:34.760Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-07-10T12:52:40.335Z"},"containers":{"cna":{"title":"DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location","descriptions":[{"lang":"en","value":"DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location.\n\nThe 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.\n\nCallers of file-based drivers can read or write files outside of the data directory."}],"affected":[{"vendor":"HMBRAND","product":"DBD::File","packageName":"DBI","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.651","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBD/File.pm"],"programRoutines":[{"name":"DBD::File::complete_table_name"}],"repo":"https://github.com/perl5-dbi/dbi"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mh3j-xwf4-jrqw","tags":["vendor-advisory"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.651/changes","tags":["release-notes"]},{"url":"https://github.com/perl5-dbi/dbi/commit/96d62dfe4528bf56fe13f413ed323d4252531728.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-14T15:34:01.547Z"},"solutions":[{"lang":"en","value":"Upgrade to version 1.651 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/14/15"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-14T18:23:06.476Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.7,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T14:01:32.521268Z","id":"CVE-2026-15392","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T14:01:34.760Z"}}]}}}