Back to Intelligence

CVE-2026-115905: openSUSE Tumbleweed openai-codex Update — Verify, Patch, and Hunt Guide

SA
Security Arsenal Team
December 6, 2026
7 min read

openSUSE has published a Tumbleweed update for the openai-codex package that resolves CVE-2026-115905. The public summary is intentionally terse: one vulnerability is fixed and an updated package is available. For defenders, that is enough to act. AI coding assistants sit in a high-trust position on developer workstations and build runners: they read source trees, access credentials and tokens, execute tool calls, and initiate outbound network sessions. Even without a public root-cause write-up, a security update in this class of software warrants same-day triage on exposed endpoints.

Why this matters now

Tumbleweed is a rolling release, so the practical remediation target is not a static minor version; it is the current snapshot containing the fixed openai-codex RPM. Do not wait for a CVSS score to appear in a downstream aggregator before patching developer systems that sync repositories, run CI locally, or hold cloud/API tokens. Treat the update as urgent for workstations, jump boxes, and CI images where openai-codex is installed, and as standard priority elsewhere.

Technical Analysis

Affected product and platform: The advisory named in the source applies to openSUSE Tumbleweed and the openai-codex package. Architectures are those for which Tumbleweed publishes the package; confirm the exact RPM and snapshot on each host with rpm -q openai-codex and zypper info openai-codex.

CVE and scoring: CVE-2026-115905 is the only identifier provided in the news item. No CVSS score, vector, CWE, or fixed RPM version is included in the summary. Do not invent one. Pull the authoritative record from the openSUSE/SUSE advisory and the package changelog after refresh.

Defender view of the risk: The summary does not disclose the vulnerable component or exploitation requirements. The correct response is to instrument the blast radius rather than speculate about a primitive. An AI coding client typically has four high-value observables: the main codex process, child processes it spawns, file writes outside an approved workspace, and outbound connections that are not part of expected model/API traffic. A post-fix compromise would likely look like the CLI or its runtime launching shells, downloaders, archive tools, or network clients, or writing to startup and credential locations.

Exploitation status: The source summary does not state a public PoC, active exploitation, CISA KEV inclusion, or a vendor deadline. Treat exploitation status as unknown and close the window by patching. If the package is present on systems that process untrusted repositories, issues, prompts, or generated code, assume a motivated attacker could attempt to weaponize quickly after patch diffing.

Detection & Response

Use these controls to find suspicious use of the tool after patching and to validate that endpoints are not already compromised. They are scoped to the named binary/process and high-signal child behavior; keep them in monitor mode until your baseline of legitimate codex usage is known.

YAML
---
title: openai-codex Executed From Suspicious Writable Location
id: 8f3a2c71-6b4e-4d9a-9c21-7e5f0a1b2c3d
status: experimental
description: Detects the openai-codex CLI or wrapper executing from temporary or user-writable locations, which is uncommon for a packaged Tumbleweed install and may indicate tampering or a dropped copy.
references:
  - https://linuxsecurity.com/advisories/opensuse/opensuse-openai-codex-2026-115905
  - https://attack.mitre.org/techniques/T1059/
author: Security Arsenal
date: 2026/05/21
tags:
  - attack.execution
  - attack.t1059
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    CommandLine|contains: 'codex'
    Image|startswith:
      - '/tmp/'
      - '/var/tmp/'
      - '/dev/shm/'
      - '/home/'
  condition: selection
falsepositives:
  - Developer-built local builds executed from a home directory during testing
level: medium
---
title: openai-codex Spawning Shell or Network Tooling
id: 2b7d9e14-51c8-4a60-b83d-0f9e2a6c4d51
status: experimental
description: Detects a codex-related parent command line launching interactive shells, downloaders, or socket utilities. This is high-signal for post-exploitation or unsafe tool invocation on developer workstations.
references:
  - https://linuxsecurity.com/advisories/opensuse/opensuse-openai-codex-2026-115905
  - https://attack.mitre.org/techniques/T1059/
  - https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/05/21
tags:
  - attack.execution
  - attack.t1059
  - attack.command_and_control
  - attack.t1105
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentCommandLine|contains: 'codex'
  selection_child:
    CommandLine|contains:
      - 'bash -c'
      - 'sh -c'
      - 'curl '
      - 'wget '
      - 'nc '
      - 'ncat '
      - 'socat '
      - 'python -m http.server'
      - 'base64 -d'
  condition: selection_parent and selection_child
falsepositives:
  - Approved codex workflows that intentionally run shell commands in a repository sandbox
level: high
KQL — Microsoft Sentinel / Defender
// Hunt across Linux Syslog/audit ingestion and Defender for Linux process events for codex-linked execution and egress-like command lines.
let lookback = 7d;
union isfuzzy=true
  (Syslog
   | where TimeGenerated >= ago(lookback)
   | where SyslogMessage has 'codex'
   | where SyslogMessage has_any ('bash -c','sh -c','curl ','wget ','nc ','ncat ','socat ','base64 -d','http://','https://')
   | extend Source='Syslog', Host=HostName, Process=ProcessName, Message=SyslogMessage
   | project TimeGenerated, Source, Host, Process, Message, Computer),
  (DeviceProcessEvents
   | where TimeGenerated >= ago(lookback)
   | where ProcessCommandLine has 'codex' or InitiatingProcessCommandLine has 'codex'
   | where ProcessCommandLine has_any ('bash -c','sh -c','curl ','wget ','nc ','ncat ','socat ','base64 -d') or InitiatingProcessCommandLine has_any ('bash -c','sh -c','curl ','wget ','nc ','ncat ','socat ','base64 -d')
   | extend Source='MDE', Host=DeviceName, Process=FileName, Message=ProcessCommandLine
   | project TimeGenerated, Source, Host, Process, Message, AccountName, InitiatingProcessCommandLine, DeviceId)
| summarize count() by Source, Host, Process, bin(TimeGenerated, 1h)
| order by TimeGenerated desc;
VQL — Velociraptor
-- Linux endpoint hunt: find codex-related processes and pair with socket state for triage.
LET procs = SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime FROM pslist() WHERE CommandLine =~ '(?i)codex' OR Exe =~ '(?i)codex' OR Name =~ '(?i)codex';
SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime FROM procs;

-- Pivot manually or in a notebook: SELECT Pid, Name, LocalAddr, LocalPort, RemoteAddr, RemotePort, State FROM netstat() WHERE Pid in (SELECT Pid FROM procs)
Bash / Shell
#!/usr/bin/env bash
# Patch and verify openSUSE Tumbleweed openai-codex for CVE-2026-115905. Run as root or via sudo.
set -euo pipefail

source /etc/os-release
if [[ "${ID:-}" != "opensuse-tumbleweed" ]]; then
  echo "This host is not openSUSE Tumbleweed: ${PRETTY_NAME:-unknown}" >&2
  exit 2
fi

if ! rpm -q openai-codex >/dev/null 2>&1; then
  echo 'openai-codex is not installed; no package action required.'
  exit 0
fi

echo 'Before:'
rpm -q openai-codex

zypper --non-interactive refresh
zypper --non-interactive update openai-codex
# On Tumbleweed, if dependency state looks stale, use: zypper --non-interactive dup --allow-vendor-change

echo 'After:'
rpm -q openai-codex
zypper info openai-codex | sed -n '1,25p'

if rpm -q --changelog openai-codex 2>/dev/null | grep -qi 'CVE-2026-115905'; then
  echo 'PASS: package changelog references CVE-2026-115905.'
else
  echo 'WARN: changelog reference not visible; verify against the openSUSE/SUSE advisory and current snapshot.'
fi

pgrep -af 'codex' || true
echo 'Restart interactive codex sessions, rebuild CI images, and invalidate cached containers that embed the old RPM.'

Remediation

  1. Patch Tumbleweed hosts that have the package. Run zypper refresh followed by zypper update openai-codex; if the rolling release has moved on, use zypper dup --allow-vendor-change to reach the current snapshot. Do not pin to an older vulnerable RPM while you wait for third-party scoring.
  2. Verify by evidence, not assumption. Capture pre/post RPM versions with rpm -q openai-codex, review zypper info openai-codex, and check rpm -q --changelog openai-codex for CVE-2026-115905. If the changelog is not exposed, confirm against the official openSUSE advisory and SUSE CVE page before closing the ticket.
  3. Rebuild durable images. Update golden images, devcontainers, CI runners, Vagrant boxes, and container layers that bundle Tumbleweed. A patched laptop is irrelevant if the build agent still spawns from a cached vulnerable snapshot.
  4. Reduce standing privilege. Run coding assistants as a non-root user, scope them to a workspace directory, and keep cloud tokens, SSH keys, and signing secrets out of the same environment where possible. Enforce egress filtering from developer VLANs and CI runners so a client-side flaw cannot become silent data staging.
  5. Hunt after closure. Look for the behaviors above during the patch window: codex from writable paths, shell/network child processes, unexpected downloads, and egress to unapproved destinations. Escalate any hit on a system with repository write access or production credentials to IR.
  6. Track authoritative sources. Start at the LinuxSecurity item for awareness, then confirm package facts with openSUSE/SUSE: https://linuxsecurity.com/advisories/opensuse/opensuse-openai-codex-2026-115905 and the linked distribution advisory. Record the fixed snapshot/RPM in your vulnerability system once verified.

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.