# CVE-2022-23457: Path Traversal in ESAPI

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.85%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-25T00:00:00.000Z
- Modified: 2026-06-17T04:30:09.737Z
- Also known as: GHSA-8m5h-hrqm-pxm2
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, the default implementation of `Validator.getValidDirectoryPath(String, String, File, boolean)` may incorrectly treat the tested input string as a child of the specified parent directory. This potentially could allow control-flow bypass checks to be defeated if an attack can specify the entire string representing the 'input' path. This vulnerability is patched in release 2.3.0.0 of ESAPI. As a workaround, it is possible to write one's own implementation of the Validator interface. However, maintainers do not recommend this.

(As written by CVE List.)

## Affected

- OWASP ESAPI org.owasp.esapi:esapi: from 2.3.0.0 before 2.3.0.0
- org.owasp.esapi:esapi (Maven): before 2.3.0.0
- owasp enterprise_security_api: before 2.3.0.0
- oracle weblogic_server: 12.2.1.3.0; 12.2.1.4.0; 14.1.1.0.0
- netapp active_iq_unified_manager: no versions given
- netapp oncommand_workflow_automation: no versions given

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API/> (exploit, third-party-advisory)
- <https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-8m5h-hrqm-pxm2> (patch, third-party-advisory, web)
- <https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt> (release-notes, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230127-0014/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23457> (advisory)
- <https://github.com/ESAPI/esapi-java-legacy/commit/a0d67b75593878b1b6e39e2acc1773b3effedb2a> (web)
- <https://github.com/ESAPI/esapi-java-legacy> (package)
- <https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/GHSL-2022-008_The_OWASP_Enterprise_Security_API.md> (web)
- <https://security.netapp.com/advisory/ntap-20230127-0014> (web)
- <https://securitylab.github.com/advisories/GHSL-2022-008_The_OWASP_Enterprise_Security_API> (advisory)

## Sources

- CVE List: [CVE-2022-23457](https://www.cve.org/CVERecord?id=CVE-2022-23457), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-8m5h-hrqm-pxm2](https://github.com/advisories/GHSA-8m5h-hrqm-pxm2), CC-BY-4.0, modified 2025-11-03
- NVD: [CVE-2022-23457](https://nvd.nist.gov/vuln/detail/CVE-2022-23457), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23457 · Whole record: https://cve.day/CVE-2022-23457.json · Rebuilt by cve.day 2026-11-25T22:58:11.241Z
