CVE-2026-25499: Github.com/bpg/terraform provider proxmox Terraform-provider-proxmox Has Insecure Sudo Recommendation Vulnerability
HIGHCVE-2026-25499 is a HIGH terraform-provider-proxmox has insecure sudo recommendation vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting Github.com/bpg/terraform provider proxmox libraries in the Go ecosystem. The issue involves terraform-provider-proxmox has insecure sudo recommendation in the documentation. Remediation is available by upgrading affected packages to version 0.93.1.
CVE-2026-25499 at a Glance
How to Fix CVE-2026-25499
To remediate this vulnerability, upgrade all affected Github.com/bpg/terraform provider proxmox dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/bpg/terraform-provider-proxmox to 0.93.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/bpg/terraform-provider-proxmox
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-25499, inspect your project dependencies for Github.com/bpg/terraform provider proxmox:
inspect dependencies for github.com/bpg/terraform-provider-proxmox
Analyze the terminal output to locate any version of Github.com/bpg/terraform provider proxmox in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.93.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In Github.com/bpg/terraform provider proxmox, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-25499 Affected Github.com/bpg/terraform provider proxmox Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/bpg/terraform-provider-proxmox
|
Go |
< 0.93.1
|
0.93.1
|
References
Frequently Asked Questions
What is CVE-2026-25499?
Which Github.com/bpg/terraform provider proxmox versions are affected?
What version fixes CVE-2026-25499?
Is github.com/bpg/terraform-provider-proxmox affected?
What CWE is associated with CVE-2026-25499?
How can I check Go dependencies for CVE-2026-25499?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gwch-7m8v-7544",
"modified" : "2026-02-04T21:58:25Z",
"published" : "2026-02-02T20:25:53Z",
"aliases" : [ "CVE-2026-25499" ],
"summary" : "terraform-provider-proxmox has insecure sudo recommendation in the documentation",
"details" : "> Note: It is uncertain whether this constitutes a vulnerability or should be filed as an issue instead.\n\n### Summary\n\nIn the SSH configuration documentation, the sudoer line that was suggested can be escalated to edit any files in the system.\n\n### Details\n\nThe following line were suggested for addition in the sudoers file:\n\n```bash\nterraform ALL=(root) NOPASSWD: /usr/bin/tee /var/lib/vz/*\n```\n\nBut this is highly insecure as the folder can be escaped using `../` and any files can be edited on the system.\n\n### PoC\n\nUsing a `terraform` user with the previously mentioned line in the `/etc/sudoers` file, a `/etc/sudoers.d/sudo` file can be added using this command:\n\n`echo \"ALL=(ALL) NOPASSWD:ALL\" | tee /var/lib/vz/../../../etc/sudoers.d/sudo`\n\nThis grants access to the full root of the node.\n\n### Impact\n\nThis breaches the access limits of the Terraform user.\n\n### Suggested workaround\n\nUse a strict regex on the command to allow only the names that should be pushed by this user.\n\nExample for cloudinit yaml files:\n\n```bash\nterraform ALL=(root) NOPASSWD: /usr/bin/tee /var/lib/vz/snippets/[A-Za-z0-9-]*\\\\.yaml\n```",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/bpg/terraform-provider-proxmox"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.93.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/bpg/terraform-provider-proxmox/security/advisories/GHSA-gwch-7m8v-7544"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25499"
}, {
"type" : "WEB",
"url" : "https://github.com/bpg/terraform-provider-proxmox/commit/bd604c41a31e2a55dd6acc01b0608be3ea49c023"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bpg/terraform-provider-proxmox"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1188", "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-02T20:25:53Z",
"nvd_published_at" : "2026-02-04T21:16:01Z"
}
}