Unauthenticated file read via absolute path resolution
Published May 21, 2025 · Updated May 21, 2025
Absolute path traversal in OsamaTaher Java-springboot-codebase 1.1 allows remote attackers to read arbitrary server files. The unauthenticated /api/v1/files/{fileName} endpoint passes the path segment to FileSystemStorageService.loadAsResource, where path resolution accepts absolute input without confirming that the result remains under the configured storage root. A reachable deployment of the affected sample service is sufficient to disclose any file readable by its process; no file modification or service interruption is reported.
Summary
What happened
Absolute path traversal in OsamaTaher Java-springboot-codebase 1.1 allows remote attackers to read arbitrary server files. The unauthenticated /api/v1/files/{fileName} endpoint passes the path segment to FileSystemStorageService.loadAsResource, where path resolution accepts absolute input without confirming that the result remains under the configured storage root. A reachable deployment of the affected sample service is sufficient to disclose any file readable by its process; no file modification or service interruption is reported.
The record
- CVE
- CVE-2025-46822
- Published
- May 21, 2025
- Updated
- May 21, 2025
- Vendor
- OsamaTaher
- Product
- Java-springboot-codebase
- Classifications
- CWE-36, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 21, 2025CVE publishedPublication date reported by the CVE source.
- May 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< c835c6f7799eacada4c0fc77e0816f250af01ad2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- ProjectDiscovery Nuclei CVE-2025-46822 templatefunctional · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo