Every CVE Search/ Get API key

CVE-2022-30947

Path traversal in Jenkins Git Mercurial and Repo Plugins

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.30%Up 0.4 points since May 18, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2022-30947
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-30947
Updated
2026-11-02
EUVDEUVD-2022-3101 No score

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.

Record
EUVD-2022-3101
Updated
2026-11-03
GitHub AdvisoriesGHSA-84cm-vjwm-m979 7.5

Path traversal in Jenkins Git Mercurial and Repo Plugins

Jenkins SCMs support a number of different URL schemes, including local file system paths (e.g. using file: URLs).

Historically in Jenkins, only agents checked out from SCM, and if multiple projects share the same agent, there is no expected isolation between builds besides using different workspaces unless overridden. Some Pipeline-related features check out SCMs from the Jenkins controller as well.

This 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.

Record
GHSA-84cm-vjwm-m979
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2022-30947
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-84cm-vjwm-m979 7.5

Path traversal in Jenkins Git Mercurial and Repo Plugins

Jenkins SCMs support a number of different URL schemes, including local file system paths (e.g. using file: URLs).

Historically in Jenkins, only agents checked out from SCM, and if multiple projects share the same agent, there is no expected isolation between builds besides using different workspaces unless overridden. Some Pipeline-related features check out SCMs from the Jenkins controller as well.

This 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.

Record
GHSA-84cm-vjwm-m979
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.jenkins-ci.plugins:git
Maven
through 4.11.1
4.11.2
org.jenkins-ci.plugins:mercurial
Maven
through 2.16
2.16.1
org.jenkins-ci.plugins:repo
Maven
through 1.14.0
1.15.0
org.jenkins-ci.plugins:git
Maven
before 4.11.2, plus listed versions
1.2.01.3.01.4.01.5.01.6.0-beta-1
Show 45 moreShow less
2.02.0-beta-22.0-beta-32.0.12.0.22.0.32.0.42.1.02.2.02.2.12.2.102.2.112.2.122.2.22.2.32.2.42.2.52.2.62.2.72.2.82.2.92.32.3-beta-12.3-beta-22.3-beta-32.3-beta-42.3.12.3.22.3.32.3.42.3.52.4.02.4.12.4.22.4.32.4.42.5.02.5.0-beta12.5.0-beta22.5.0-beta32.5.0-beta42.5.0-beta52.5.12.5.22.5.3
4.11.2
org.jenkins-ci.plugins:mercurial
Maven
before 2.16.1, plus listed versions
1.371.381.391.401.41
Show 45 moreShow less
1.421.431.441.451.461.471.481.48-beta-11.491.501.50-beta-11.50-beta-21.50.11.511.51-beta-11.51-beta-21.51-beta-31.521.531.541.551.561.571.581.58-beta-11.591.601.612.02.0-alpha-12.0-alpha-42.0-beta-12.12.102.10.12.112.122.132.142.152.15.12.15.22.162.22.3
2.16.1
org.jenkins-ci.plugins:repo
Maven
before 1.15.0, plus listed versions
1.01.11.10.01.10.11.10.2
Show 22 moreShow less
1.10.31.10.41.10.51.10.61.10.71.11.01.11.11.12.01.12.11.12.21.13.01.14.01.14.11.21.2.11.31.51.61.71.7.11.8.01.9.0
1.15.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-30947 is a high vulnerability (CVSS 7.5) in Jenkins Git, published May 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.30%, the 70th percentile. Fixed in org.jenkins-ci.plugins:git 4.11.2.

References

This page doesn't list everything

Left out here: 108 versions. The JSON record has them.

MoveEnter Open