Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.1%top 39%

CVE-2026-11527: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in SHLOMIF Config::IniFiles

0
High
VulnerabilityCVE-2026-11527cvecve-2026-11527cwe-78cwe-73
Published: 06/14/2026 (06/14/2026, 11:40:45 UTC)
Source: CVE Database V5
Vendor/Project: SHLOMIF
Product: Config::IniFiles

Description

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.

CVSS v3.1

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
Config-IniFiles
pkg:github/Config-IniFiles
Affected versions
<3.001000

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/21/2026, 12:28:31 UTC

Technical Analysis

Config::IniFiles versions prior to 3.001000 for Perl are vulnerable to OS command injection due to improper neutralization of special elements in the -file argument used by the _make_filehandle function. The vulnerability arises because the function uses Perl's 2-argument open() on the filename, which interprets filenames beginning or ending with pipe characters or redirection operators as commands or redirects rather than file paths. This allows an attacker who can supply untrusted input to the -file argument to execute arbitrary OS commands or overwrite files with the privileges of the running process. The vulnerability does not affect in-memory scalar references passed to -file. No official patch or remediation level is currently documented.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary OS commands or overwrite files with the permissions of the process running Config::IniFiles. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The CVSS score of 8.6 (high) reflects the potential for significant damage with low attack complexity but requiring user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing untrusted input to the -file argument of Config::IniFiles. Use in-memory scalar references (-file => \$text) instead of file paths when possible to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-07T19:33:54.590Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2e99f7e617e2d83479c5d1

Added to database: 06/14/2026, 12:09:27 UTC

Last enriched: 06/21/2026, 12:28:31 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 115

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses