← Back to search

CVE-2026-57155

9.9 CRITICALpublic exploit available

Published 2026-10-15 · Updated 2026-10-15

AI risk analysis

Summary
A vulnerability in OPNsense's GeoIP importer allows authenticated users with Firewall Alias Edit privileges to craft malicious archive files that can write arbitrary content to system directories with root privileges, potentially leading to complete firewall compromise through command execution via cron jobs.
Exploitability
Moderately difficult to exploit as it requires an authenticated user with Firewall Alias Edit privilege who can configure a custom GeoIP source URL and upload a specially crafted archive file, but the attack path is well-defined and leverages existing system functionality.
Blast radius
High impact in environments where OPNsense firewalls are managed by multiple users or where administrative privileges are shared, as the vulnerability can lead to complete system compromise with root access.
Detection
Monitor for unexpected file creation in /usr/local/share/GeoIP/alias directory with -IPv4 or -IPv6 suffixes, and watch for unusual cron job execution patterns in root's crontab that may indicate command injection via newsyslog configuration.
Prioritized remediation
Upgrade to OPNsense 26.1.11 immediately to remediate this critical vulnerability.
privilege-escalationfile-writecron

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-22, CWE-73, CWE-78

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.