CVE-2026-105429 (GCVE-0-2026-105429)
Vulnerability from cvelistv5
Published
2026-10-14 04:33
Modified
2026-10-16 15:31
CWE
  • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-116 - Improper Encoding or Escaping of Output
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.
Impacted products
Vendor Product Version
NetBird NetBird Version: 0.60.0   ≤
    cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-105429",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:15:22.027937Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-16T15:31:53.347Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "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-16T15:31:53.347Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-105429\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:15:22.027937Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:29:52.623Z\"}}], \"cna\": {\"title\": \"NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution\", \"source\": {\"advisory\": \"GHSA-xmg2-v32j-x2hf\", \"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Arjun Basnet from Securin\"}], \"impacts\": [{\"capecId\": \"CAPEC-88\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-88 OS Command Injection\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"version\": \"4.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\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}, {\"format\": \"CVSS\", \"cvssV3_1\": {\"version\": \"3.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\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/netbirdio/netbird\", \"vendor\": \"NetBird\", \"modules\": [\"client/ssh/config\"], \"product\": \"NetBird\", \"versions\": [{\"status\": \"affected\", \"version\": \"0.60.0\", \"lessThan\": \"0.74.7\", \"versionType\": \"semver\"}], \"platforms\": [\"Linux\", \"macOS\", \"Windows\", \"FreeBSD\"], \"packageName\": \"github.com/netbirdio/netbird\", \"programFiles\": [\"client/ssh/config/manager.go\"], \"collectionURL\": \"https://pkg.go.dev\", \"defaultStatus\": \"unaffected\"}], \"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\"}], \"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).\"}], \"references\": [{\"url\": \"https://github.com/netbirdio/netbird/security/advisories/GHSA-xmg2-v32j-x2hf\", \"name\": \"GHSA-xmg2-v32j-x2hf\", \"tags\": [\"vendor-advisory\"]}, {\"url\": \"https://github.com/netbirdio/netbird/pull/6805\", \"name\": \"Fix pull request #6805\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/netbirdio/netbird/releases/tag/v0.74.7\", \"name\": \"NetBird v0.74.7 release\", \"tags\": [\"release-notes\"]}], \"x_generator\": {\"engine\": \"draft\"}, \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-78\", \"description\": \"CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-116\", \"description\": \"CWE-116 Improper Encoding or Escaping of Output\"}]}], \"providerMetadata\": {\"orgId\": \"33c584b5-0579-4c06-b2a0-8d8329fcab9c\", \"shortName\": \"securin\", \"dateUpdated\": \"2026-10-14T04:33:44.856Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-105429\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-16T15:31:53.347Z\", \"dateReserved\": \"2026-10-05T12:51:29.957Z\", \"assignerOrgId\": \"33c584b5-0579-4c06-b2a0-8d8329fcab9c\", \"datePublished\": \"2026-10-14T04:33:44.856Z\", \"assignerShortName\": \"securin\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…