What is CVE-2026-123158?

OpenBSD OpenSSH on Linux contains an unexpected status code or return value vulnerability that could allow for authentication bypass.

CISA added this issue to its exploited-vulnerability catalog on 2026-11-09. This is the catalog date, not this article’s publication date.

Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2026-123158 — NVD, CVE-2026-123158 — CVE Program record

First, confirm where the vulnerable product is running

CVE-2026-123158 affects OpenSSH on Linux when built against musl libc without PAM (e.g., Alpine Linux). The bug misinterprets a password-hash check, allowing any 256–1024 character password to succeed for certain accounts. Only this specific musl/no-PAM combination is affected; glibc-based distros and PAM-enabled builds are not. Fixed in upstream OpenSSH 10.6p2. Remediation requires a vendor-supported OpenSSH package update on each affected Linux host or container image; managed SSH services are not implicated by the sources.

The named vulnerable product is OpenBSD OpenSSH. Deployment on a cloud platform does not by itself establish that a managed AWS, Azure or GCP service is vulnerable. Confirm the product, version, vendor-supported deployment and remediation owner.

Vendor remediation comes first

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Use the current vendor advisory for affected versions and fixed builds. This catalog entry does not establish a universal fixed version or a cloud-specific hotfix.

Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2026-123158 — NVD

AWS: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Inventory EC2 instances and EKS/ECS nodes running Alpine or other musl-based Linux; check OpenSSH version and PAM status via the package manager and sshd configuration.
  2. If using customer-managed AMIs or launch templates, rebuild them with the distro's patched OpenSSH package and redeploy.
  3. For SSM-managed nodes, ensure Patch Manager is configured against the distro's security repository; verify the patched package is applied after the maintenance window.
  4. No action needed for AWS Transfer Family, IAM, or other managed SSH endpoints—the advisory does not list them as affected.

Sources: AWS Systems Manager Patch Manager

Azure: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. List Azure VMs and Arc-enabled servers running musl libc without PAM (common on Alpine-based images); confirm OpenSSH version and PAM configuration.
  2. For customer-managed VM scale sets or custom images, update the image with the distribution's fixed OpenSSH package and roll out.
  3. Use Azure Update Manager to assess and deploy the distro security update on eligible Linux VMs; verify post-patch compliance in Update Manager.
  4. Azure managed services (e.g., Azure App Service, AKS managed nodes) are not identified as affected in the advisory.

Sources: Azure Update Manager overview

GCP: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Identify Compute Engine VMs and GKE nodes using Alpine or other musl/no-PAM Linux; run sshd configuration check and verify OpenSSH version.
  2. For custom OS images or customer-managed instance templates, rebuild with the vendor's patched OpenSSH package and redeploy.
  3. If using VM Manager Patch, ensure the OS Config agent can reach the distro security repo and that the patched package installs successfully.
  4. No evidence that Cloud Run, Cloud Functions, or managed SSH services are affected.

Sources: Google Cloud VM Manager — About Patch

How to verify the fix

  1. Run sshd configuration check on each Linux host; PAM should be enabled or the host must be on a patched OpenSSH version per the distribution's security release.
  2. Query package manager (apk, apt, dnf, etc.) to confirm installed OpenSSH package version is at or above the distro's security release for the fix.
  3. Attempt a password login with a long-character password on a test account; it must be rejected.
  4. Review auth logs for unexpected successful logins before the patch was applied.

Questions teams ask

Is my glibc-based distribution (Ubuntu, Debian, RHEL, Amazon Linux) affected?

No. The vulnerability only manifests when OpenSSH is built against musl libc without PAM. Glibc-based distributions are not affected per the advisory.

How do I know if my Alpine Linux container image is vulnerable?

Check the OpenSSH package version in the image (apk info openssh or ssh -V). Versions before the Alpine security update for the fix are vulnerable if PAM is disabled. Rebuild the image with the patched package.

Does enabling PAM on Alpine mitigate the issue without upgrading?

The advisory describes the bug as occurring when PAM is not used. Enabling PAM may avoid the vulnerable code path, but the supported remediation is upgrading to the patched OpenSSH version. Test PAM configuration thoroughly before relying on it.

What is the fixed OpenSSH version for my distribution?

Fixed versions are not established by the supplied structured catalog entry. Verify in the linked vendor advisory or your distribution's security tracker (e.g., Alpine Linux security announcements).

Sources & further reading

This brief summarizes public source material. Confirm affected versions and the current vendor instructions before changing production. No original exploit validation is claimed.