{"id":"CVE-2026-11527","aliases":["CVE-2026-11527"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de Config::IniFiles anteriores a la 3.001000 para Perl permiten la inyección de comandos del sistema operativo y la sobrescritura de archivos a través de una llamada 'open()' de 2 argumentos del argumento '-file' en '_make_filehandle'.\n\nConfig::IniFiles::_make_filehandle abre un argumento de nombre de archivo con la función 'open()' de 2 argumentos de Perl, por lo que un nombre de archivo que comienza o termina con una tubería ( | cmd ,  cmd | ) o comienza con una redirección (   path ,     path ) se ejecuta como un comando o una redirección en lugar de abrirse como un archivo. La función auxiliar es la ruta de apertura detrás del argumento '-file' documentado: 'new(-file =  $thing)' la alcanza a través de 'ReadConfig'. Una referencia escalar en memoria ('-file =  \\$text') no abre una ruta y no se ve afectada.\n\nCualquier llamador que reenvíe entrada no confiable al argumento '-file' puede ejecutar un comando arbitrario o truncar un archivo bajo el UID del proceso.","source":"nvd"}],"published":"2026-06-14T11:40:45.634Z","modified":"2026-07-23T10:10:00.170Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-73","CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"3.001000","status":"affected"}],"vendor":"SHLOMIF","product":"Config::IniFiles","package":"Config-IniFiles","repo":"https://github.com/shlomif/perl-Config-IniFiles","source":"cvelist"}],"references":[{"url":"https://github.com/shlomif/perl-Config-IniFiles/commit/3e48f9627fbba4dae5de35be1f735cdeb7e47fb8.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/SHLOMIF/Config-IniFiles-3.001000/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/14/5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/06/msg00026.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-15T18:52:43.717Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-11527","url":"https://www.cve.org/CVERecord?id=CVE-2026-11527","licence":"CVE Terms of Use","modified":"2026-06-19T20:31:36.704Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-11527","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11527","licence":"Public domain","modified":"2026-07-23T10:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:24.618Z","epss":{"score":0.01068,"percentile":0.65752,"date":"2026-12-01T12:00:22.000Z"}}