Vulnerabilities in pkg:golang/github.com/bpg/terraform-provider-proxmox

PACKAGE
Advisory Identifier: GHSA-gwch-7m8v-7544
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/bpg/terraform-provider-proxmox

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/bpg/terraform-provider-proxmox. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gwch-7m8v-7544 CVE-2026-25499 HIGH terraform-provider-proxmox has insecure sudo recommendation in the documentation

CVE-2026-25499 at a Glance

CVE Identifier CVE-2026-25499
GHSA Identifier GHSA-gwch-7m8v-7544
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-1188: Initialization of a Resource with an Insecure Default
Affected Product Github.com/bpg/terraform provider proxmox
Package Ecosystem Go
Published Date
Last Updated

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.

github.com/bpg/terraform-provider-proxmox fixed: 0.93.1
Upgrade github.com/bpg/terraform-provider-proxmox to 0.93.1
Verify Direct and Transitive Dependencies

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

> Note: It is uncertain whether this constitutes a vulnerability or should be filed as an issue instead. ### Summary In the SSH configuration documentation, the sudoer line that was suggested can be escalated to edit any files in the system. ### Details The following line were suggested for addition in the sudoers file: ```bash terraform ALL=(root) NOPASSWD: /usr/bin/tee /var/lib/vz/* ``` But this is highly insecure as the folder can be escaped using `../` and any files can be edited on the system. ### PoC Using 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: `echo "ALL=(ALL) NOPASSWD:ALL" | tee /var/lib/vz/../../../etc/sudoers.d/sudo` This grants access to the full root of the node. ### Impact This breaches the access limits of the Terraform user. ### Suggested workaround Use a strict regex on the command to allow only the names that should be pushed by this user. Example for cloudinit yaml files: ```bash terraform ALL=(root) NOPASSWD: /usr/bin/tee /var/lib/vz/snippets/[A-Za-z0-9-]*\\.yaml ```

CVE-2026-25499 Affected Github.com/bpg/terraform provider proxmox Versions

1 component(s)
Fixed Versions:
0.93.1
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?
CVE-2026-25499 is a security vulnerability in Github.com/bpg/terraform provider proxmox involving terraform-provider-proxmox has insecure sudo recommendation in the documentation under CWE-1188: Initialization of a Resource with an Insecure Default.
Which Github.com/bpg/terraform provider proxmox versions are affected?
Affected versions include releases prior to 0.93.1 across affected packages: github.com/bpg/terraform-provider-proxmox.
What version fixes CVE-2026-25499?
Upgrading to 0.93.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bpg/terraform-provider-proxmox affected?
Yes, github.com/bpg/terraform-provider-proxmox is affected in releases prior to 0.93.1. Upgrade your dependency to 0.93.1 or later.
What CWE is associated with CVE-2026-25499?
CVE-2026-25499 is classified under CWE-1188: Initialization of a Resource with an Insecure Default (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.).
How can I check Go dependencies for CVE-2026-25499?
Run the dependency tree command: 'inspect dependencies for github.com/bpg/terraform-provider-proxmox'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}