CVE-2026-118966 — Nokia SR Linux (24.10.9) — CWE-306
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker with adjacent network access to execute arbitrary system commands on the affected device. This issue affects SR Linux versions earlier than 24.10.9, 25.10.7 and 26.10.1 running on 7215 IXS, 7220 IXR and 7250 IXR hardware platforms.
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker with adjacent network access to execute arbitrary system commands on the affected device. This issue affects SR Linux versions earlier than 24.10.9, 25.10.7 and 26.10.1 running on 7215 IXS, 7220 IXR and 7250 IXR hardware platforms.
🎯 What is this vulnerability?
This vulnerability is a Missing Authentication for Critical Function (CWE-306) in the SSH server implementation of Nokia SR Linux.
Technical Flaw Analysis:
The core issue lies in the access control logic of the SSH daemon (sshd) or a specific subsystem interface exposed via SSH. Typically, SSH servers enforce strict authentication (password, public key, or certificate) before establishing a session. In this specific flaw, a specific code path, command handler, or API endpoint within the SSH service fails to verify the identity of the connecting user before executing privileged operations.
Because the CVSS vector specifies PR:N (No Privileges Required) and AV:A (Adjacent Network), the flaw allows an unauthenticated entity to trigger arbitrary system command execution. This suggests that either:
1. A specific SSH subsystem (e.g., a custom Subsystem directive in sshd_config) is bound to a port or channel that bypasses the standard authentication handshake.
2. There is a logic error in the SSH server where a specific packet type or command string is processed by the shell executor before the authentication state is fully validated.
3. A local socket or loopback interface accessible from the adjacent network (e.g., via a misconfigured bridge or VLAN) exposes an unauthenticated management interface that is incorrectly mapped to the SSH service's command execution backend.
The impact is Arbitrary System Command Execution (RCE) with root privileges, as SR Linux typically runs management processes as root.
⚡ Attack Chain
1. Discovery & Reconnaissance
- Target Identification: The attacker scans the adjacent network (same L2 segment or directly connected L3 interface) for devices running Nokia SR Linux.
- Version Fingerprinting: * Banner Grabbing: Connect to port 22 and capture the SSH banner. While SR Linux may not explicitly print the version in the banner, the attacker can attempt to connect and observe error messages or use
- Mechanism: The attacker initiates an SSH connection to the target. Due to the missing authentication check, the server accepts the session or processes a specific command without requiring valid credentials. Illustrative PoC: Note: The exact payload structure (e.g., specific SSH packet type or command string) is not publicly disclosed in the CVE description. The following is an illustrative example of how an unauthenticated RCE via SSH might be triggered if a specific command channel is exposed without auth.*
nmap with the ssh2-enum-algos script to identify the SSH library version, which may correlate with specific SR Linux releases.
* SNMP/LLDP: If enabled, use SNMP (sysDescr) or LLDP to identify the device model (7215 IXS, 7220 IXR, 7250 IXR) and potentially the OS version.
* Version Check: Confirm the version is < 24.10.9, < 25.10.7, or < 26.10.1.2. Exploitation
# Illustrative Example: Attempting to execute a command via a potentially vulnerable SSH subsystem
# This assumes a flaw where a specific command is processed before auth.
# In reality, the attacker would need to identify the specific unauthenticated command or channel.
# Using sshpass or a custom script to attempt command execution without credentials
# If the vulnerability allows direct command execution via a specific SSH channel:
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
-o PreferredAuthentications=none \
-o PubkeyAuthentication=no \
-o PasswordAuthentication=no \
-o BatchMode=yes \
-o ConnectTimeout=5 \
user@target_ip "id; whoami; uname -a"* Alternative Scenario (More Likely for CWE-306 in SSH): The vulnerability might be in a specific SSH subsystem (e.g., sftp, scp, or a custom Nokia subsystem) that is configured to allow unauthenticated access for a specific user or group, or a bug in the sshd configuration parsing that allows a "no-auth" user to be created or exploited.
* Realistic Exploit Vector: If the flaw is a missing auth check on a specific command, the attacker might send a crafted SSH packet that triggers the command execution path. For example, if the server incorrectly handles SSH_MSG_CHANNEL_REQUEST for a specific subsystem without checking the authentication state.
3. Post-Exploitation
root./etc/ssh/sshd_config to allow a new public key for a backdoor user.
* Create a new user with UID 0.
* Install a rootkit or modify system binaries.
/etc/frr/, /etc/nokia/).
* Extract credentials from environment variables or configuration files.
* Pivot to other network segments using the compromised device as a jump host.
🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
Exact Affected Versions & Upgrade Recommendation
Actionable Workarounds
1. Network Segmentation: * Restrict access to the SSH port (22) to trusted management networks only. * Use ACLs (Access Control Lists) on upstream switches to block untrusted IPs from reaching the SSH port. * Example ACL (Cisco IOS):access-list 101 deny tcp any host <SR_LINUX_IP> eq 22
access-list 101 permit ip any any
interface GigabitEthernet0/0
ip access-group 101 in2. Disable SSH (If Possible):
* If SSH is not required for management, disable it entirely.
* Use alternative management protocols (e.g., NETCONF, gNMI) with proper authentication.
3. SSH Hardening:
* Restrict SSH access to specific users.
* Disable password authentication and use only public key authentication.
* Limit the number of authentication attempts.
* Example sshd_config:
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
MaxAuthTries 3
AllowUsers admin1 admin24. WAF/IPS Rules:
* Deploy an Intrusion Prevention System (IPS) to detect and block anomalous SSH traffic patterns.
* Look for unauthenticated SSH connections followed by command execution.
Detection: IoCs & Log Patterns
Dec 04 12:00:00 sr-linux sshd[1234]: Accepted publickey for root from 192.168.1.100 port 54321 ssh2: RSA SHA256:...
Dec 04 12:00:01 sr-linux sshd[1234]: pam_unix(sshd:session): session opened for user root by (uid=0)
Dec 04 12:00:02 sr-linux sshd[1234]: Received exec request for command "id; whoami; uname -a"/etc/ssh/sshd_config.
* Monitor for new user accounts or modified public keys.⚠️ Urgency
Patching Priority: CRITICAL
FOFA Query