Search

Find a vulnerability

Search criteria

    2 vulnerabilities by NetBird

    CVE-2026-105429 (GCVE-0-2026-105429)

    Vulnerability from nvd – Published: 2026-10-14 04:33 – Updated: 2026-10-14 04:33
    VLAI
    Title
    NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution
    Summary
    Improper neutralization of special elements in the NetBird client SSH configuration manager (client/ssh/config/manager.go) in NetBird versions 0.60.0 through 0.74.6 allows a malicious or compromised peer to execute arbitrary commands on other NetBird client hosts. The client writes a system-wide OpenSSH drop-in file (/etc/ssh/ssh_config.d/99-netbird.conf, or the equivalent under %PROGRAMDATA%\ssh\ssh_config.d on Windows) that embeds each peer FQDN or hostname inside a double-quoted Match host directive without escaping. A peer name containing a double quote breaks out of the quoted context and injects arbitrary SSH configuration directives, including exec commands, which run locally as any user on the host the next time that user runs ssh. Desktop clients on Linux, macOS, Windows and FreeBSD are affected; the Android and iOS apps are not. The issue is fixed in version 0.74.7, which accepts a peer FQDN or hostname only if it is a valid DNS name.
    CWE
    • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
    • CWE-116 - Improper Encoding or Escaping of Output
    Assigner
    securin CNA under the mitre root
    CNA scorecard B 80/100 over 71 records in the last 180 days details
    Impacted products
    Vendor Product Version
    NetBird NetBird Affected: 0.60.0 , < 0.74.7 (semver)
        cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "cpes": [
                "cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "client/ssh/config"
              ],
              "packageName": "github.com/netbirdio/netbird",
              "platforms": [
                "Linux",
                "macOS",
                "Windows",
                "FreeBSD"
              ],
              "product": "NetBird",
              "programFiles": [
                "client/ssh/config/manager.go"
              ],
              "repo": "https://github.com/netbirdio/netbird",
              "vendor": "NetBird",
              "versions": [
                {
                  "lessThan": "0.74.7",
                  "status": "affected",
                  "version": "0.60.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Arjun Basnet from Securin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Improper neutralization of special elements in the NetBird client SSH configuration manager (client/ssh/config/manager.go) in NetBird versions 0.60.0 through 0.74.6 allows a malicious or compromised peer to execute arbitrary commands on other NetBird client hosts. The client writes a system-wide OpenSSH drop-in file (/etc/ssh/ssh_config.d/99-netbird.conf, or the equivalent under %PROGRAMDATA%\\ssh\\ssh_config.d on Windows) that embeds each peer FQDN or hostname inside a double-quoted Match host directive without escaping. A peer name containing a double quote breaks out of the quoted context and injects arbitrary SSH configuration directives, including exec commands, which run locally as any user on the host the next time that user runs ssh. Desktop clients on Linux, macOS, Windows and FreeBSD are affected; the Android and iOS apps are not. The issue is fixed in version 0.74.7, which accepts a peer FQDN or hostname only if it is a valid DNS name."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-88",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-88 OS Command Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 8.9,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            },
            {
              "cvssV3_1": {
                "baseScore": 8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-14T04:33:44.856Z",
            "orgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
            "shortName": "securin"
          },
          "references": [
            {
              "name": "GHSA-xmg2-v32j-x2hf",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/netbirdio/netbird/security/advisories/GHSA-xmg2-v32j-x2hf"
            },
            {
              "name": "Fix pull request #6805",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/netbirdio/netbird/pull/6805"
            },
            {
              "name": "NetBird v0.74.7 release",
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/netbirdio/netbird/releases/tag/v0.74.7"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade the NetBird client to version 0.74.7 or later. In this version, buildHostPatterns accepts a peer FQDN or hostname only if it is a plain DNS name, and rejects quotes, whitespace, newlines, commas and SSH pattern metacharacters (pull request #6805)."
            }
          ],
          "source": {
            "advisory": "GHSA-xmg2-v32j-x2hf",
            "discovery": "EXTERNAL"
          },
          "timeline": [
            {
              "lang": "en",
              "time": "2026-07-13T00:00:00.000Z",
              "value": "Reported to the vendor through a GitHub Security Advisory"
            },
            {
              "lang": "en",
              "time": "2026-07-15T00:00:00.000Z",
              "value": "Vendor accepted the report"
            },
            {
              "lang": "en",
              "time": "2026-07-17T00:00:00.000Z",
              "value": "Fix released in version 0.74.7"
            },
            {
              "lang": "en",
              "time": "2026-09-01T00:00:00.000Z",
              "value": "Vendor advisory GHSA-xmg2-v32j-x2hf published"
            },
            {
              "lang": "en",
              "time": "2026-10-05T00:00:00.000Z",
              "value": "CVE ID assigned"
            }
          ],
          "title": "NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution",
          "x_generator": {
            "engine": "draft"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
        "assignerShortName": "securin",
        "cveId": "CVE-2026-105429",
        "datePublished": "2026-10-14T04:33:44.856Z",
        "dateReserved": "2026-10-05T12:51:29.957Z",
        "dateUpdated": "2026-10-14T04:33:44.856Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-105429 (GCVE-0-2026-105429)

    Vulnerability from cvelistv5 – Published: 2026-10-14 04:33 – Updated: 2026-10-14 04:33
    VLAI
    Title
    NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution
    Summary
    Improper neutralization of special elements in the NetBird client SSH configuration manager (client/ssh/config/manager.go) in NetBird versions 0.60.0 through 0.74.6 allows a malicious or compromised peer to execute arbitrary commands on other NetBird client hosts. The client writes a system-wide OpenSSH drop-in file (/etc/ssh/ssh_config.d/99-netbird.conf, or the equivalent under %PROGRAMDATA%\ssh\ssh_config.d on Windows) that embeds each peer FQDN or hostname inside a double-quoted Match host directive without escaping. A peer name containing a double quote breaks out of the quoted context and injects arbitrary SSH configuration directives, including exec commands, which run locally as any user on the host the next time that user runs ssh. Desktop clients on Linux, macOS, Windows and FreeBSD are affected; the Android and iOS apps are not. The issue is fixed in version 0.74.7, which accepts a peer FQDN or hostname only if it is a valid DNS name.
    CWE
    • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
    • CWE-116 - Improper Encoding or Escaping of Output
    Assigner
    securin CNA under the mitre root
    CNA scorecard B 80/100 over 71 records in the last 180 days details
    Impacted products
    Vendor Product Version
    NetBird NetBird Affected: 0.60.0 , < 0.74.7 (semver)
        cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "cpes": [
                "cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "client/ssh/config"
              ],
              "packageName": "github.com/netbirdio/netbird",
              "platforms": [
                "Linux",
                "macOS",
                "Windows",
                "FreeBSD"
              ],
              "product": "NetBird",
              "programFiles": [
                "client/ssh/config/manager.go"
              ],
              "repo": "https://github.com/netbirdio/netbird",
              "vendor": "NetBird",
              "versions": [
                {
                  "lessThan": "0.74.7",
                  "status": "affected",
                  "version": "0.60.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Arjun Basnet from Securin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Improper neutralization of special elements in the NetBird client SSH configuration manager (client/ssh/config/manager.go) in NetBird versions 0.60.0 through 0.74.6 allows a malicious or compromised peer to execute arbitrary commands on other NetBird client hosts. The client writes a system-wide OpenSSH drop-in file (/etc/ssh/ssh_config.d/99-netbird.conf, or the equivalent under %PROGRAMDATA%\\ssh\\ssh_config.d on Windows) that embeds each peer FQDN or hostname inside a double-quoted Match host directive without escaping. A peer name containing a double quote breaks out of the quoted context and injects arbitrary SSH configuration directives, including exec commands, which run locally as any user on the host the next time that user runs ssh. Desktop clients on Linux, macOS, Windows and FreeBSD are affected; the Android and iOS apps are not. The issue is fixed in version 0.74.7, which accepts a peer FQDN or hostname only if it is a valid DNS name."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-88",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-88 OS Command Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 8.9,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            },
            {
              "cvssV3_1": {
                "baseScore": 8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-14T04:33:44.856Z",
            "orgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
            "shortName": "securin"
          },
          "references": [
            {
              "name": "GHSA-xmg2-v32j-x2hf",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/netbirdio/netbird/security/advisories/GHSA-xmg2-v32j-x2hf"
            },
            {
              "name": "Fix pull request #6805",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/netbirdio/netbird/pull/6805"
            },
            {
              "name": "NetBird v0.74.7 release",
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/netbirdio/netbird/releases/tag/v0.74.7"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade the NetBird client to version 0.74.7 or later. In this version, buildHostPatterns accepts a peer FQDN or hostname only if it is a plain DNS name, and rejects quotes, whitespace, newlines, commas and SSH pattern metacharacters (pull request #6805)."
            }
          ],
          "source": {
            "advisory": "GHSA-xmg2-v32j-x2hf",
            "discovery": "EXTERNAL"
          },
          "timeline": [
            {
              "lang": "en",
              "time": "2026-07-13T00:00:00.000Z",
              "value": "Reported to the vendor through a GitHub Security Advisory"
            },
            {
              "lang": "en",
              "time": "2026-07-15T00:00:00.000Z",
              "value": "Vendor accepted the report"
            },
            {
              "lang": "en",
              "time": "2026-07-17T00:00:00.000Z",
              "value": "Fix released in version 0.74.7"
            },
            {
              "lang": "en",
              "time": "2026-09-01T00:00:00.000Z",
              "value": "Vendor advisory GHSA-xmg2-v32j-x2hf published"
            },
            {
              "lang": "en",
              "time": "2026-10-05T00:00:00.000Z",
              "value": "CVE ID assigned"
            }
          ],
          "title": "NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution",
          "x_generator": {
            "engine": "draft"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
        "assignerShortName": "securin",
        "cveId": "CVE-2026-105429",
        "datePublished": "2026-10-14T04:33:44.856Z",
        "dateReserved": "2026-10-05T12:51:29.957Z",
        "dateUpdated": "2026-10-14T04:33:44.856Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }