Back to Intelligence

CVE-2026-17145: Critical IBM AIX & PowerVM VIOS RCE (CVSS 9.8) — Detection and Remediation Guide

SA
Security Arsenal Team
August 21, 2026
13 min read

A CVSS 9.8 critical vulnerability tracked as CVE-2026-17145 has been published to the NVD, affecting IBM AIX 7.2, IBM AIX 7.3, and IBM PowerVM Virtual I/O Server (VIOS) 4.1. The flaw — rooted in improper privilege management — is remotely exploitable over the network and can allow an unauthenticated attacker to execute arbitrary code on affected systems. For organizations running IBM Power infrastructure, this is not a routine patch advisory: VIOS sits at the heart of LPAR virtualization, brokering storage and network I/O for every logical partition on the frame. Compromise of a VIOS partition is effectively compromise of the virtualization layer itself.

Defenders running AIX estates, VIOS-managed Power frames, or hybrid environments where AIX hosts handle core banking, ERP, healthcare, or telecom workloads should treat this as a priority-one remediation item.


What Happened

Per the NVD entry (CVE-2026-17145), the vulnerability carries a CVSS v3.1 base score of 9.8 (CRITICAL) with a network attack vector — meaning no local access, no user interaction, and low attack complexity are implied by that score class. The root cause is categorized as improper privilege management: a component of the operating environment fails to correctly enforce privilege boundaries, allowing a remote attacker to escalate into arbitrary code execution in a privileged context.

The affected scope is significant:

  • IBM AIX 7.2 — still broadly deployed in production estates
  • IBM AIX 7.3 — the current release train
  • IBM PowerVM VIOS 4.1 — the virtualization I/O layer for Power Systems

VIOS exposure is the scenario that keeps me up at night. A VIOS partition typically has direct visibility into client LPAR network traffic (via Shared Ethernet Adapters) and storage (via NPIV/vSCSI). An attacker with code execution on VIOS can pivot laterally into every hosted LPAR, intercept or tamper with I/O, and establish persistence below the layer most security tooling ever inspects.


Technical Analysis

Affected Products and Versions

ProductAffected VersionsRole
IBM AIX7.2, 7.3General-purpose UNIX OS on Power
IBM PowerVM VIOS4.1Virtual I/O Server (restricted ioscli shell, padmin context)

Vulnerability Class

The CVE describes improper privilege management (CWE-269 family). In practical defensive terms, this class of flaw in AIX/VIOS historically manifests through one of these pathways:

  1. A setuid or privileged system command/binary that trusts input or environment in a way a remote-reachable service can influence.
  2. A network-facing daemon or management service (e.g., VIOS management interfaces, remote shell services, or AIX system services) that invokes privileged operations without adequate authorization checks.
  3. A configuration or RBAC weakness in the VIOS padmin/ioscli restricted shell model, where a network-reachable interface can break out of the intended command boundary.

Because the score is 9.8 with a network vector, assume the worst-case interpretation: a remote, unauthenticated attacker can reach a listening service on the target and obtain privileged code execution. Until IBM's APAR documentation clarifies the exact component, defenders should model exposure as any network-reachable service on AIX 7.2/7.3 or VIOS 4.1 being a potential entry point.

Exploitation Status

At the time of publication:

  • The CVE is newly published to NVD; monitor the entry for CPE enrichment and reference updates.
  • Check CISA KEV daily — AIX/VIOS flaws with network RCE characteristics are prime candidates for rapid KEV addition given the value of Power infrastructure to nation-state and ransomware actors targeting finance and telecom.
  • No public PoC has been confirmed in the initial disclosure, but CVSS 9.8 network-RCE flaws in infrastructure platforms historically see weaponization within days-to-weeks of disclosure. Do not wait for a PoC to act.

Why VIOS Is the Crown Jewel

A quick architectural reminder for SOC teams less familiar with Power:

  • VIOS owns the physical adapters; client LPARs (which often run the actual business workloads — AIX, IBM i, Linux) route I/O through it.
  • The default privileged management user is padmin, operating in a restricted ioscli shell — but the VIOS itself runs as root-backed AIX under the hood (accessible via oem_setup_env).
  • Code execution on VIOS = control of virtual SCSI mappings, shared Ethernet, and Live Partition Mobility traffic. This is a hypervisor-adjacent compromise.

Detection & Response

Detection engineering for AIX/VIOS is chronically underserved — most estates forward little more than syslog auth logs, if that. The detections below target the post-exploitation behaviors we can actually observe: unexpected process execution in the VIOS restricted shell, privilege escalation artifacts, and anomalous inbound connections to VIOS management services.

Sigma Rules

These rules assume AIX/VIOS syslog is forwarded to your SIEM and normalized (e.g., via a generic Unix process-audit pipeline or auditd-equivalent logging). If your AIX estate is not shipping process execution telemetry, fixing that is step zero.

YAML
---
title: VIOS Restricted Shell Breakout Attempt or OEM Root Shell Invocation
id: 9c1e7a42-3d58-4b6f-a210-8f5d2c7e91ab
status: experimental
description: Detects invocation of oem_setup_env or direct root shell access on PowerVM VIOS, which may indicate restricted-shell escape following exploitation of CVE-2026-17145.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-17145
  - https://attack.mitre.org/techniques/T1068/
author: Security Arsenal
date: 2026/01/15
tags:
  - attack.privilege_escalation
  - attack.t1068
logsource:
  product: linux
  category: process_creation
detection:
  selection_cmd:
    CommandLine|contains:
      - 'oem_setup_env'
      - '/usr/ios/cli/ioscli '
      - 'rksh -c'
  selection_shell:
    Image|endswith:
      - '/ksh'
      - '/bash'
      - '/sh'
    ParentImage|contains:
      - 'sshd'
      - 'ioscli'
  condition: 1 of selection_*
falsepositives:
  - Legitimate VIOS administration via padmin running oem_setup_env for patching
level: high
---
title: AIX Unexpected Setuid Execution From Network Service Context
id: 2f8b4d19-6a3e-4c7d-b915-4e6a0d3f82c7
status: experimental
description: Detects privileged or setuid binaries spawned by network-facing daemons on AIX, consistent with post-exploitation of an improper privilege management flaw such as CVE-2026-17145.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-17145
  - https://attack.mitre.org/techniques/T1548/
author: Security Arsenal
date: 2026/01/15
tags:
  - attack.privilege_escalation
  - attack.t1548.001
  - attack.execution
logsource:
  product: linux
  category: process_creation
detection:
  selection_parent:
    ParentImage|endswith:
      - '/sshd'
      - '/inetd'
      - '/xinetd'
      - '/rmcd'
      - '/ctcasd'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/ksh'
      - '/bash'
      - '/perl'
      - '/python'
      - '/wget'
      - '/curl'
      - '/nc'
  condition: all of selection_*
falsepositives:
  - Automation frameworks (Ansible, BigFix) executing remote commands over SSH
  - HMC-initiated management tasks
level: high
---
title: Inbound Connection to VIOS Management Services From Untrusted Source
id: 5d7c2e81-9f4a-4b38-a1e6-7b3d9f05e248
status: experimental
description: Detects network connections to VIOS/AIX management ports from hosts outside the approved management segment, indicating potential exploitation attempts against CVE-2026-17145.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-17145
  - https://attack.mitre.org/techniques/T1190/
author: Security Arsenal
date: 2026/01/15
tags:
  - attack.initial_access
  - attack.t1190
logsource:
  category: network_connection
  product: linux
detection:
  selection_port:
    DestinationPort:
      - 22
      - 657
      - 5988
      - 5989
      - 443
  selection_host:
    Hostname|contains:
      - 'vios'
      - '-vio'
  condition: all of selection_*
falsepositives:
  - HMC and approved jump hosts — maintain an allowlist and suppress known-good source ranges
level: medium

KQL — Microsoft Sentinel / Defender

This hunt assumes AIX/VIOS syslog and firewall/CEF data are ingested into Sentinel. It correlates inbound connections to VIOS hosts with subsequent suspicious authentication or command activity — the exploitation-to-execution chain you'd expect from a network RCE.

KQL — Microsoft Sentinel / Defender
// Hunt: Suspicious inbound activity to VIOS/AIX hosts followed by auth anomalies
// CVE-2026-17145 - improper privilege management, network RCE
let ViosHosts = dynamic(["vios", "-vio", "aix"]);
let Lookback = 14d;
let InboundHits =
    CommonSecurityLog
    | where TimeGenerated > ago(Lookback)
    | where DestinationHostName has_any (ViosHosts) or DeviceName has_any (ViosHosts)
    | where DestinationPort in (22, 657, 5988, 5989, 443)
    | where DeviceAction !in ("deny", "drop", "blocked")
    | summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), ConnCount=count()
        by SourceIP, DestinationIP, DestinationPort;
let AuthAnomalies =
    Syslog
    | where TimeGenerated > ago(Lookback)
    | where Computer has_any (ViosHosts)
    | where SyslogMessage has_any ("padmin", "oem_setup_env", "Accepted password", "session opened for user root", "su:")
    | project TimeGenerated, Computer, SyslogMessage, ProcessName;
InboundHits
| join kind=inner (AuthAnomalies) on $left.DestinationIP == $right.Computer
| project FirstSeen, SourceIP, DestinationIP, DestinationPort, TimeGenerated, Computer, ProcessName, SyslogMessage
| order by FirstSeen desc

If your AIX estate forwards audit events via auditpr or a syslog shim, adapt the second leg to match your facility/severity formatting. The join on source-to-dest correlation is the key analytic — a burst of inbound management-port connections tightly followed by root or padmin session activity is a strong compromise signal.

Velociraptor VQL

For VIOS/AIX endpoints enrolled in Velociraptor (or via offline triage collection), this artifact hunts for the artifacts a privilege-management exploit would leave: recently created setuid binaries, unexpected root shells, and listening services that shouldn't exist.

VQL — Velociraptor
-- CVE-2026-17145 Triage: hunt for post-exploitation artifacts on AIX/VIOS
-- 1) Suspicious processes: root shells spawned by network daemons or unexpected interpreters
SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE (Username =~ 'root|padmin'
   AND (Name =~ 'ksh|bash|sh|perl|python|nc|wget|curl'
        OR CommandLine =~ 'oem_setup_env|ioscli|/tmp/|/var/tmp/'))

-- 2) Newly modified setuid/setgid binaries in the last 14 days (tamper indicator)
SELECT FullPath, Size, Mtime, Mode.String AS Mode
FROM glob(globs=['/usr/bin/**', '/usr/sbin/**', '/usr/ios/cli/**'])
WHERE Mode.String =~ 's'
  AND Mtime > (now() - 1209600)
ORDER BY Mtime DESC

-- 3) Unexpected listeners on management/service ports
SELECT Pid, Name, LocalAddress, LocalPort, RemoteAddress, Status
FROM netstat()
WHERE Status =~ 'LISTEN'
  AND LocalPort in (22, 657, 5988, 5989, 443, 23, 512, 513, 514)

The setuid glob is the highest-signal check here: an improper-privilege-management exploit that achieves persistence will often plant or modify a setuid binary. Baseline your VIOS setuid inventory now, before you need it.

Remediation & Verification Script

Use this Bash script (run as root on AIX/VIOS via oem_setup_env context) to inventory exposure, apply emergency hardening, and prepare for patch verification. It does not apply the IBM fix — that requires the APAR/iFix from IBM Fix Central — but it validates preconditions and locks down the attack surface in the interim.

Bash / Shell
#!/usr/bin/ksh
# CVE-2026-17145 exposure assessment & interim hardening for AIX 7.2/7.3 and VIOS 4.1
# Run as root. Review before executing in production.

echo "=== [1] Platform identification ==="
oslevel -s
uname -a
# On VIOS, confirm version:
# ioslevel (run from padmin shell: ioslevel)

echo "=== [2] Inventory listening network services (attack surface) ==="
netstat -an | grep LISTEN
# Map listeners to processes where possible:
for port in $(netstat -an | awk '/LISTEN/ {print $4}' | awk -F. '{print $NF}' | sort -un); do
  pid=$(rmsock $(netstat -Aan | awk "/\.$port / {print \$1}" | head -1) tcpcb 2>/dev/null | awk '{print $NF}')
  [ -n "$pid" ] && echo "Port $port -> PID $pid -> $(ps -p $pid -o comm= 2>/dev/null)"
done

echo "=== [3] Disable unnecessary remote services (interim exposure reduction) ==="
# rsh/rlogin/rexec are common culprits in improper-privilege flaws — kill them if present
for svc in rshd rlogind rexecd telnetd; do
  chrctcp -d $svc 2>/dev/null && echo "[HARDENED] disabled $svc"
  stopsrc -s $svc 2>/dev/null
done
# Refresh inetd after subsystem changes
refresh -s inetd 2>/dev/null

echo "=== [4] Baseline setuid/setgid inventory for tamper detection ==="
find /usr/bin /usr/sbin /usr/ios/cli -perm -4000 -type f 2>/dev/null | sort > /var/adm/setuid_baseline_$(date +%Y%m%d).txt
echo "Baseline written to /var/adm/setuid_baseline_$(date +%Y%m%d).txt — copy off-host"

echo "=== [5] Verify padmin/VIOS restricted shell integrity ==="
# Confirm no unauthorized users hold padmin-like roles
lsuser -a roles ALL 2>/dev/null | grep -i padmin
# Audit recent root/padmin session activity
last | head -30

echo "=== [6] Enable/verify AIX auditing for privilege events ==="
# Ensure audit subsystem captures FILE_Suid, PROC_Execute, USER_SU
/usr/sbin/audit query 2>/dev/null || echo "[ACTION] AIX auditing not active — enable: audit start"

echo "=== [7] Check for IBM fix availability ==="
echo "Check installed interim fixes:"
emgr -l 2>/dev/null
echo "Download the CVE-2026-17145 iFix/APAR from IBM Fix Central:"
echo "  https://www.ibm.com/support/fixcentral"
echo "Apply via: emgr -e <ifix.epkg.Z>  (AIX) or updateios (VIOS)"

echo "=== [8] Network segmentation check ==="
echo "Verify management interfaces are NOT reachable from user/server VLANs."
echo "Expected: VIOS mgmt reachable only from HMC + jump hosts. Validate with your firewall team."

After applying the IBM fix, re-run sections 1–2 to confirm service state, then run emgr -l to document the installed iFix for audit evidence.


Remediation

1. Patch Immediately

  • Obtain the official fix from IBM Fix Central (https://www.ibm.com/support/fixcentral) — search for CVE-2026-17145 to retrieve the associated APAR/interim fix for your exact Technology Level (AIX 7.2 TL/SP, AIX 7.3 TL/SP) or VIOS 4.1 fix pack level.
  • Apply via emgr (AIX) or updateios (VIOS). For VIOS, use the standard updateios -dev <media> workflow and plan the required reboot of the VIOS partition — coordinate with LPAR owners since storage/network redundancy depends on dual-VIOS configurations.
  • Dual-VIOS environments: patch one VIOS at a time to maintain I/O redundancy for client LPARs. Verify SEA failover and MPIO path health before and after each update.

2. Verify Version and Exposure

  • Confirm your exact levels: oslevel -s (AIX) and ioslevel (VIOS, from padmin shell).
  • Cross-reference against the IBM security bulletin once published — IBM bulletins list exact vulnerable filesets and fixed levels. Subscribe to IBM's security bulletin feed and My Notifications for AIX/VIOS.

3. Interim Workarounds (No Patch Yet?)

If the iFix cannot be deployed immediately:

  • Network segmentation is your primary compensating control. VIOS and AIX management interfaces (SSH, HMC-facing ports, CIM/WBEM 5988/5989) must be reachable only from the HMC and hardened jump hosts. If you cannot enumerate every path to these hosts, that's the gap to close first.
  • Disable legacy remote services: rshd, rlogind, rexecd, telnetd. There is almost no defensible reason for these on a production AIX/VIOS box in 2026.
  • Restrict SSH to key-based auth from defined source ranges via /etc/ssh/sshd_config Match Address blocks or TCP wrappers, and confirm PermitRootLogin no.
  • Enable AIX auditing (audit start with appropriate event classes) and ship logs off-host — if you get popped, you'll need this telemetry for forensics.

4. Hunt Before and After Patching

  • CVSS 9.8 network-RCE flaws in infrastructure platforms attract fast exploitation. Run the KQL hunt and VQL triage above against at least the last 30 days of telemetry — patching closes the door but doesn't tell you whether someone already walked through it.
  • Indicators of post-exploitation to prioritize: new setuid binaries, unexpected padmin or root sessions, outbound connections from VIOS to non-management destinations, and any processes running from /tmp or /var/tmp.

5. Ongoing Monitoring

  • Add VIOS/AIX hosts to your EDR/SIEM coverage explicitly. Too many Power estates are telemetry black holes — treat this CVE as the forcing function to fix that.
  • Track the NVD entry and CISA KEV catalog; if CVE-2026-17145 lands in KEV, federal remediation deadlines will apply and exploitation will be confirmed in the wild.

Bottom Line

CVE-2026-17145 is a worst-case-profile vulnerability: critical severity, network-exploitable, arbitrary code execution, on the platforms that underpin enterprise Power workloads. VIOS compromise in particular is a virtualization-layer event with blast radius across every hosted LPAR. Patch from IBM Fix Central, segment management interfaces now, and hunt for pre-patch compromise — the absence of a public PoC today is not a reason to wait.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.