CVE-2025-6109 javahongxi whatsmars InitializrController.java initialize path traversal

Medium 5.3 Published Updated

Remote attackers can exploit a path traversal vulnerability in the InitializrController to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6109?

CVE-2025-6109 is a medium-severity path traversal vulnerability in javahongxi whatsmars, published on 16 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in javahongxi whatsmars 2021.4.0. It has been rated as problematic. Affected by this issue is the function initialize of the file /whatsmars-archetypes/whatsmars-initializr/src/main/java/org/hongxi/whatsmars/initializr/controller/InitializrController.java. The manipulation of the argument artifactId leads to path traversal. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-22

Which versions are affected by CVE-2025-6109?

How do I fix CVE-2025-6109?

No fix has been published for CVE-2025-6109 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-6109 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6109 exists.

Sources

Also known as GHSA-7477-9m9h-rjv3.

Is CVE-2025-6109 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free