Unauthenticated file disclosure via filename path traversal
Published Nov 12, 2025 · Updated Nov 12, 2025
Path traversal in Shenzhen Longjing Technology Co., Ltd. BEMS API 1.21 and earlier allows remote attackers to read arbitrary server files. The unauthenticated /api/downloads endpoint uses the fileName parameter for downloads without rejecting traversal sequences. A crafted relative path escapes the intended directory and discloses files readable by the service account, including password and shadow files in the published exploit.
Summary
What happened
Path traversal in Shenzhen Longjing Technology Co., Ltd. BEMS API 1.21 and earlier allows remote attackers to read arbitrary server files. The unauthenticated /api/downloads endpoint uses the fileName parameter for downloads without rejecting traversal sequences. A crafted relative path escapes the intended directory and discloses files readable by the service account, including password and shadow files in the published exploit.
The record
- CVE
- CVE-2021-4463
- Published
- Nov 12, 2025
- Updated
- Nov 12, 2025
- Vendor
- Shenzhen Longjing Technology Co., Ltd.
- Product
- BEMS API
- Classifications
- CWE-22, CWE-552, CAPEC-126, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 12, 2025CVE publishedPublication date reported by the CVE source.
- Nov 12, 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=0 <=1.21
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.
Weakness, pattern, technique
Public exploit references
- Longjing Technology BEMS API 1.21 Remote Arbitrary File Downloadfunctional · demonstrated
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