Skip to main content
CVE-2025-6108VulnerabilityPublished

CVE-2025-6108: hansonwang99 Spring-Boot-In-Action · Path Traversal

Affects hansonwang99 Spring-Boot-In-ActionSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

AI-suggested

1. Implement strict input validation and sanitization on all file upload parameters, especially the 'filename' argument, to prevent directory traversal sequences such as '../'. 2. Employ allowlisting of acceptable file names and extensions, rejecting any input containing suspicious path characters or patterns. 3. Configure the application to store uploaded files in isolated directories with minimal permissions, preventing access to sensitive system files even if traversal occurs. 4. Use containerization or sandboxing techniques to limit the impact of potential exploitation. 5. Monitor logs for unusual file access patterns or errors related to file uploads to detect exploitation attempts early. 6. If possible, temporarily disable or restrict the vulnerable watermarkTest functionality until a patch or update is available. 7. Engage in active threat intelligence sharing within industry groups to stay informed about emerging exploits targeting this vulnerability. 8. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block path traversal payloads targeting the affected endpoint. 9. Conduct thorough code reviews and security testing on custom or third-party components that handle file uploads to identify similar vulnerabilities proactively.

Description

A vulnerability was found in hansonwang99 Spring-Boot-In-Action up to 807fd37643aa774b94fd004cc3adbd29ca17e9aa. It has been declared as critical. Affected by this vulnerability is the function watermarkTest of the file /springbt_watermark/src/main/java/cn/codesheep/springbt_watermark/service/ImageUploadService.java of the component File Upload. The manipulation of the argument filename leads to path traversal. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The vendor was contacted early about this disclosure but did not respond in any way.

References

Community reviews

Loading reviews…