KeygraphLabs · CVE MCP

CVE-2016-4987 · redhat

CVE-2016-4987

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.

Published 2017-02-09, last changed 2026-06-17. Weakness: CWE-22.

CVSS
6.5
medium, from NVD
EPSS
3.00%
percentile 87.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: com.tupilabs.image_gallery:image-gallery 1.4 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in jenkinsci/image-gallery-plugin by 20f02f6d53, 2fde39110c. Functions changed by the fix: getRelativeFrom, createImageGallery, readResolve, isChild. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-02-09Published
2022-05-13Package advisory GHSA-8xr3-54w2-8xjp
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 3.00%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-8xr3-54w2-8xjpcom.tupilabs.image_gallery:image-gallery (Maven)1.4

Also known as: GHSA-8xr3-54w2-8xjp

Related

CVEPublishedCVSSSummary
CVE-2026-1335162026-12-046.3Openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory
CVE-2026-194432026-11-276.1Cri-o: cri-o: checkpoint restore path traversal in deleted.files allows host filesystem deletion
CVE-2026-1306442026-11-188.1Ansible-core: ansible-core: ansible-galaxy collection install path traversal via unvalidated artifact-derived collection name allows file writes and directory d
CVE-2026-1059292026-11-188.1Ansible-core: ansible-galaxy role install path traversal via unvalidated role name allows file writes and directory deletion outside the roles directory
CVE-2026-183792026-11-128.8Yggdrasil-worker-package-manager: yggdrasil-worker-package-manager: path traversal via unsanitized repo name in addrepo/removerepo
CVE-2026-1237472026-11-117.3Pappl-retrofit: directory traversal in the add-ppdfiles and delete-ppdfiles actions
CVE-2026-1152072026-10-225.5Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
CVE-2026-855182026-10-216.1Openscap: openscap: arbitrary file write via path traversal in source datastream decomposition

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-4987, or call /api/v1/vulnerabilities/CVE-2016-4987. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org