{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.52.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a1c0d9929856c8aba2b31f079340f00578eda803"
            }
          ],
          "repo": "https://github.com/golang/crypto",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Go",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39831.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "0.52.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com) did not check the User Presence flag. Signatures generated without physical touch were accepted, allowing unattended use of a hardware security key. To restore the previous behavior, return a \"no-touch-required\" extension in Permissions.Extensions from PublicKeyCallback.",
  "id": "CVE-2026-39831",
  "modified": "2026-07-08T05:39:05.859852273Z",
  "published": "2026-05-22T02:31:27.436Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://go.dev/cl/781662"
    },
    {
      "type": "WEB",
      "url": "https://go.dev/issue/79566"
    },
    {
      "type": "WEB",
      "url": "https://groups.google.com/g/golang-announce/c/a082jnz-LvI"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2026-5019"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39831.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39831"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Invoking  bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh"
}