CVE-2022-30949 is a low-severity (CVSS 3.7) vulnerability in org.jenkins-ci.plugins:repo. A fix is available for org.jenkins-ci.plugins:repo — see the affected versions and patch details below.
Path traversal in Jenkins REPO Plugin
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
org.jenkins-ci.plugins:repo☕org.jenkins-ci.plugins:mercurial☕org.jenkins-ci.plugins:gitReal-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
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins:repo | all versions | 1.14.1org.jenkins-ci.plugins:repo:1.14.1 |
| ☕Maven | org.jenkins-ci.plugins:mercurial | all versions | 2.16.1org.jenkins-ci.plugins:mercurial:2.16.1 |
| ☕Maven | org.jenkins-ci.plugins:git | all versions | 4.11.2org.jenkins-ci.plugins:git:4.11.2 |
Affected Products
repojenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins:repo, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins:repo to 1.14.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-30949 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2022-30949 in your dependencies?
Find it across Maven, including transitive dependencies.