CVE-2014-7829
Directory traversal vulnerability in actionpack
Also known as GHSA-h56m-vwxc-3qpw
Mitigation
- Upgrade actionpack to one of 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package actionpack (>= 4.1.0, < 4.1.8)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- actionpack >= 4.1.0, < 4.1.8
- Fixed in
- 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.0 (v2.0, NVD)AV:N/AC:L/Au:N/C:P/I:N/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: Partial
- Integrity impact: None
- Availability impact: None
- EPSS
- 4.16% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \ (backslash) character, a similar issue to CVE-2014-7818.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems actionpack | >= 4.1.0, < 4.1.8 | 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2014-7829. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2014-7829.md Affected: actionpack >= 4.1.0, < 4.1.8 Fixed in: 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4 Steps: 1. Search this machine and project for actionpack (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- https://puppet.com/security/cve/cve-2014-7829
- http://www.securityfocus.com/bid/71183
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-7829.yml
- https://groups.google.com/forum/#!topic/rubyonrails-security/rMTQy4oRCGk
- https://web.archive.org/web/20160403085126/http://www.securityfocus.com/bid/71183
FAQ
Is CVE-2014-7829 being exploited?
There is no confirmed exploitation: CVE-2014-7829 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 4.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2014-7829?
Medium: CVSS 5.0 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2014-7829?
actionpack >= 4.1.0, < 4.1.8.
Is there a fix for CVE-2014-7829?
Yes. Fixed in 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4. Upgrade actionpack to one of 4.1.8, 3.2.21, 4.0.12, 4.2.0.beta4 (or later in the same release line).
How do I check if I'm affected by CVE-2014-7829?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.