# CVE-2023-4760: Remote Code Execution in Eclipse RAP on Windows

- Severity: High 7.6 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.25%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-21T07:35:35.790Z
- Modified: 2026-06-17T06:38:32.440Z
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: eclipse

## Description

In Eclipse RAP versions from 3.0.0 up to and including 3.25.0, Remote Code Execution is possible on Windows when using the FileUpload component.






The reason for this is a not completely secure extraction of the file name in the FileUploadProcessor.stripFileName(String name) method. As soon as this finds a / in the path, everything before it is removed, but potentially \ (backslashes) coming further back are kept.

For example, a file name such as /..\..\webapps\shell.war can be used to upload a file to a Tomcat server under Windows, which is then saved as ..\..\webapps\shell.war in its webapps directory and can then be executed.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse RAP: from 3.0.0 up to 3.25.0
- eclipse remote_application_platform: from 3.0.0 up to 3.25.0

## Every score

- eclipse: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/160> (exploit, issue-tracking)
- <https://github.com/eclipse-rap/org.eclipse.rap/pull/141> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2023-4760](https://www.cve.org/CVERecord?id=CVE-2023-4760), CVE Terms of Use, modified 2024-09-24
- NVD: [CVE-2023-4760](https://nvd.nist.gov/vuln/detail/CVE-2023-4760), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4760 · Whole record: https://cve.day/CVE-2023-4760.json · Rebuilt by cve.day 2026-11-25T22:58:28.048Z
