7.7high
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location
- Severity
- 7.7high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CPANSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DBI | before 1.651 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
Las versiones de DBD::File anteriores a la 1.651 para Perl no garantizan que el archivo de tabla no sea un enlace simbólico a una ubicación no confiable. El método complete_table_name construye la ruta absoluta del archivo de tabla sin verificar si el archivo es un enlace simbólico. Un enlace dentro del directorio de datos puede apuntar a un archivo de tabla en cualquier ruta fuera de los directorios configurados f_dir y f_dir_search. Los llamadores de controladores basados en archivos pueden leer o escribir archivos fuera del directorio de datos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15392 changed 2026-07-15 | CVE Terms of Use |
| NVD | CVE-2026-15392 changed 2026-10-24 | Public domain |