CVE-2026-82275 in Qwen-Agentinfo

Summary

by MITRE • 08/28/2026

Qwen-Agent through 0.0.34 contains a path traversal vulnerability in the document parser that fails to restrict file access to intended directories. Attackers can supply absolute file paths to the unauthenticated Gradio interface to read arbitrary files accessible by the server process.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 08/28/2026

The Qwen-Agent framework, specifically through version 0.0.34, contains a critical path traversal vulnerability within its document parsing component that allows for unauthorized access to sensitive system resources. This flaw stems from an insufficient validation of user-supplied input when processing file paths provided by clients interacting with the application. The core technical deficiency lies in the failure of the parser to properly canonicalize or restrict file operations to a designated, safe directory structure. Instead of sanitizing inputs to ensure they remain within expected boundaries, the system accepts absolute file paths directly from unauthenticated users via the Gradio interface. This architectural oversight effectively bypasses standard access controls that are typically designed to isolate application data from the underlying operating system files.

From an operational perspective, this vulnerability enables remote attackers who have network connectivity to the vulnerable service to read arbitrary files accessible by the server process identity. Since the input is accepted through a Gradio interface without requiring authentication, the attack surface is significantly expanded, allowing any internet user or internal network participant with access to the port to exploit the flaw. The impact of this vulnerability extends beyond simple data leakage; it can lead to the exposure of configuration files containing database credentials, API keys, private certificates, and other sensitive information stored on the server filesystem. In severe cases, if the server process runs with elevated privileges or has broad read access, attackers could potentially exfiltrate source code, internal network configurations, or user data that was inadvertently placed in accessible directories.

This vulnerability aligns closely with Common Weakness Enumeration (CWE) category CWE-22: Improper Limitation of a Pathname to a Restricted Directory. The failure to enforce strict directory boundaries allows an attacker to traverse up the file system hierarchy using standard path traversal sequences, such as dot-dot-slash characters or absolute paths that escape the intended sandboxed environment. Furthermore, in the context of the MITRE ATT&CK framework, this behavior is indicative of techniques associated with T1083: File and Directory Discovery, where adversaries probe the target file system to locate sensitive data for subsequent exfiltration. The lack of authentication on the Gradio interface further exacerbates the risk by removing a critical layer of defense that would otherwise limit exploitation to authenticated users only.

To mitigate this vulnerability, immediate remediation is required through upgrading Qwen-Agent to a version where the document parser has been patched to enforce strict input validation and path canonicalization. Developers should implement allow-listing strategies for file paths rather than relying on block-lists or simple string matching. It is essential that all user-supplied file names are resolved to their absolute paths and verified against an allowed base directory before any read operations are performed. Additionally, the Gradio interface serving this functionality should be secured with robust authentication mechanisms if it must remain exposed to untrusted networks. Running the application process under a restricted service account with minimal filesystem permissions can also serve as a defense-in-depth measure, limiting the potential damage even if an attacker successfully exploits the path traversal flaw. Regular security audits and static code analysis focused on file system interactions are recommended to prevent similar issues in future development cycles.

Responsible

VulnCheck

Reservation

08/28/2026

Disclosure

08/28/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!