CVE-2025-68705
Unknown Unknown - Not Provided
Path Traversal in RustFS read_file_stream Allows Unauthorized Access

Publication date: 2026-01-07

Last updated on: 2026-01-07

Assigner: GitHub, Inc.

Description
RustFS is a distributed object storage system built in Rust. In versions 1.0.0-alpha.13 to 1.0.0-alpha.78, RustFS contains a path traversal vulnerability in the /rustfs/rpc/read_file_stream endpoint. This issue has been patched in version 1.0.0-alpha.79.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-07
Last Modified
2026-01-07
Generated
2026-05-27
AI Q&A
2026-01-07
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
rustfs rustfs From 1.0.0-alpha.13 (inc) to 1.0.0-alpha.78 (inc)
rustfs rustfs 1.0.0-alpha.79
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-68705 is a path traversal vulnerability in RustFS versions 1.0.0-alpha.13 to 1.0.0-alpha.78, specifically in the /rustfs/rpc/read_file_stream endpoint. The vulnerability arises because the code concatenates user-supplied file paths without proper canonicalization or boundary checks, allowing attackers to escape the intended directory and access arbitrary files on the system. This happens due to insufficient validation of path inputs, enabling traversal sequences like '../' to access files outside the allowed directories. The issue was patched in version 1.0.0-alpha.79 by introducing stricter path validation and error handling to prevent such unauthorized access. [1, 2]


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized arbitrary file reads, leading to disclosure of sensitive system files such as /etc/passwd, /etc/hosts, and /etc/hostname. This can result in full user account enumeration, network configuration disclosure, and leakage of system information. There is also a suspected risk of arbitrary file writes, which could compromise system integrity by modifying critical files like SSH keys, application secrets, cron jobs, and system binaries. Additionally, the vulnerability can cause denial-of-service conditions through directory enumeration and recursive traversal attacks. Exploitation requires network access and knowledge of the RPC secret key, but if the secret is leaked or default, the attack becomes trivial. [2]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection of this vulnerability involves monitoring for attempts to exploit the path traversal flaw in the /rustfs/rpc/read_file_stream endpoint. Since exploitation requires a valid RPC secret key and crafted path traversal payloads, detection can include auditing logs for unusual or unauthorized file read requests containing directory traversal sequences like '../'. Additionally, the patch introduced health check improvements that generate unique test object names dynamically and elevate logging levels to warn on disk health check failures, which can help identify abnormal disk access patterns. Specific commands are not provided in the resources, but monitoring HTTP requests to the vulnerable endpoint and inspecting logs for suspicious path parameters or failed health checks with warnings is recommended. [1, 2]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include upgrading RustFS to version 1.0.0-alpha.79 or later, where the vulnerability is patched. The patch enforces stricter path validation by implementing path canonicalization and rejecting dangerous path components such as '..' or absolute paths. Additional recommended mitigations are rotating the RPC secret key to prevent unauthorized access, enabling audit logging and rate limiting on the vulnerable endpoint, and applying network segmentation to limit exposure. Long-term mitigations include running RustFS in a chroot jail and applying least privilege principles. [1, 2]


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows attackers to perform arbitrary file reads, including sensitive system files and potentially application secrets, SSH keys, and user data. This exposure of sensitive information can lead to violations of data protection regulations such as GDPR and HIPAA, which require safeguarding personal and sensitive data against unauthorized access. Therefore, exploitation of this vulnerability could result in non-compliance with these standards due to confidentiality breaches and inadequate access controls. [2]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart