---
id: CVE-2026-57155
title: OPNsense is a FreeBSD based firewall and routing platform
summary: >-
  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
  coun…
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-22
  - CWE-73
  - CWE-78
vendor: opnsense
product: core
affected:
  - core < 26.1.11
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T16:18:17.300'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57155'
references:
  - url: >-
      https://github.com/opnsense/core/commit/c46aced9c47d956167e294911113bc334fea5f48
    label: security-advisories@github.com
  - url: >-
      https://github.com/opnsense/core/commit/e7fbfaa7f5e070da667e3f243da11fd3d4b731fa
    label: security-advisories@github.com
  - url: 'https://github.com/opnsense/core/security/advisories/GHSA-wjqq-rfmm-v5h3'
    label: security-advisories@github.com
  - url: 'https://hackerask.com/posts/opnsense'
    label: security-advisories@github.com
  - url: 'https://github.com/opnsense/core/security/advisories/GHSA-wjqq-rfmm-v5h3'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - exploit-available
  - cve.org
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/babyshen/CVE-2026-57155'
  checkedAt: '2026-10-15T17:18:54.575Z'
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T15:45:26.496634Z'
ingestedAt: '2026-10-15T16:13:11.040Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
