# Improper Limitation of a Pathname to a Restricted Directory in Spring Framework

Advisory record · `GHSA-hhm4-hwq6-3c6w`

- **Identifiers:** `GHSA-hhm4-hwq6-3c6w` · `CVE-2014-3625`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 13 May 2022
- **Updated:** 3 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.springframework:spring-webmvc` (Maven): affected `>=3.0.4, <3.2.12 || >=4.0.0, <4.0.8 || >=4.1.0, <4.1.2`; fixed in `3.2.12`, `4.0.8`, `4.1.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Spring Framework (org.springframework:spring-webmvc) versions 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 are affected. A remote attacker can read arbitrary files through a directory traversal flaw in static resource handling, using unspecified vectors. Upgrade to spring-webmvc 3.2.12, 4.0.8, or 4.1.2, depending on the release line in use. The source gives few details about the specific attack vectors.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.099, the 95th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hhm4-hwq6-3c6w)

## Sources

- [GitHub Advisory Database: GHSA-hhm4-hwq6-3c6w](https://github.com/advisories/GHSA-hhm4-hwq6-3c6w)
- [OSV: GHSA-hhm4-hwq6-3c6w](https://osv.dev/vulnerability/GHSA-hhm4-hwq6-3c6w)
- <https://nvd.nist.gov/vuln/detail/CVE-2014-3625>
- <https://github.com/spring-projects/spring-framework/commit/161d3e3049f129e211f68a4e94b544e0f0d8384d>
- <https://github.com/spring-projects/spring-framework/commit/3f68cd633f03370d33c2603a6496e81273782601>
- <https://github.com/spring-projects/spring-framework/commit/9beae9ae4226c45cd428035dae81214439324676>
- <https://github.com/spring-projects/spring-framework/commit/9cef8e3001ddd61c734281a7556efd84b6cc2755>
- <https://github.com/spring-projects/spring-framework>
- <https://jira.spring.io/browse/SPR-12354>
- <https://lists.debian.org/debian-lts-announce/2019/07/msg00012.html>
- <http://rhn.redhat.com/errata/RHSA-2015-0236.html>
- <http://rhn.redhat.com/errata/RHSA-2015-0720.html>
- <http://www.pivotal.io/security/cve-2014-3625>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hhm4-hwq6-3c6w>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hhm4-hwq6-3c6w/>. Everything for agents: <https://agentprime.io/llms.txt>.
