Skip to content
Path traversal Advisory Intermediate CVE-2025-12490

Netgate pfSense CE Suricata Path Traversal Remote Code Execution Vulnerability

The Suricata package on pfSense does not properly validate a user-supplied path before using it in file operations. An authenticated attacker could create arbitrary files as root, which may lead to remote code execution.

Alex Williams Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to create arbitrary files on affected installations of Netgate pfSense. Authentication is required to exploit this vulnerability.

Alex Williams from Pellera Technologies, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated attacker could create arbitrary files as root, potentially leading to remote code execution.

What the attacker needed

Authentication required

The fix

The vulnerability was fixed by the vendor in an update.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A path traversal flaw lets someone trick a program into writing files outside the folder it should use, by supplying a path with special characters. Here, a logged-in user could make the firewall's Suricata package create files anywhere on the system with the highest privileges, which can be turned into running their own code.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Alex Williams

View all

5 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.