# Directory traversal vulnerability in Action View in Ruby on Rails

Advisory record · `GHSA-xrr4-p6fq-hjg7`

- **Identifiers:** `GHSA-xrr4-p6fq-hjg7` · `CVE-2016-0752`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: KEV, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 24 Oct 2017
- **Updated:** 22 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 Oct 2017, 18:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- In CISA’s KEV catalogue since 25 Mar 2022: it is known to be exploited.
- CVSS score 7.5 (7.0 or more) and EPSS 0.96 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `actionview` (RubyGems): affected `>=4.0.0, <4.1.14.1 || >=4.2.0, <4.2.5.1`; fixed in `4.1.14.1`, `4.2.5.1`
- `actionpack` (RubyGems): affected `>=4.0.0, <4.1.14.1 || >=4.2.0, <4.2.5.1 || <3.2.22.1`; fixed in `4.1.14.1`, `4.2.5.1`, `3.2.22.1`

## 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

- 7.5 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H`, from GitHub Advisory Database

- **CISA KEV:** Listed since 25 Mar 2022: known to be exploited.
- **EPSS:** 0.96, the 99th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 24 Oct 2017. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-xrr4-p6fq-hjg7](https://github.com/advisories/GHSA-xrr4-p6fq-hjg7)
- [OSV: GHSA-xrr4-p6fq-hjg7](https://osv.dev/vulnerability/GHSA-xrr4-p6fq-hjg7)
- <https://nvd.nist.gov/vuln/detail/CVE-2016-0752>
- <https://github.com/advisories/GHSA-xrr4-p6fq-hjg7>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0752.yml>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-0752.yml>
- <https://groups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG00>
- <https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ>
- <https://web.archive.org/web/20210618005620/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ>
- <https://web.archive.org/web/20210621170450/http://www.securityfocus.com/bid/81801>
- <https://web.archive.org/web/20210723192420/http://www.securitytracker.com/id/1034816>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752>
- <https://www.exploit-db.com/exploits/40561>
- <http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html>

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-xrr4-p6fq-hjg7>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xrr4-p6fq-hjg7/>. Everything for agents: <https://agentprime.io/llms.txt>.
