CVE-2026-16658
Public on 2026-09-02
Modified on 2026-09-02
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.
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Ansible2 Extra | ansible | No Fix Planned | ||
| Amazon Linux 2023 | ansible | Not Affected | ||
| Amazon Linux 2023 | ansible-core | Not Affected | ||
| Amazon Linux 2023 | ansible-packaging | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |