All reports
Medium

Improper Limitation of a Pathname to a Restricted Directory in Jenkins Pipeline: Shared Groovy Libraries Plugin

Affected versions

Affected versions
>= 2.19, < 2.21.1
Fixed version
2.21.1
Affected versions
< 2.18.1
Fixed version
2.18.1
Affected versions
>= 2.22, <= 552.vd9cc05b8a2e1
Fixed version
561.va_ce0de3c2d69

Exploitation

CVE-2022-25178

Probability of exploitation in the next 30 days: 1.67%

FIRST EPSS · 2026-11-23

Description

Jenkins Pipeline: Shared Groovy Libraries Plugin does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

Links

Credits

  • westonsteimel