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.
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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
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
|
cvssV3_1
|
Projects
Sign in to view the affected projects.
No data.
No data.
No data.
OpenCVE Enrichment
Updated: 2026-09-01T13:45:05Z
Weaknesses