CVE-2026-19756: Dromara lamp-cloud path traversal in code generator

CVE-2026-19756 · Severity: medium · CVSS 6.3 · Published 2026-08-13

Dromara lamp-cloud is a microservices development platform that includes a code generation tool. An authenticated attacker can exploit a path traversal vulnerability in the code generator endpoint to write files to arbitrary locations on the server, potentially overwriting configuration files or application code and achieving remote code execution.

Technologies: Dromara Lamp-Cloud. Vendors: Dromara.

Quick answers

Is CVE-2026-19756 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-19756 being exploited in the wild.
How severe is CVE-2026-19756?
Medium severity, with a CVSS score of 6.3, published 13 August 2026.
Which products and versions are affected?
Dromara Lamp-Cloud up to 5.10.0.
Is there a fix for CVE-2026-19756?
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-19756 attacked?
It is attacked over the network.
Am I affected by CVE-2026-19756?
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 vulnerability is a CWE-22 path traversal in the DefGenProjectController.java code generation endpoint. The POST /defGenProject/generator endpoint accepts a ProjectGeneratorVO request body containing outputDir, projectPrefix, and parent fields that are concatenated directly into file paths without canonicalization or confinement to a base directory. An authenticated attacker can supply traversal sequences (../) or absolute paths in these fields to write generated template output to arbitrary filesystem locations. The attack requires a valid authentication token but no elevated privileges. Depending on deployment, writing to classpath or configuration directories could enable RCE.

Affected products

  • Dromara lamp-cloud up to 5.10.0

Timeline

  • 2026-06-25: disclosed: Issue #411 opened on GitHub
  • 2026-08-13: advisory: CVE-2026-19756 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.