All reports
Medium

Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin

Affected versions

Affected versions
< 2.9.7.2
Fixed version
2.9.7.2
Affected versions
>= 2.9.8, < 2.9.11.2
Fixed version
2.9.11.2
Affected versions
>= 720.vbe985dd73d66, < 725.vd9f8be0fa250
Fixed version
725.vd9f8be0fa250
Affected versions
>= 726.v7e6f53de133c, < 746.v350d2781c184
Fixed version
746.v350d2781c184
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-20618

Probability of exploitation in the next 30 days: 0.88%

FIRST EPSS · 2026-11-24

Description

Jenkins Bitbucket Branch Source Plugin prior to 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 does not perform permission checks in several HTTP endpoints.

This allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.

An enumeration of credentials IDs in Bitbucket Branch Source Plugin 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 requires the appropriate permissions.

Links

Credits

  • NotMyFault
  • westonsteimel