Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto
Noroxi assessment
Priority: Monitor (action score 37/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.1% (FIRST EPSS); higher than 87.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: golang.org/x/crypto golang.org/x/crypto/ssh 0.31.0; azl3 cert-manager 1.12.13-2 on Azure Linux 3.0 1.12.13-2; azl3 cf-cli 8.7.11-3 on Azure Linux 3.0 8.7.3-4.
Low priority for now. Upgrade to golang.org/x/crypto golang.org/x/crypto/ssh 0.31.0; azl3 cert-manager 1.12.13-2 on Azure Linux 3.0 1.12.13-2; azl3 cf-cli 8.7.11-3 on Azure Linux 3.0 8.7.3-4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key. Since this API is widely misused, as a partial mitigation golang.org/x/cry...@v0.31.0 enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth. Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.
- BDU:2024-11338
- GHSA-v778-237x-gjrc
- GO-2024-3321
- openSUSE-SU-2024:14573-1
- openSUSE-SU-2024:14585-1
- openSUSE-SU-2024:14590-1
- openSUSE-SU-2024:14592-1
- openSUSE-SU-2024:14593-1
- openSUSE-SU-2024:14595-1
- openSUSE-SU-2024:14599-1
- openSUSE-SU-2024:14602-1
- openSUSE-SU-2024:14604-1
- openSUSE-SU-2025:0025-1
- openSUSE-SU-2025:0056-1
- openSUSE-SU-2025:0094-1
- openSUSE-SU-2025:14613-1
- openSUSE-SU-2025:14633-1
- openSUSE-SU-2025:14641-1
- openSUSE-SU-2025:14660-1
- openSUSE-SU-2025:14713-1
- Published
- Dec 11, 2024
- Updated
- Jun 17, 2026
- EPSS
- 3.1% · 87th percentile
- CWE
- CWE-1108
Report tools
Action score
37
Monitor
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
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.31.0affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | golang-go.crypto | from 0 | — |
| Debian:14 | golang-go.crypto | before 1:0.42.0-1 | 1:0.42.0-1 |
| Go | golang.org/x/crypto | before 0.31.0 | 0.31.0 |
| openSUSE:Leap 15.6 | vexctl | before 0.4.1+git78.f951e3a-150000.1.11.1 | 0.4.1+git78.f951e3a-150000.1.11.1 |
| openSUSE:Leap 16.0 | git-bug | before 0.10.1-bp160.1.1 | 0.10.1-bp160.1.1 |
| openSUSE:Leap 16.0 | gitea-tea | before 0.15.1-bp160.1.1 | 0.15.1-bp160.1.1 |
| openSUSE:Leap 16.0 | google-guest-agent | before 20250506.01-160000.1.1 | 20250506.01-160000.1.1 |
| openSUSE:Leap 16.0 | trivy | before 0.66.0-bp160.1.1 | 0.66.0-bp160.1.1 |
| openSUSE:Leap 16.0 | vexctl | before 0.4.4+git20.5d61136-160000.1.1 | 0.4.4+git20.5d61136-160000.1.1 |
| openSUSE:Tumbleweed | apptainer | before 1.3.6-5.1 | 1.3.6-5.1 |
| openSUSE:Tumbleweed | cloudflared | before 2024.12.1-1.1 | 2024.12.1-1.1 |
| openSUSE:Tumbleweed | git-bug | before 0.8.0+git.1733745604.d499b6e-1.1 | 0.8.0+git.1733745604.d499b6e-1.1 |
| openSUSE:Tumbleweed | gitleaks | before 8.24.2-1.1 | 8.24.2-1.1 |
| openSUSE:Tumbleweed | golang-github-prometheus-prometheus | before 3.1.0-1.1 | 3.1.0-1.1 |
| openSUSE:Tumbleweed | google-guest-agent | before 20250327.01-1.1 | 20250327.01-1.1 |
| openSUSE:Tumbleweed | gopass | before 1.15.16-1.1 | 1.15.16-1.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20241213T205935-1.1 | 0.0.20241213T205935-1.1 |
| openSUSE:Tumbleweed | grafana | before 11.3.0-4.1 | 11.3.0-4.1 |
| openSUSE:Tumbleweed | helm | before 3.16.4-1.1 | 3.16.4-1.1 |
| openSUSE:Tumbleweed | helm3 | before 3.19.2-1.1 | 3.19.2-1.1 |
| openSUSE:Tumbleweed | loki | before 3.3.2-1.1 | 3.3.2-1.1 |
| openSUSE:Tumbleweed | minikube | before 1.36.0-2.1 | 1.36.0-2.1 |
| openSUSE:Tumbleweed | rclone | before 1.69.0-1.1 | 1.69.0-1.1 |
| openSUSE:Tumbleweed | rime-plum-go | before 1.0.3-1.1 | 1.0.3-1.1 |
+59
Same product
Other highest-scoring records for the same primary product.
- CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| golang.org/x/crypto golang.org/x/crypto/ssh | 0.31.0 | Vendor (CNA) |
| azl3 cert-manager 1.12.13-2 on Azure Linux 3.0 | 1.12.13-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 cf-cli 8.7.11-3 on Azure Linux 3.0 | 8.7.3-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 cf-cli 8.7.3-4 on Azure Linux 3.0 | 8.7.3-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 docker-buildx 0.14.0-2 on Azure Linux 3.0 | 0.14.0-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 docker-buildx 0.14.0-5 on Azure Linux 3.0 | 0.14.0-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 docker-compose 2.27.0-2 on Azure Linux 3.0 | 2.27.0-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 docker-compose 2.27.0-5 on Azure Linux 3.0 | 2.27.0-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 gh 2.62.0-3 on Azure Linux 3.0 | 2.62.0-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 gh 2.62.0-8 on Azure Linux 3.0 | 2.62.0-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kubevirt 1.2.0-11 on Azure Linux 3.0 | 1.2.0-11 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kubevirt 1.2.0-17 on Azure Linux 3.0 | 1.2.0-11 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 moby-engine 25.0.3-13 on Azure Linux 3.0 | 25.0.3-9 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 moby-engine 25.0.3-9 on Azure Linux 3.0 | 25.0.3-9 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 packer 1.9.5-4 on Azure Linux 3.0 | 1.9.5-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 packer 1.9.5-6 on Azure Linux 3.0 | 1.9.5-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 telegraf 1.31.0-10 on Azure Linux 3.0 | 1.31.0-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 telegraf 1.31.0-3 on Azure Linux 3.0 | 1.31.0-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cert-manager 1.11.2-16 on CBL Mariner 2.0 | 1.11.2-16 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cert-manager 1.11.2-22 on CBL Mariner 2.0 | 1.11.2-16 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cert-manager 1.11.2-22 on CBL-Mariner 2.0 | 1.11.2-16 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-compose 2.17.3-10 on CBL Mariner 2.0 | 2.17.3-9 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-compose 2.17.3-10 on CBL-Mariner 2.0 | 2.17.3-9 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-compose 2.17.3-9 on CBL Mariner 2.0 | 2.17.3-9 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-engine 24.0.9-12 on CBL Mariner 2.0 | 24.0.9-12 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-engine 24.0.9-16 on CBL Mariner 2.0 | 24.0.9-12 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-engine 24.0.9-16 on CBL-Mariner 2.0 | 24.0.9-12 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 packer 1.9.5-5 on CBL Mariner 2.0 | 1.9.5-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 packer 1.9.5-5 on CBL-Mariner 2.0 | 1.9.5-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 telegraf 1.29.4-10 on CBL Mariner 2.0 | 1.29.4-10 · CBL-Mariner Releases | Microsoft (MSRC) |
+27
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×4
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:6 | 2024-12-17 |
| Proof-of-concept repository on GitHub | stars:1 | 2024-12-17 |
| Proof-of-concept repository on GitHub | stars:1 | 2025-01-24 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-04-13 |
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.
- Published
- First PoC+5 d
- TodayOct 19, 2026+676 d
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.
Credits
All researchersFinders, 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.
No nightly-computed relations.
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.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-1108 · Excessive Reliance on Global VariablesCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.