# CVE-2022-30947: Path traversal in Jenkins Git Mercurial and Repo Plugins

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.30%, higher than 71% of CVEs (2026-12-01)
- Published: 2022-05-17T14:06:05.000Z
- Modified: 2026-06-17T04:44:30.353Z
- Also known as: GHSA-84cm-vjwm-m979
- Weaknesses: CWE-22
- Assigned by: jenkins

## Description

Jenkins Git Plugin 4.11.1 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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Git Plugin: from unspecified up to 4.11.1 (not affected: 4.9.1)
- org.jenkins-ci.plugins:git (Maven): before 4.11.2
- org.jenkins-ci.plugins:mercurial (Maven): before 2.16.1
- org.jenkins-ci.plugins:repo (Maven): before 1.15.0
- jenkins git: before 4.11.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2478> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/05/17/8> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30947> (advisory)
- <https://github.com/jenkinsci/git-plugin/commit/b295606e0b865c298fde27bea14f9b7535a976e6> (web)
- <https://github.com/jenkinsci/mercurial-plugin/commit/55904fbb8c9d3e0b36fc26330374904cb68e8758> (web)
- <https://github.com/jenkinsci/repo-plugin/commit/3c8e6236b1088fc138a1a3e6af5ebbcb8b616f2f> (web)
- <https://github.com/jenkinsci/git-plugin> (package)

## Sources

- CVE List: [CVE-2022-30947](https://www.cve.org/CVERecord?id=CVE-2022-30947), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-84cm-vjwm-m979](https://github.com/advisories/GHSA-84cm-vjwm-m979), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-30947](https://nvd.nist.gov/vuln/detail/CVE-2022-30947), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-30947 · Whole record: https://cve.day/CVE-2022-30947.json · Rebuilt by cve.day 2026-11-25T22:58:11.749Z
