Path traversal in Jenkins Mercurial Plugin
Priority LOW 36CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
Jenkins Mercurial Plugin 2.16 and earlier allows attackers able to configure pipelines to check out some SCM repositories stored on the Jenkins controller's file system using local paths as SCM URLs, obtaining limited information about other projects' SCM contents.
Why it matters now
EPSS 0.01521 74th percentileScored 2026-11-07
Fix Partial Jenkins Mercurial Plugin (Jenkins project): 2.15.1org.jenkins-ci.plugins:mercurial (Maven): 2.16.1Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jenkins | Jenkins Mercurial Plugin | up to 2.16 | 2.15.1 | Patch available | CNA |
| — | org.jenkins-ci.plugins:mercurial (Maven) | before 2.16.1 | 2.16.1 | Patch available | GHSA-5786-3qjg-mr88 |
- Jenkins Mercurial Plugin VendorJenkins Affected up to 2.16 Fixed in 2.15.1 Patch available CNA
- org.jenkins-ci.plugins:mercurial (Maven) Vendor— Affected before 2.16.1 Fixed in 2.16.1 Patch available GHSA-5786-3qjg-mr88
Remediation
- Fix · CNA Jenkins Mercurial Plugin (Jenkins project) Fixed in 2.15.1
- Fix · GHSA-5786-3qjg-mr88 org.jenkins-ci.plugins:mercurial (Maven) Fixed in 2.16.1 Advisory →
Red Hat 1 advisory
- RHSA-2023:0017 Released 2023-01-12 · Red Hat rating ImportantOpenShift Container Platform 4.8.56 packages and security update
- Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins-4.8.1672842762-1.el8, jenkins-2.361.1.1672840472-1.el8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4.8 | Fixed | RHSA-2023:0017 |
Not affected: 1 product
- Red Hat OpenShift Container Platform 4.8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-30948
- 2026-10-03 Alias added: GHSA-5786-3qjg-mr88
References
Advisory 3
More Jenkins Mercurial vulnerabilities
- TI-2022-21205 Information disclosure in Jenkins Mercurial Plugin CVSS 3.1MEDIUM 5.3
- TI-2020-02182 XML external entity injection in Jenkins Mercurial Plugin CVSS 3.1MEDIUM 6.5
- TI-2018-15765 An improper authorization vulnerability exists in Jenkins Mercurial Plugin version 2.2… CVSS 3.0MEDIUM 5.3
- TI-2020-02183 Missing authorization in Jenkins Mercurial Plugin CVSS 3.1MEDIUM 4.3
Sources
- CVE-2022-30948 · CVE Program
- CVE-2022-30948 · NVD
- FIRST EPSS
- GHSA-5786-3qjg-mr88 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-30948 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences