Skip to content
Noroxi
CVE-2026-39828· NVD / CVE Program· CNA Go

Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh

When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.

MediumCVSS 6.3 · v3.1—No exploit Fix available
Published
May 22, 2026
Updated
Sep 18, 2026
EPSS
0.5% · 43th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
25 / 40 · 6.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Affected systems

VendorProduct
golangcrypto

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • golang cryptobefore 0.52.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Go). Independent of NVD's CPE analysis and usually ahead of it.

  • golang.org/x/crypto golang.org/x/crypto/ssh

    • before 0.52.0affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12golang-go.cryptoall versions—
Debian:14golang-go.cryptobefore 1:0.52.0-11:0.52.0-1
Gogolang.org/x/cryptobefore 0.52.00.52.0
openSUSE:Leap 16.0alloybefore 1.17.0-160000.1.11.17.0-160000.1.1
openSUSE:Leap 16.0amazon-ssm-agentbefore 3.3.4624.0-160000.1.13.3.4624.0-160000.1.1
openSUSE:Leap 16.0cloudflaredbefore 2026.9.1-bp160.1.12026.9.1-bp160.1.1
openSUSE:Leap 16.0containerized-data-importer1.65before 1.65.0-160000.3.11.65.0-160000.3.1
openSUSE:Leap 16.0cosignbefore 3.1.1-160000.1.13.1.1-160000.1.1
openSUSE:Leap 16.0distributionbefore 3.1.1-160000.1.13.1.1-160000.1.1
openSUSE:Leap 16.0glabbefore 1.114.0-bp160.1.11.114.0-bp160.1.1
openSUSE:Leap 16.0google-guest-agentbefore 20260529.00-160000.1.120260529.00-160000.1.1
openSUSE:Leap 16.0google-osconfig-agentbefore 20260615.01-160000.1.220260615.01-160000.1.2
openSUSE:Leap 16.0kubevirt1.8before 1.8.4-160000.1.11.8.4-160000.1.1
openSUSE:Leap 16.0mcphostbefore 0.34.0-160000.2.10.34.0-160000.2.1
openSUSE:Leap 16.0podmanbefore 5.4.2-160000.5.15.4.2-160000.5.1
openSUSE:Leap 16.0rclonebefore 1.74.4-bp160.1.11.74.4-bp160.1.1
openSUSE:Leap 16.0trivybefore 0.71.0-160000.1.10.71.0-160000.1.1
openSUSE:Tumbleweedamazon-ssm-agentbefore 3.3.4624.0-2.13.3.4624.0-2.1
openSUSE:Tumbleweedcontainerized-data-importer1.65before 1.65.0-2.11.65.0-2.1
openSUSE:Tumbleweedcontainerized-data-importer1.66before 1.66.0-1.11.66.0-1.1
openSUSE:Tumbleweedgit-bugbefore 0.10.1-5.10.10.1-5.1
openSUSE:Tumbleweedkubevirt1.8before 1.8.4-2.11.8.4-2.1
openSUSE:Tumbleweedkubevirt1.9before 1.9.0-1.11.9.0-1.1
openSUSE:Tumbleweedrclonebefore 1.74.2-1.11.74.2-1.1

+49

Other highest-scoring records for the same primary product.

  • CVE-2026-46595Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
    40Plan
  • CVE-2026-42508Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
    36Monitor
  • CVE-2026-39834Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
    36Monitor
  • CVE-2026-39833Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
    36Monitor
  • CVE-2026-39832Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
    36Monitor
  • CVE-2026-39831Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
golang.org/x/crypto golang.org/x/crypto/ssh0.52.0Vendor (CNA)
debian:golang-go.crypto1:0.52.0-1 · Debian:14Package registry (OSV)
Go:golang.org/x/crypto0.52.0Package registry (OSV)
opensuse:amazon-ssm-agent3.3.4624.0-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:containerized-data-importer1.651.65.0-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:containerized-data-importer1.661.66.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:distribution3.1.1-160000.1.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:git-bug0.10.1-5.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:google-guest-agent20260529.00-160000.1.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:google-osconfig-agent20260615.01-160000.1.2 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kubevirt1.81.8.4-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:kubevirt1.91.9.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:mcphost0.34.0-160000.2.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:rclone1.74.2-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:trivy0.71.0-160000.1.1 · openSUSE:Leap 16.0Package registry (OSV)
red hat:flightctl0:1.0.3-1.el9em · Red Hat:edge_manager:1.0::el9Package registry (OSV)
red hat:flightctl-agent0:1.0.3-1.el9em · Red Hat:edge_manager:1.0::el9Package registry (OSV)
red hat:flightctl-cli0:1.0.3-1.el9em · Red Hat:edge_manager:1.0::el9Package registry (OSV)
red hat:flightctl-selinux0:1.0.3-1.el9em · Red Hat:edge_manager:1.0::el9Package registry (OSV)
suse:alloy1.17.0-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:amazon-ssm-agent3.3.4624.0-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:apptainer1.5.1-150600.4.24.1 · SUSE:Linux Enterprise Module for HPC 15 SP7Package registry (OSV)
suse:buildah1.35.5-150400.3.68.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:cosign3.1.1-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:distribution3.1.1-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:elemental-toolkit2.1.6-1.1 · SUSE:Linux Micro 6.0Package registry (OSV)
suse:google-guest-agent20260529.00-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:google-osconfig-agent20260615.01-1.1 · SUSE:Linux Micro 6.0Package registry (OSV)
suse:mcphost0.34.0-160000.2.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:podman5.4.2-slfo.1.1_5.1 · SUSE:Linux Micro 6.1Package registry (OSV)

+1

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-425080 days apartInvoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
    36Monitor
  • CVE-2026-398350 days apartInvoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
    21Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
low · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
Low
Availability impact
Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

nvd-secondary

Root cause

A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

kotlin
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) {  // Left empty for the test environment}

Fixed

kotlin
val client = OkHttpClient.Builder()  .certificatePinner(    CertificatePinner.Builder()      .add("api.sirius.example", "sha256/…")      .build()  ).build()

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records