# CVE-2026-19758: dromara lamp-cloud path traversal in chunk-check endpoint

Source: https://junglewise.ai/threats/cve-2026-19758-dromara-lamp-cloud-path-traversal-in-chunk-check-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-14. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-19758 · Severity: high · CVSS 7.3 · Published 2026-08-14

lamp-cloud is a Java microservices framework for rapid backend development. The chunk-check endpoint, used for file upload handling, contains a path traversal vulnerability that allows remote attackers to discover whether arbitrary files exist on the server and determine their exact file sizes—a form of information disclosure that could help attackers identify sensitive files or system configurations.

Technologies: [Dromara Lamp-Cloud](https://junglewise.ai/threats/technologies/lamp-cloud). Vendors: [Dromara](https://junglewise.ai/threats/vendors/dromara).

## Quick answers

**Is CVE-2026-19758 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-19758 being exploited in the wild.

**How severe is CVE-2026-19758?** High severity, with a CVSS score of 7.3, published 14 August 2026.

**Which products and versions are affected?** Dromara Lamp-Cloud up to 5.10.0.

**Is there a fix for CVE-2026-19758?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-19758 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-19758?** Check whether you run Dromara Lamp-Cloud at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The FileChunkController.java endpoint /chunk/check accepts a POST request with a `name` parameter that is directly concatenated into a file path without validation or canonicalization. An attacker can supply path traversal sequences (../) or absolute paths in the `name` field to escape the intended upload directory. The vulnerable code calls `Paths.get(uploadFolder, info.getName(), chunkIndex)` and then invokes `chunkCheck()`, which returns a boolean indicating both file existence and whether the supplied size matches the actual file size. This acts as an oracle for both file discovery and size disclosure. The endpoint is marked @Deprecated and @Hidden (excluded from Swagger docs) but remains reachable and unprotected by authorization checks, making it easy to overlook in deployments. An attacker can iterate over size values to binary-search and recover the exact length of any accessible file on the server.

## Affected products

- dromara lamp-cloud up to 5.10.0

## Timeline

- 2026-06-25: disclosed: Issue reported to project via GitHub issue #413
- 2026-08-14: advisory: CVE-2026-19758 published

## References

- [https://github.com/dromara/lamp-cloud/](https://github.com/dromara/lamp-cloud/)
- [https://github.com/dromara/lamp-cloud/issues/413](https://github.com/dromara/lamp-cloud/issues/413)

## Related threats

- [lamp-cloud insecure direct object reference in file attachment endpoint](https://junglewise.ai/threats/cve-2026-109168-lamp-cloud-through-5-10-1-contains-an-insecure-direct-object)
- [lamp-cloud broken object level authorization in /anyone/visible/resource](https://junglewise.ai/threats/cve-2026-94536-lamp-cloud-through-5-10-0-fails-to-validate-the-employeeid)
- [lamp-cloud authorization bypass in deleteMyNotice](https://junglewise.ai/threats/cve-2026-94535-lamp-cloud-through-5-10-0-contains-an-authorization-bypass)
- [lamp-cloud authorization bypass in FileAnyoneController](https://junglewise.ai/threats/cve-2026-94533-lamp-cloud-through-5-10-0-contains-an-authorization-bypass)
- [lamp-cloud authorization bypass in getUserInfoById endpoint](https://junglewise.ai/threats/cve-2026-94532-lamp-cloud-through-5-10-0-contains-an-authorization-bypass)
