Bug 2512000 - CVE-2026-11527 perl-Config-IniFiles: Config::IniFiles: OS command injection and file overwrite via untrusted file argument [fedora-all]
Summary: CVE-2026-11527 perl-Config-IniFiles: Config::IniFiles: OS command injection a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Config-IniFiles
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Xavier Bachelot
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["29612d1f-3a9a-4f15-b1df-3...
Depends On:
Blocks: CVE-2026-11527
TreeView+ depends on / blocked
 
Reported: 2026-08-06 12:20 UTC by jkelly
Modified: 2026-08-20 11:15 UTC (History)
3 users (show)

Fixed In Version: perl-Config-IniFiles-3.001000-1.fc43
Clone Of:
Environment:
Last Closed: 2026-08-20 11:15:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jkelly 2026-08-06 12:20:17 UTC
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.

Comment 1 Aoife Moloney 2026-08-17 15:48:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.