CVE-2026-57155: Authenticated Path Traversal and Root Code Execution in OPNsense GeoIP Importer
CVE-2026-57155 is a path traversal vulnerability in the Firewall Alias GeoIP importer in OPNsense versions before 26.1.11. The process_zip() and process_gzip() processing paths use an unvalidated CSV country_code value to construct output filenames. An authenticated user with Firewall Alias Edit privileges can configure an attacker-controlled GeoIP source and supply an archive containing traversal sequences, causing attacker-controlled content to be written as root outside the intended GeoIP alias directory. Writes require an existing destination directory and produce filenames with an -IPv4 or -IPv6 suffix. A crafted newsyslog configuration fragment and oversized log file can turn this write capability into root command execution through the default hourly root cron job.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits privilege escalation from an account with Firewall Alias Edit privileges to root, resulting in complete firewall compromise. An attacker can compromise the confidentiality and integrity of appliance configuration and accessible data, alter firewall and routing behavior, and disrupt network services.
Mitigation
If you can’t patch tonight, do this now.
Until the update is applied, restrict Firewall Alias Edit privileges to fully trusted administrators and prevent untrusted users from changing GeoIP source settings. Restrict access to management interfaces and the Web API to trusted administrative networks. Avoid importing GeoIP archives from untrusted sources. These measures reduce exposure but do not correct the vulnerable importer.
Remediation
Patch, then assume compromise.
Upgrade OPNsense to version 26.1.11 or a later fixed release.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2026-57155 exploited in the wild?
- As of Oct 17, 2026, Mallory has no reports of CVE-2026-57155 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-57155?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-57155, the earliest disclosed Jul 16, 2026.
- Is there a patch for CVE-2026-57155?
- Upgrade OPNsense to version 26.1.11 or a later fixed release.
- How severe is CVE-2026-57155?
- CVE-2026-57155 has a CVSS v3.1 score of 9.9 (Critical) and an EPSS score of 0.86% (59th percentile) as of Oct 17, 2026.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.