CVE-2014-9489 is a high-severity (CVSS 8.8) CWE-284 vulnerability in gollum. A fix is available for gollum — see the affected versions and patch details below.
gollum and gollum-lib allow remote authenticated users to execute arbitrary code
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
gollum💎gollum-libReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
The gollum-grit_adapter Ruby gem dependency in gollum before 3.1.1 and the gollum-lib gem dependency in gollum-lib before 4.0.1 when the string master is in any of the wiki documents, allows remote authenticated users to execute arbitrary code via the -O or --open-files-in-pager flags.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | gollum | all versions | 3.1.1bundle update gollum --conservative |
| 💎RubyGems | gollum-lib | all versions | 4.0.1bundle update gollum-lib --conservative |
Affected Products
gollumgollum_projectgollum-libgollum_projectgrit adaptergollum_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for gollum, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update gollum to 3.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2014-9489 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2014-9489 in your dependencies?
Find it across RubyGems, including transitive dependencies.