CVE-2016-4987 is a medium-severity (CVSS 6.5) Path Traversal vulnerability in com.tupilabs.image_gallery:image-gallery. A fix is available for com.tupilabs.image_gallery:image-gallery — see the affected versions and patch details below.
Jenkins Image Gallery Plugin allows Path Traversal
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
com.tupilabs.image_gallery:image-galleryReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Directory traversal vulnerability in the Image Gallery plugin before 1.4 in Jenkins allows remote attackers to list arbitrary directories and read arbitrary files via unspecified form fields.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.tupilabs.image_gallery:image-gallery | all versions | 1.4com.tupilabs.image_gallery:image-gallery:1.4 |
Affected Products
image galleryjenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.tupilabs.image_gallery:image-gallery, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.tupilabs.image_gallery:image-gallery to 1.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-4987 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2016-4987 in your dependencies?
Find it across Maven, including transitive dependencies.