Skip to content
OpenAdvisories
High · 8.6 CVE-2026-11527 EUVD-2026-36660GHSA-2g88-7qc8-9vxv

Config::IniFiles versions before 3.001000 for Perl allow OS command injection and file overwrite via a 2-arg open() of the -file argument in _make_filehandle

Published Jun 14, 2026 · Updated Jun 19, 2026 · Assigned by CPANSec

Description

Config::IniFiles versions before 3.001000 for Perl allow OS command injection and file overwrite via a 2-arg open() of the -file argument in _make_filehandle.

Config::IniFiles::_make_filehandle opens a filename argument with Perl's 2-arg open(), so a filename that begins or ends with a pipe ("| cmd", "cmd |") or begins with a redirect ("> path", ">> path") is run as a command or redirect rather than opened as a file. The helper is the open path behind the documented -file argument: new(-file => $thing) reaches it through ReadConfig. An in-memory scalar reference (-file => \$text) does not open a path and is unaffected.

Any caller that forwards untrusted input to the -file argument can run an arbitrary command or truncate a file under the process UID.

Affected products

VendorProductAffectedFixed
SHLOMIF Config::IniFiles < 3.001000 3.001000

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libconfig-inifiles-perl 3.000003-5 —
Debian 13 libconfig-inifiles-perl 3.000003-3+deb13u1 —
Debian 12 libconfig-inifiles-perl 3.000003-2+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libconfig-inifiles-perl 3.000003-4ubuntu0.1 USN-8445-1
Ubuntu 25.10 libconfig-inifiles-perl 3.000003-3ubuntu0.1 USN-8445-1
Ubuntu 24.04 LTS libconfig-inifiles-perl 3.000003-2ubuntu0.1 USN-8445-1
Ubuntu 22.04 LTS libconfig-inifiles-perl 3.000003-1ubuntu0.1 USN-8445-1
Ubuntu 20.04 LTS libconfig-inifiles-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libconfig-inifiles-perl No fix yet —
Ubuntu 16.04 LTS libconfig-inifiles-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES 15 SP6 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES 15 SP5 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES 15 SP4 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES 12 SP5 perl-Config-IniFiles 2.82-5.3.1 SUSE-SU-2026:2709-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 perl-Config-IniFiles 3.000003-160000.3.1 SUSE-SU-2026:22329-1
SLES for SAP 15 SP6 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES for SAP 15 SP5 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES for SAP 15 SP4 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLES 16.0 perl-Config-IniFiles 3.000003-160000.3.1 SUSE-SU-2026:22329-1
SLE HPC 15 SP5 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
SLE HPC 15 SP4 perl-Config-IniFiles 2.94-150000.3.3.1 SUSE-SU-2026:2710-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 perl-Config-IniFiles 3.000003-160000.3.1 openSUSE-SU-2026:21012-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-config-inifiles 3.002000-r0 —
Alpine v3.23 perl-config-inifiles 3.002000-r0 —
Alpine v3.22 perl-config-inifiles 3.002000-r0 —
Alpine v3.21 perl-config-inifiles 3.002000-r0 —

Advisories 5

References