CVE-2023-41937
Java vulnerability analysis and mitigation

Overview

Jenkins Bitbucket Push and Pull Request Plugin versions 2.4.0 through 2.8.3 contains a Server-Side Request Forgery (SSRF) vulnerability identified as CVE-2023-41937. The vulnerability was discovered in September 2023 and affects the webhook endpoint functionality of the plugin. This security issue allows attackers to potentially capture Bitbucket credentials stored in Jenkins through crafted webhook payloads (Jenkins Advisory, OSS Security).

Technical details

The vulnerability exists in the webhook endpoint at /bitbucket-hook/ that receives webhook notifications. When processing these notifications, the plugin trusts values provided in the webhook payload, including certain URLs, and uses configured Bitbucket credentials to connect to those URLs. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating a high impact on confidentiality (NVD).

Impact

The primary impact of this vulnerability is the potential exposure of Bitbucket credentials stored in Jenkins. Attackers can capture these credentials by sending specially crafted webhook payloads that force connections to attacker-controlled servers (GitHub Security Lab).

Exploitability

Successful exploitation requires that a build is triggered, which occurs in two scenarios: when the repository has changed since the previous build, or when the option 'Trigger also if nothing has changed in the repo' is checked. An attacker can potentially exploit this by repeatedly sending events and attempting to win a race condition against the actual SCM when a change occurs (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Bitbucket Push and Pull Request Plugin version 2.8.4. The fix ensures that the plugin only connects to the Bitbucket endpoint configured for the job when acting on a webhook notification, rather than trusting URLs from the webhook payload (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management