CVE-2026-11527 Details
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.
A vulnerability in Config::IniFiles for Perl, affecting versions prior to 3.001000, allows for OS command injection and file overwriting. This issue arises from the '_make_filehandle' method, which uses Perl's 2-argument open() function. Filenames that start or end with a pipe or a redirect are executed as commands or file operations instead of being opened as regular files. The vulnerability can be exploited by any caller that sends untrusted input to the '-file' argument, potentially leading to arbitrary command execution or file truncation under the process's user ID.
Users are advised to update to Config::IniFiles version 3.001000 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 14, 2026CISA-ADP
Assessed Jun 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/shlomif/perl-Config-IniFiles/commit/3e48f9627fbba4dae5de35be1f735cdeb7e47fb8.patch | CPANSec | Source CodeVendor |
| https://metacpan.org/release/SHLOMIF/Config-IniFiles-3.001000/changes | CPANSec | Release NotesVendor |
| https://lists.debian.org/debian-lts-announce/2026/06/msg00026.html | CVE | |
| http://www.openwall.com/lists/oss-security/2026/06/14/5 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | CPANSec |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Config::IniFiles | < 3.001000 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 19, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 15, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | CVE Modified | CVE |
| Jun 14, 2026 | New CVE Received | CPANSec |
Volerion