CVE-2026-57155
JSON

9.9critical

OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer

Severity
9.9critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.82% (higher than 54% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
opnsense core< 26.1.11CVE List

Classification

CWE-22CWE-73CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57155 changed 2026-10-15CVE Terms of Use
NVDCVE-2026-57155 changed 2026-10-15Public domain