DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile.
When a string is assigned to a DBI handle's Profile attribute, DBI splits it into path, package and arguments, and interpolates the package part in a string eval with no validation of the package name.
Any caller-influenced value that reaches the Profile attribute is therefore arbitrary Perl code execution, including calls to run system commands.
The Profile attribute can be set from three different sources that can carry untrusted data: the DBI_PROFILE environment variable, a direct attribute assignment, and a DSN driver-attribute clause dbi:Driver(Profile=>SPEC):db.
An attacker controlling any of those inputs runs arbitrary Perl in the host process. The strongest remote position is a network-exposed DBI::Gofer / DBI::ProxyServer whose per-request DSN reaches the Profile attribute, letting a client execute code on the broker host.
CVSS Details
- CVSS 3.1 Base Score: 8.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade perl-DBI | Aug 5, 2026 | Aug 3, 2026 |
| Alpine Linux | — | Upgrade perl-dbi | Jul 28, 2026 | Jul 7, 2026 |
| Amazon Linux Ami 2 | — | Upgrade perl-DBI-debuginfoUpgrade perl-DBI | Jul 22, 2026 | Jul 22, 2026 |
| Amazon_linux_2023 | — | Upgrade perl-DBIUpgrade perl-DBI-testsUpgrade perl-DBI-debugsourceUpgrade perl-DBI-debuginfo | Jul 21, 2026 | Jul 7, 2026 |
| Debian | — | Upgrade libdbi-perl | Aug 30, 2026 | Aug 30, 2026 |
| Freebsd | — | Upgrade p5-DBI | Sep 28, 2026 | Sep 25, 2026 |
| Redhat_linux | — | Upgrade perl-DBIUpgrade perl-DBI-debuginfoNo solution existsUpgrade perl-DBI-debugsource | Jul 20, 2026 | Jul 7, 2026 |
| Rocky_linux | — | Upgrade perl-DBIUpgrade perl-DBI-debugsourceUpgrade perl-DBI-debuginfo | Aug 6, 2026 | Aug 4, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub