CVE-2026-57155opnsense core
Command Injection in OPNsense Core GeoIP Importer
Critical 9.9
Follow: this CVE · opnsense · opnsense core We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 9.9
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 15, 2026
- Updated
- Oct 15, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
OPNsense Core prior to version 26.1.11 contains a directory traversal vulnerability in the Firewall Alias GeoIP importer. A user with Firewall Alias Edit privilege can configure an attacker-controlled GeoIP source URL and write malicious content as root, enabling command execution through newsyslog fragments and completely compromising the firewall.
Show the original NVD text
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the Firewall Alias GeoIP importer's process_zip() and process_gzip() paths in src/opnsense/scripts/filter/lib/alias/geoip.py use an unvalidated CSV country_code value to construct output filenames below /usr/local/share/GeoIP/alias. A user with Firewall Alias Edit privilege can configure an attacker-controlled GeoIP source URL and supply an archive whose country code traverses into another existing directory, causing attacker-controlled content to be written as root with an -IPv4 or -IPv6 suffix. A crafted newsyslog fragment and oversized log file can use the default hourly root cron job to execute commands as root, resulting in complete firewall compromise. This issue is fixed in version 26.1.11.
What to do
Patch available · fixed versions: 26.1.11
Update OPNsense Core to version 26.1.11 or later to apply the security patch.
- Apply the vendor's security update for core.
Affected products
- opnsense · core
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.