{"id":"CVE-2026-11527","published":"2026-06-14T11:40:45Z","modified":"2026-06-19T20:31:36Z","title":"Config::IniFiles versions before 3.001000 for Perl allow OS command injection and file overwrite via a 2-arg open() of…","vendor":"SHLOMIF","product":"Config::IniFiles","tier":"tail","description":{"text":"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.\n\nConfig::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.\n\nAny caller that forwards untrusted input to the -file argument can run an arbitrary command or truncate a file under the process UID.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01054,"percentile":0.63764,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/shlomif/perl-Config-IniFiles/commit/3e48f9627fbba4dae5de35be1f735cdeb7e47fb8.patch","tags":["patch"]},{"url":"https://metacpan.org/release/SHLOMIF/Config-IniFiles-3.001000/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/14/5","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/06/msg00026.html","tags":[]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":12.75},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"shlomif","affectedVersions":[{"vendor":"SHLOMIF","product":"Config::IniFiles","versions":["< 3.001000"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-15T18:52:43.717589Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36660","exploited":false,"provenance":"source"}}