sadrobot

← Back to the monthly list

CVE-2026-57155 opnsense · core

9.9 Critical

AI summary

In OPNsense before 26.1.11, a path traversal in the Firewall Alias GeoIP importer lets a user with Firewall Alias Edit privilege write files as root, leading to root command execution and full firewall compromise. Critical (CVSS 9.9); fixed in 26.1.11.

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

Published
2026-10-15 16:18 UTC
Modified
2026-10-15 21:08 UTC
CVSS
9.9 Critical CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.82% (percentile 54)
ENISA EUVD
EUVD-2026-102114
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
CWE
CWE-22
Category
Edge device (VPN, firewall, router), Operating system

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
low
User interaction
none
Scope
changed
Confidentiality
high
Integrity
high
Availability
high

References