CVEfocus › CVE database › CVE-2026-11527

CVE-2026-11527Config::IniFiles versions before 3.001000 for Perl allow OS command injection and file…

CVSS 8.6 HighEPSS 1.1% (higher than 64% of CVEs)Published 2026-06-14Updated 2026-06-19Assigner: CPANSec

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.

CWE-73CWE-78

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libconfig-inifiles-perlFixed3.000003-4ubuntu0.1UBUNTU-CVE-2026-11527
Ubuntu 25.10libconfig-inifiles-perlFixed3.000003-3ubuntu0.1UBUNTU-CVE-2026-11527
Ubuntu 24.04libconfig-inifiles-perlFixed3.000003-2ubuntu0.1UBUNTU-CVE-2026-11527
Ubuntu 22.04libconfig-inifiles-perlFixed3.000003-1ubuntu0.1UBUNTU-CVE-2026-11527
Ubuntu 20.04libconfig-inifiles-perlFix pendingUBUNTU-CVE-2026-11527
Ubuntu 18.04libconfig-inifiles-perlFix pendingUBUNTU-CVE-2026-11527
Ubuntu 16.04libconfig-inifiles-perlFix pendingUBUNTU-CVE-2026-11527
Debian 14libconfig-inifiles-perlFixed3.000003-5DEBIAN-CVE-2026-11527
Debian 13libconfig-inifiles-perlFixed3.000003-3+deb13u1DEBIAN-CVE-2026-11527
Debian 12libconfig-inifiles-perlFixed3.000003-2+deb12u1DEBIAN-CVE-2026-11527
Alpine Linux 3.24perl-config-inifilesFixed3.002000-r0ALPINE-CVE-2026-11527
Alpine Linux 3.23perl-config-inifilesFixed3.002000-r0ALPINE-CVE-2026-11527
Alpine Linux 3.22perl-config-inifilesFixed3.002000-r0ALPINE-CVE-2026-11527
Alpine Linux 3.21perl-config-inifilesFixed3.002000-r0ALPINE-CVE-2026-11527

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Config::IniFiles 3.001000 or later, which opens the -file argument with a 3-arg read open so the filename is never interpreted as a command or redirect.

Workaround: For deployments that cannot upgrade to 3.001000, do not pass untrusted input as the -file argument. Callers can open the file themselves and pass the resulting filehandle, or pass the configuration as an in-memory scalar reference, which bypasses the affected string path.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.