PoC Monitor
← All CVEs
CVE-2026-57155published 15 Oct 2026 15:13 UTCData: JSON · API

OPNsense core

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

Edge device · Firewall / VPNknown edge product: opnsense core OPNsense: Root RCE via Arbitrary (high confidence)

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.

First public PoC 92 days beforebefore publication · 16 Jul 2026
Public PoCs11 on GitHub
CVSS9.9critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

opnsense core
  • < 26.1.11

Fixed in 26.1.11

Timeline

Days relative to CVE publication
-84-70-56-42-28-14t=0First public PoC16 Jul 2026 · t−92dCVE published15 Oct 2026 · t = 0

First public PoC 92 days before publication; not in CISA KEV. First PoC: babyshen/CVE-2026-57155 (created 16 Jul 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
babyshen/CVE-2026-57155 16 Jul 2026 −92 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /ui/firewall/alias

Seen in
1 repo: babyshen/CVE-2026-57155
Evidence
babyshen/CVE-2026-57155/poc.py:142

POST /api/firewall/alias/reconfigure

Content-Type
application/json
Seen in
1 repo: babyshen/CVE-2026-57155
Evidence
babyshen/CVE-2026-57155/poc.py:202

POST /api/firewall/alias/set

Body markers
"alias" in application/json
Seen in
1 repo: babyshen/CVE-2026-57155
Evidence
babyshen/CVE-2026-57155/poc.py:192

POST /api/firewall/alias/update/geoip

Content-Type
application/json
Seen in
1 repo: babyshen/CVE-2026-57155
Evidence
babyshen/CVE-2026-57155/poc.py:208

POST /index.php

Body markers
m.group(1)= usernamefld= passwordfld= login=1 in application/x-www-form-urlencoded
Seen in
1 repo: babyshen/CVE-2026-57155
Evidence
babyshen/CVE-2026-57155/poc.py:132

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /ui/firewall/alias
(?i)^/ui/firewall/alias(?:[?#].*)?$
POST /api/firewall/alias/reconfigure
(?i)^/api/firewall/alias/reconfigure(?:[?#].*)?$
POST /api/firewall/alias/set
(?i)^/api/firewall/alias/set(?:[?#].*)?$
POST /api/firewall/alias/update/geoip
(?i)^/api/firewall/alias/update/geoip(?:[?#].*)?$
POST /index.php
(?i)^/index\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /ui/firewall/alias
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-57155 opnsense core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ui/firewall/alias"; reference:url,poc.griffinguard.io/cve/CVE-2026-57155; classtype:web-application-attack; sid:9893347; rev:1;)
POST /api/firewall/alias/reconfigure
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-57155 opnsense core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/firewall/alias/reconfigure"; reference:url,poc.griffinguard.io/cve/CVE-2026-57155; classtype:web-application-attack; sid:9562937; rev:1;)
POST /api/firewall/alias/set
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-57155 opnsense core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/firewall/alias/set"; http.request_body; content:"|22|alias|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-57155; classtype:web-application-attack; sid:9443226; rev:1;)
POST /api/firewall/alias/update/geoip
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-57155 opnsense core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/firewall/alias/update/geoip"; reference:url,poc.griffinguard.io/cve/CVE-2026-57155; classtype:web-application-attack; sid:9808584; rev:1;)
POST /index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-57155 opnsense core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.request_body; content:"m.group(1)="; http.request_body; content:"usernamefld="; http.request_body; content:"passwordfld="; http.request_body; content:"login=1"; reference:url,poc.griffinguard.io/cve/CVE-2026-57155; classtype:web-application-attack; sid:9899515; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /ui/firewall/alias
title: opnsense core exploit attempt (CVE-2026-57155)
id: gg-pocmon-cve-2026-57155-9893347
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-57155. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-57155
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/ui/firewall/alias'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.57155
POST /api/firewall/alias/reconfigure
title: opnsense core exploit attempt (CVE-2026-57155)
id: gg-pocmon-cve-2026-57155-9562937
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-57155. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-57155
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/firewall/alias/reconfigure'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.57155
POST /api/firewall/alias/set
title: opnsense core exploit attempt (CVE-2026-57155)
id: gg-pocmon-cve-2026-57155-9443226
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-57155. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-57155
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/firewall/alias/set'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.57155
POST /api/firewall/alias/update/geoip
title: opnsense core exploit attempt (CVE-2026-57155)
id: gg-pocmon-cve-2026-57155-9808584
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-57155. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-57155
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/firewall/alias/update/geoip'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.57155
POST /index.php
title: opnsense core exploit attempt (CVE-2026-57155)
id: gg-pocmon-cve-2026-57155-9899515
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-57155. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-57155
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/index.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.57155