ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the o
ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the ownership of arbitrary directories via a symlink attack on a directory with a predictable name in /tmp/.
- Published
- Sep 30, 2013
- Updated
- Jun 16, 2026
- EPSS
- 0.3% · 24th percentile
- CWE
- CWE-59
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
17
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- phusion passengerup to 4.0.5 inclusive
- phusion passenger4.0.1
- phusion passenger4.0.2
- phusion passenger4.0.3
- phusion passenger4.0.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | passenger | before 3.0.13debian-1.2 | 3.0.13debian-1.2 |
| Red Hat:openshift:1.2::el6 | mod_passenger | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-mod_passenger | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-rubygem-passenger | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-rubygem-passenger-debuginfo | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-rubygem-passenger-devel | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-rubygem-passenger-doc | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-rubygem-passenger-native | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | ruby193-rubygem-passenger-native-libs | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-file-tail | before 0:1.0.5-4.el6op | 0:1.0.5-4.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-file-tail-doc | before 0:1.0.5-4.el6op | 0:1.0.5-4.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-passenger | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-passenger-debuginfo | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-passenger-devel | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-passenger-doc | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-passenger-native | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-passenger-native-libs | before 0:3.0.21-3.el6op | 0:3.0.21-3.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-spruz | before 0:0.2.5-4.el6op | 0:0.2.5-4.el6op |
| Red Hat:openshift:1.2::el6 | rubygem-spruz-doc | before 0:0.2.5-4.el6op | 0:0.2.5-4.el6op |
| RubyGems | passenger | before 4.0.6 | 4.0.6 |
| SUSE:Lifecycle Management Server 1.3 | rubygem-passenger | before 3.0.14-0.14.1 | 3.0.14-0.14.1 |
Same product
phusion: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-12026During the spawning of a malicious Passenger-managed application, SpawningKit in Phusion Passenger 5.3.x before 5.3.2 allows such applicatio40Plan
- CVE-2018-12027An Insecure Permissions vulnerability in SpawningKit in Phusion Passenger 5.3.x before 5.3.2 causes information disclosure in the following 35Monitor
- CVE-2012-6135RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.31Monitor
- CVE-2018-12028An Incorrect Access Control vulnerability in SpawningKit in Phusion Passenger 5.3.x before 5.3.2 allows a Passenger-managed malicious applic31Monitor
- CVE-2016-10345In Phusion Passenger before 5.1.0, a known /tmp filename was used during passenger-install-nginx-module execution, which could allow local a31Monitor
- CVE-2025-26803The http parser in Phusion Passenger 6.0.21 through 6.0.25 before 6.0.26 allows a denial of service during parsing of a request with an inva30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:passenger | 3.0.13debian-1.2 · Debian:12 | Package registry (OSV) |
| red hat:mod_passenger | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-mod_passenger | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-passenger | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-passenger-debuginfo | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-passenger-devel | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-passenger-doc | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-passenger-native | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-passenger-native-libs | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:rubygem-file-tail | 0:1.0.5-4.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:rubygem-file-tail-doc | 0:1.0.5-4.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:rubygem-passenger | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| red hat:rubygem-passenger-debuginfo | 0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| RubyGems:passenger | 4.0.6 | Package registry (OSV) |
| suse:rubygem-passenger | 3.0.14-0.14.1 · SUSE:Lifecycle Management Server 1.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- rhn.redhat.com/errata/RHSA-2013-1136.html
- www.openwall.com/lists/oss-security/2013/07/16/6
- code.google.com/p/phusion-passenger/issues/detail?id=910
- github.com/phusion/passenger/blob/release-4.0.6/NEWS
- github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
Vendor advisories and official records. Exploit/PoC links are deliberately left out.