CVE-2025-12490 Netgate pfSense CE Suricata Path Traversal Remote Code Execution Vulnerability

High 8.8 Published Updated

Remote authenticated attackers can exploit a path traversal flaw in Suricata to create arbitrary files as root, leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12490?

CVE-2025-12490 is a high-severity path traversal vulnerability in Netgate pfSense, published on 6 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Netgate pfSense CE Suricata Path Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to create arbitrary files on affected installations of Netgate pfSense. Authentication is required to exploit this vulnerability.

The specific flaw exists within the Suricata package. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to create files in the context of root. Was ZDI-CAN-28085.

Weakness: CWE-22

Which versions are affected by CVE-2025-12490?

How do I fix CVE-2025-12490?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-12490 being exploited?

There is no known exploitation of CVE-2025-12490 in the wild and no public exploit code.

Sources

Also known as GHSA-7x36-v2p9-4w5j.

Is CVE-2025-12490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free