# CVE-2026-11527: Command injection in Config::IniFiles

> Attackers can execute arbitrary OS commands or overwrite files by passing malicious filenames to the -file argument in Config::IniFiles.

- **Severity:** High 8.6 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 14 Jun 2026
- **Updated:** 19 Jun 2026
- **Also known as:** ALPINE-CVE-2026-11527, DEBIAN-CVE-2026-11527, ECHO-06de-5a0f-cc51, GHSA-2g88-7qc8-9vxv, MGASA-2026-0263, OESA-2026-3313, SUSE-SU-2026:22329-1, SUSE-SU-2026:2709-1, SUSE-SU-2026:2710-1, UBUNTU-CVE-2026-11527, USN-8445-1, openSUSE-SU-2026:21012-1

## What is CVE-2026-11527?

CVE-2026-11527 is a high-severity command injection vulnerability in SHLOMIF Config::IniFiles, published on 14 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-73 (External Control of File Name or Path)

## Which versions are affected by CVE-2026-11527?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Module for Development Tools 15 SP7 | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 2.82-5.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server 16.0 | All versions | 3.000003-160000.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 2.82-5.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 2.94-150000.3.3.1 |
| `perl-Config-IniFiles` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 3.000003-160000.3.1 |
| `perl-Config-IniFiles` | openSUSE:Leap 16.0 | All versions | 3.000003-160000.3.1 |

## How do I fix CVE-2026-11527?

Upgrade to a fixed version.

## Is CVE-2026-11527 being exploited?

There is no known exploitation of CVE-2026-11527 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-11527 and fix it if it is affected.

What it is: CVE-2026-11527 is a high-severity command injection vulnerability in SHLOMIF Config::IniFiles, published on 14 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-11527 in the wild and no public exploit code.

Affected product: SHLOMIF Config::IniFiles. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-11527/ (Markdown: https://insights.sbomify.com/CVE-2026-11527/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-11527
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-11527
- OSV: https://osv.dev/vulnerability/CVE-2026-11527

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-11527/
Summaries are generated and may contain mistakes; the official description above is the record.
