CVE-2026-78030 DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM
Attackers can execute arbitrary code by manipulating DBM connection attributes to load untrusted Perl modules via unvalidated require calls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-78030?
CVE-2026-78030 is a critical code injection vulnerability in perl-DBI, published on 19 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM.
DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs.
The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table.
A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names.
For example,
my $dsn = "dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm" my $dbh = DBI->connect( $dsn );
Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.
Weakness: CWE-470
Which versions are affected by CVE-2026-78030?
Linux distribution packages (9)
perl-DBI SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 1.647.0-150600.12.21.1 |
perl-DBI SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 1.628-5.24.1 |
perl-DBI SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 1.647.0-150600.12.21.1 |
perl-DBI SUSE:Linux Enterprise Server 16.0 | All versions | 1.647.0-160000.6.1 |
perl-DBI SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 1.628-5.24.1 |
perl-DBI SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 1.647.0-150600.12.21.1 |
perl-DBI SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 1.647.0-160000.6.1 |
perl-DBI SUSE:Linux Micro 6.2 | All versions | 1.647.0-160000.6.1 |
perl-DBI openSUSE:Leap 16.0 | All versions | 1.647.0-160000.6.1 |
How do I fix CVE-2026-78030?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-78030 being exploited?
There is no known exploitation of CVE-2026-78030 in the wild and no public exploit code.
Sources
Also known as AZL-103475, BELL-CVE-2026-78030, DEBIAN-CVE-2026-78030, ECHO-71d6-5f21-0fd8, GHSA-wqmw-wqwx-3fr7, MINI-792x-5wc4-chp3 and 10 more.