# CVE-2025-53392: Path traversal in pfSense

> Privileged users can read arbitrary files via directory traversal in pfSense diagnostics, though vendor claims this is intended behavior.

- **Severity:** Medium 5.0 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 28 Jun 2025
- **Updated:** 30 Jun 2025
- **Also known as:** GHSA-7hr6-mvjp-x5qv

## What is CVE-2025-53392?

CVE-2025-53392 is a medium-severity path traversal vulnerability in Netgate pfSense, published on 28 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

In Netgate pfSense CE 2.8.0, the "WebCfg - Diagnostics: Command" privilege allows reading arbitrary files via diag_command.php dlPath directory traversal. NOTE: the Supplier's perspective is that this is intended behavior for this privilege level, and that system administrators are informed through both the product documentation and UI.

Weakness: CWE-36 (Absolute Path Traversal)

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

It affects 1 product.


Products: Pfsense Pfsense.

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

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

## Is CVE-2025-53392 being exploited?

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

Public exploit code:

- Authenticated Arbitrary File Read in pfSense 2.8.0 via Diagnostics Web Interface (CVE-2025-53392) (github_poc): https://github.com/skraft9/pfsense-security-research

## Other vulnerabilities in Netgate pfSense

- [CVE-2025-69691](https://insights.sbomify.com/CVE-2025-69691/): Code injection in n/a (critical 9.9)
- [CVE-2023-29974](https://insights.sbomify.com/CVE-2023-29974/): Weak cryptography in n/a (critical 9.8)
- [CVE-2025-69690](https://insights.sbomify.com/CVE-2025-69690/): Deserialization in n/a (critical 9.1)
- [CVE-2021-41282](https://insights.sbomify.com/CVE-2021-41282/): Code injection in n/a (high 8.8)
- [CVE-2016-10709](https://insights.sbomify.com/CVE-2016-10709/): Command injection in n/a (high 8.8)

## Fix prompt for AI coding agents

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

What it is: CVE-2025-53392 is a medium-severity path traversal vulnerability in Netgate pfSense, published on 28 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53392 exists.

Affected product: Netgate pfSense. 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-53392/ (Markdown: https://insights.sbomify.com/CVE-2025-53392/index.md)
```

## Sources

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

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