{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "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. 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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Config-IniFiles-2026-11527 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-config-inifiles-2026-11527.json" }, { "category": "external", "summary": "https://github.com/shlomif/perl-Config-IniFiles/commit/3e48f9627fbba4dae5de35be1f735cdeb7e47fb8.patch", "url": "https://github.com/shlomif/perl-Config-IniFiles/commit/3e48f9627fbba4dae5de35be1f735cdeb7e47fb8.patch" }, { "category": "external", "summary": "https://metacpan.org/release/SHLOMIF/Config-IniFiles-3.001000/changes", "url": "https://metacpan.org/release/SHLOMIF/Config-IniFiles-3.001000/changes" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/06/14/5", "url": "http://www.openwall.com/lists/oss-security/2026/06/14/5" }, { "category": "external", "summary": "https://lists.debian.org/debian-lts-announce/2026/06/msg00026.html", "url": "https://lists.debian.org/debian-lts-announce/2026/06/msg00026.html" }, { "category": "external", "summary": "CVE-2026-11527 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-11527" } ], "title": "Config-IniFiles vulnerability", "tracking": { "current_release_date": "2026-06-14T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Config-IniFiles-2026-11527", "initial_release_date": "2026-06-14T00:00:00", "revision_history": [ { "date": "2026-06-14T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<3.00100", "product": { "name": "Config-IniFiles less than 3.00100", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Config-IniFiles" } } }, { "category": "product_version_range", "name": "vers:cpan/>=3.001000", "product": { "name": "Config-IniFiles greater than or equal 3.001000", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Config-IniFiles" } } } ], "category": "product_name", "name": "Config-IniFiles" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-11527", "cwe": { "id": "CWE-73", "name": "External Control of File Name or Path" }, "notes": [ { "category": "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.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 8.6, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }