# CVE-2025-0107: Expedition: OS Command Injection Vulnerability

> Unauthenticated attackers can execute arbitrary OS commands in Expedition, leading to disclosure of sensitive firewall credentials and configurations.

- **Severity:** High 7.7 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:H/SI:N/SA:N/AU:N/R:U/V:C/RE:H/U:Green`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 11 Jan 2025
- **Updated:** 24 Jan 2025
- **Also known as:** GHSA-mhj4-9938-5fpw

## What is CVE-2025-0107?

CVE-2025-0107 is a high-severity command injection vulnerability in Palo Alto Networks Cloud NGFW, published on 11 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

An OS command injection vulnerability in Palo Alto Networks Expedition enables an unauthenticated attacker to run arbitrary OS commands as the www-data user in Expedition, which results in the disclosure of usernames, cleartext passwords, device configurations, and device API keys for firewalls running PAN-OS software.

Weakness: CWE-78 (Improper Neutralization of Special Elements used in an OS Command)

## Which versions are affected by CVE-2025-0107?

It affects 1 product.


Products: Paloaltonetworks Expedition.

## How do I fix CVE-2025-0107?

No fix has been published for CVE-2025-0107 yet. Limit exposure of the affected software until one is available.

## Is CVE-2025-0107 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0107 exists.

Public exploit code:

- Palo Alto Networks Expedition - OS Command Injection (nuclei): http/cves/2025/CVE-2025-0107.yaml

## Other vulnerabilities in Palo Alto Networks Cloud NGFW

- [CVE-2024-9463](https://insights.sbomify.com/CVE-2024-9463/): Palo Alto Networks Expedition OS Command Injection (critical 9.9, exploited in the wild)
- [CVE-2024-5910](https://insights.sbomify.com/CVE-2024-5910/): Palo Alto Networks Expedition Missing Authentication (critical 9.3, exploited in the wild)
- [CVE-2024-9465](https://insights.sbomify.com/CVE-2024-9465/): Palo Alto Networks Expedition SQL Injection (critical 9.2, exploited in the wild)
- [CVE-2018-10143](https://insights.sbomify.com/CVE-2018-10143/): Command injection in Palo Alto Networks Expedition (critical 9.8)
- [CVE-2024-9464](https://insights.sbomify.com/CVE-2024-9464/): Expedition: Authenticated OS Command Injection Vulnerability Leads to Firewall Admin Credential Disclosure (critical 9.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-0107 and fix it if it is affected.

What it is: CVE-2025-0107 is a high-severity command injection vulnerability in Palo Alto Networks Cloud NGFW, published on 11 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0107 exists.

Affected product: Palo Alto Networks Cloud NGFW. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-0107/ (Markdown: https://insights.sbomify.com/CVE-2025-0107/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-0107
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-0107
- OSV: https://osv.dev/vulnerability/CVE-2025-0107

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-0107/
Summaries are generated and may contain mistakes; the official description above is the record.
