CVE-2025-4175 Path traversal in Spring-Boot-Advanced-Projects
Attackers can exploit path traversal in the profile image upload endpoint 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-4175?
CVE-2025-4175 is a medium-severity path traversal vulnerability in AlanBinu007 Spring-Boot-Advanced-Projects, published on 1 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, was found in AlanBinu007 Spring-Boot-Advanced-Projects up to 3.1.3. This affects the function uploadUserProfileImage of the file /Spring-Boot-Advanced-Projects-main/Project-4.SpringBoot-AWS-S3/backend/src/main/java/com/urunov/profile/UserProfileController.java of the component Upload Profile API Endpoint. The manipulation of the argument File leads to path traversal. It is possible to initiate the attack 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-4175?
How do I fix CVE-2025-4175?
No fix has been published for CVE-2025-4175 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-4175 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4175 exists.
Sources
Also known as GHSA-ppc7-gq7r-hvm6.