Junglewise Threat Intelligence

CVE-2026-64826: rConfig path traversal in file download

CVE-2026-64826 · Severity: medium · CVSS 6.5 · Published 2026-08-12

Executive brief

rConfig is a configuration management tool that allows network administrators to backup and export device configurations. A flaw in its export download feature allows authenticated users to read any file accessible by the web server, including sensitive application files containing encryption keys and database credentials. An attacker could exploit this to gain access to system secrets and compromise the entire infrastructure managed by rConfig.

Technical details

The vulnerability is a path traversal flaw in the download_export() method of rConfig. The download endpoint concatenates a user-supplied filename parameter directly onto the export directory path without sanitization, allowing attackers to use ../ sequences to escape the base directory and access arbitrary files readable by the web server process. Authentication is required, but the attacker can traverse to sensitive files such as .env files containing database credentials and encryption keys. The fix, applied in version 8.2.13, uses basename() to extract only the filename portion and realpath() to verify the resolved file is actually within the export directory before serving it.

Affected products

  • rConfig rConfig before 8.2.13

Timeline

  • 2026-08-10: patched: Fix merged in commit d133a466a2df9d065177de9a8ed50f1bfe438aee
  • 2026-08-12: disclosed

References

Related threats