Skip to main content
Vulnerability Database/CVE-2026-111618

CVE-2026-111618: Chat Nio Path Traversal Vulnerability

CVE-2026-111618 is an unauthenticated path traversal vulnerability in Chat Nio (CoAI) that lets attackers access sensitive files. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111618 Overview

CVE-2026-111618 is an unauthenticated path traversal vulnerability affecting CoAI (Chat Nio) through version 4.0.0. The flaw resides in the generation and article archive download endpoints, which accept a user-controlled hash query parameter without sanitization. Attackers can inject ../ sequences to traverse the filesystem and retrieve any readable .tar.gz or .zip file on the host. This exposes other users' generated archives and any accessible compressed artifacts stored on the server. The vulnerability is categorized under CWE-22: Improper Limitation of a Pathname to a Restricted Directory and requires no authentication, user interaction, or privileges to exploit.

Critical Impact

Remote unauthenticated attackers can download arbitrary .tar.gz or .zip files from the CoAI server, including archives belonging to other users.

Affected Products

  • CoAI (Chat Nio) versions up to and including 4.0.0
  • Generation archive download endpoint (addition/generation/api.go)
  • Article archive download endpoint (addition/article/api.go)

Discovery Timeline

  • 2026-10-16 - CVE CVE-2026-111618 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111618

Vulnerability Analysis

CoAI (Chat Nio) exposes two archive download endpoints that return generated artifacts as compressed archives. Both endpoints read the hash query parameter and use it directly when constructing the filesystem path for the archive to serve. The server does not validate the parameter against directory traversal sequences such as ../ before passing it to file I/O operations.

Because the endpoints are reachable without authentication, any remote attacker who can reach the application can request archives outside the intended storage directory. The result is unauthorized disclosure of other users' generated outputs and any readable .tar.gz or .zip file on the host filesystem.

The affected code paths are referenced at addition/article/api.go lines 25-35 and addition/generation/api.go lines 19-29. Additional technical analysis is published in a HackMD writeup and the VulnCheck advisory.

Root Cause

The root cause is missing input validation on the hash query parameter. The archive download handlers concatenate the attacker-supplied value into a filesystem path without canonicalization, allowlisting, or sandboxing to the intended archive directory. Traversal sequences bypass the implicit storage boundary.

Attack Vector

Exploitation requires only a crafted HTTP GET request to the vulnerable endpoints with a hash parameter containing relative path traversal sequences. The target file must be readable by the CoAI server process and must end in .tar.gz or .zip. No credentials, session, or user interaction are required.

See the VulnCheck advisory for request examples.

Detection Methods for CVE-2026-111618

Indicators of Compromise

  • HTTP requests to the generation or article archive download endpoints containing ../, ..%2f, or encoded traversal sequences in the hash query parameter.
  • Access log entries showing successful HTTP 200 responses for archive downloads with unusual or non-hash-formatted hash values.
  • Unexpected read access on .tar.gz or .zip files outside the designated archive storage directory.

Detection Strategies

  • Inspect web server and reverse proxy logs for query strings containing path traversal patterns targeting CoAI archive endpoints.
  • Deploy a web application firewall rule that blocks hash parameter values containing .., slash, or URL-encoded traversal sequences.
  • Baseline normal hash parameter values (fixed-length hexadecimal identifiers) and alert on deviations.

Monitoring Recommendations

  • Enable verbose access logging on the CoAI service and forward logs to a centralized analytics platform for query-string inspection.
  • Monitor filesystem audit events for reads of .tar.gz and .zip files by the CoAI process from paths outside the archive directory.
  • Track outbound data volumes from the CoAI host to detect bulk archive exfiltration.

How to Mitigate CVE-2026-111618

Immediate Actions Required

  • Restrict network exposure of CoAI instances to trusted networks until a patched release is deployed.
  • Place CoAI behind a reverse proxy or WAF that rejects traversal sequences in the hash query parameter.
  • Audit archive storage directories and web access logs for evidence of unauthorized downloads.

Patch Information

At the time of publication, the NVD entry references CoAI (Chat Nio) through version 4.0.0 as affected. Monitor the CoAI GitHub repository and the VulnCheck advisory for an upstream fix and upgrade guidance.

Workarounds

  • Terminate requests at a reverse proxy that normalizes the URL and blocks hash values containing .., /, \, or encoded equivalents.
  • Run the CoAI process under a dedicated low-privilege user whose read permissions are limited to the intended archive directory.
  • Isolate archive storage on a filesystem mount that contains no sensitive .tar.gz or .zip artifacts beyond user-generated content.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.