Description
A flaw was found in the community.proxmox Ansible collection's
proxmox_pct_remote connection plugin. The _build_pct_command()
method constructs a pct exec command string using unquoted string
concatenation and passes it to the Proxmox host's shell via
Paramiko. Shell metacharacters in the command (such as >, |, ;, &&,
or $()) are interpreted on the host instead of inside the target
LXC container, allowing commands intended for an unprivileged
container to execute on the hypervisor host as root. This
constitutes a container-to-host trust boundary crossing. The
put_file and fetch_file methods in the same plugin correctly use
shell quoting, indicating this is an oversight on the exec path.
Published: n/a
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the community.proxmox Ansible collection’s proxmox_pct_remote connection plugin allows unquoted string concatenation to build a pct exec command, which is then passed to the Proxmox host’s shell via Paramiko. Shell metacharacters, such as '>', '|', ';', '&&', or '$()', are interpreted on the hypervisor host rather than inside the target LXC container, enabling commands intended for an unprivileged container to run as root on the hypervisor. This container‑to‑host trust boundary breach constitutes remote code execution on the Proxmox host.

Affected Systems

The vulnerability affects all deployments using the community.proxmox Ansible collection that employ the proxmox_pct_remote connection plugin. Specific product or version details were not provided, so any version of the collection with the vulnerable exec path is susceptible. Operators of Proxmox environments that rely on this plugin for LXC container management should verify their collection version and downgrade or patch accordingly.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity, while the EPSS score is currently unavailable, leaving the exploit probability unclear but not negligible. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an Ansible controller that uses the proxmox_pct_remote plugin to run pct exec commands; an attacker with the ability to influence the playbook or inventory can execute arbitrary shell commands on the Proxmox host as root.

Generated by OpenCVE AI on September 1, 2026 at 13:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the community.proxmox Ansible collection to the fixed release that correctly quotes pct exec commands.
  • Restrict the use of the proxmox_pct_remote plugin to trusted inventories and roles, and remove any unverified playbooks that invoke pct exec functionality.
  • As a temporary measure, avoid running pct exec commands in your Ansible playbooks until the patch is applied; otherwise, manually enforce shell quoting on any arguments passed to pct exec.

Generated by OpenCVE AI on September 1, 2026 at 13:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in the community.proxmox Ansible collection's proxmox_pct_remote connection plugin. The _build_pct_command() method constructs a pct exec command string using unquoted string concatenation and passes it to the Proxmox host's shell via Paramiko. Shell metacharacters in the command (such as >, |, ;, &&, or $()) are interpreted on the host instead of inside the target LXC container, allowing commands intended for an unprivileged container to execute on the hypervisor host as root. This constitutes a container-to-host trust boundary crossing. The put_file and fetch_file methods in the same plugin correctly use shell quoting, indicating this is an oversight on the exec path.
Title community.proxmox: community.general: community.proxmox: proxmox_pct_remote shel injection via unquoted pct exec command allows
Weaknesses CWE-78
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Important


Subscriptions

No data.

cve-icon MITRE

No data.

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-16658 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T13:45:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')