# CVE-2026-56854: Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-28T14:47:45.000Z
- Modified: 2026-09-03T16:37:52.170Z
- Also known as: GO-2026-6303
- Related: CGA-gppf-q4hh-4rj4
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## Description

The source-address critical option in the Permissions returned by an authentication callback was only enforced for the PublicKeyCallback and VerifiedPublicKeyCallback paths, extending the fix for CVE-2026-46595. Permissions returned by the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks were not validated against the client's remote address, so a source-address restriction set by those callbacks was silently ignored. The check is now applied to the Permissions returned by any authentication callback.

(As written by CVE List.)

## Affected

- golang.org/x/crypto/ssh: before 0.55.0
- golang.org/x/crypto (Go): before 0.55.0

## References

- <https://go.dev/issue/80213> (report)
- <https://go.dev/cl/797040> (fix)
- <https://pkg.go.dev/vuln/GO-2026-6303>

## Sources

- CVE List: [CVE-2026-56854](https://www.cve.org/CVERecord?id=CVE-2026-56854), CVE Terms of Use, modified 2026-08-28
- Go Vulnerability Database: [GO-2026-6303](https://pkg.go.dev/vuln/GO-2026-6303), CC-BY-4.0, modified 2026-08-29
- NVD: [CVE-2026-56854](https://nvd.nist.gov/vuln/detail/CVE-2026-56854), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-56854 · Whole record: https://cve.day/CVE-2026-56854.json · Rebuilt by cve.day 2026-11-25T22:59:35.651Z
