# CVE-2018-10862: Improper Limitation of a Pathname to a Restricted Directory in WildFly

Source: https://junglewise.ai/threats/cve-2018-10862-improper-limitation-of-a-pathname-to-a-restricted-directory-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14  
License: CC BY 4.0 with a link back

CVE-2018-10862 · Severity: low · CVSS 3 · Published 2022-05-14

Improper Limitation of a Pathname to a Restricted Directory in WildFly

Technologies: [org.wildfly.core:wildfly-server (Maven)](https://junglewise.ai/threats/technologies/org-wildfly-core-wildfly-server). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-10862 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-10862 being exploited in the wild.

**How severe is CVE-2018-10862?** Low severity, with a CVSS score of 3, published 14 May 2022.

**Which products and versions are affected?** org.wildfly.core:wildfly-server (Maven) ECOSYSTEM:introduced=0,fixed=6.0.0.Alpha3.

**Is there a fix for CVE-2018-10862?** Yes. org.wildfly.core:wildfly-server (Maven): upgrade to 6.0.0.Alpha3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-10862?** Check whether you run org.wildfly.core:wildfly-server (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.wildfly.core:wildfly-server (Maven): upgrade to 6.0.0.Alpha3 or later

  ```sh
  # set org.wildfly.core:wildfly-server to 6.0.0.Alpha3 in your pom.xml or build.gradle
  ```


## Affected products

- org.wildfly.core:wildfly-server (Maven) ECOSYSTEM:introduced=0,fixed=6.0.0.Alpha3

## Identifiers

- CVE-2018-10862
- GHSA-w8r2-5j8x-x8j6

## Related threats

- [WildFly improper RBAC permission](https://junglewise.ai/threats/cve-2025-23367-wildfly-improper-rbac-permission)
- [wildfly-core allows user with access to management interface to access vault expression, retrieve item from vault](https://junglewise.ai/threats/cve-2021-3644-wildfly-core-allows-user-with-access-to-management-interface-to)
