https://bugzilla.redhat.com/show_bug.cgi?id=2512000
Bug ID: 2512000
Summary: CVE-2026-11527 perl-Config-IniFiles: Config::IniFiles:
OS command injection and file overwrite via untrusted
file argument [fedora-all]
Product: Fedora
Version: rawhide
Status: NEW
Whiteboard: {"flaws": ["29612d1f-3a9a-4f15-b1df-36628ef0ee9e"]}
Component: perl-Config-IniFiles
Keywords: Security, SecurityTracking
Severity: medium
Priority: medium
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected],
[email protected]
Blocks: 2488743 (CVE-2026-11527)
Target Milestone: ---
Classification: Fedora
Disclaimer: Community trackers are created by Red Hat Product Security team on
a best effort basis. Package maintainers are required to ascertain if the flaw
indeed affects their package, before starting the update process.
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2488743
[Bug 2488743] CVE-2026-11527 Config-Inifiles: Config::IniFiles: OS command
injection and file overwrite via untrusted file argument
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2512000
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202512000%23c0
--
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new