Publish to Bitbucket
CVE-2025-64150
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with Overall/Read access
-
DeliveryObtain valid credential IDs via another method
-
ExploitSpecify attacker-controlled URL and credential ID
-
ExecutionPlugin transmits stored credential
-
ImpactCapture exfiltrated credential
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Jenkins account with at least Overall/Read permission (the lowest authenticated tier), so it is not exploitable by anonymous users unless anonymous read is enabled. The attacker must also already know a valid credentials ID stored in Jenkins, which the description states is 'obtained through another method' - a meaningful limiting prerequisite. The attacker must be able to direct the plugin to an attacker-controlled URL to receive the exfiltrated secret. Affected deployments are those running Publish to Bitbucket Plugin version 0.4 or earlier; later/patched versions are not affected. |
| Impact | This is a moderate, authenticated-access credential-disclosure issue, not an urgent priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, base 5.4) describes a network-reachable flaw requiring low privileges (Jenkins Overall/Read) and no user interaction. Exploitation status is 'no public exploit identified at time of analysis' - there is no KEV listing and no POC referenced. The EPSS score of 0.24% (14th percentile) reinforces low near-term exploitation likelihood. No SSVC decision record was provided. The signals are internally consistent: network vector matches a web-based Jenkins plugin action, and PR:L correctly reflects that Overall/Read is the minimum authenticated level - this is an authorization gap (CWE-862 Missing Authorization), so an attacker must already hold a valid Jenkins account. One nuance to verify: the description notes credential IDs must be 'obtained through another method,' an additional prerequisite the base CVSS AC:L does not fully capture, and the real impact (theft of stored secrets) is arguably higher than the official C:L rating suggests. Overall this is a credible insider/low-privilege-account risk in environments where many users hold Overall/Read, but it is not a widespread remote-unauthenticated threat. |
| Exploit ScenarioDerived | An attacker who holds only a low-privilege Jenkins account (Overall/Read) and has separately learned the ID of a stored credential invokes the plugin's connection-test function, pointing it at a server they control and selecting that credential ID. The plugin, lacking a permission check, sends the stored credential to the attacker's URL, disclosing secrets the user should not have access to. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Credential disclosure in the Jenkins Publish to Bitbucket Plugin 0.4 and earlier allows authenticated users holding only Overall/Read permission to point the plugin at an attacker-controlled URL and capture Jenkins-stored credentials. Exploitation is not trivial: the attacker must already possess a valid credentials ID (obtained through another method per the description) and must control the endpoint the plugin contacts, which is why this is assessed as a moderate, authenticated-access issue rather than an urgent priority; this maps to an assessed vector of AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N. No public exploit has been identified at time of analysis, the issue is not in CISA KEV, and EPSS is low at 0.24% (14th percentile).
RemediationAI
The primary fix is to upgrade the Jenkins Publish to Bitbucket Plugin to the version identified as fixed in the Jenkins security advisory for SECURITY-3576 (2025-10-29, https://www.jenkins.io/security/advisory/2025-10-29/#SECURITY-3576); the advisory is the authoritative source for the exact patched release, and that version should be applied or exceeded on all controllers running the plugin. If immediate upgrade is not possible, disable the Publish to Bitbucket Plugin entirely - the trade-off is loss of the Bitbucket publishing functionality - and in the meantime restrict which accounts hold Overall/Read permission, in particular disabling anonymous read access, since anonymous exploitation is only possible when that setting is on; note that this reduces but does not eliminate exposure from legitimate low-privileged users. Because the flaw allows the contents of Jenkins-stored credentials to be exfiltrated, rotate any credentials whose IDs could have been observed by an untrusted user, and review controller logs for outbound connections to unexpected hosts from the plugin, accepting that credential rotation may require updating dependent jobs and external systems. There is no vendor-released patch identifier for this plugin recorded in the supplied data beyond the advisory reference, so confirm the fixed version directly against that advisory before considering the issue closed; no public exploit code has been identified at time of analysis, so no emergency out-of-band response is indicated.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-862 (Missing Authorization) in the Jenkins Publish to Bitbucket Plugin, which handles credential-bearing connectivity to Bitbucket endpoints. Because the plugin fails to enforce a permission check on the code path that performs outbound connections, any user with the baseline Overall/Read permission can invoke that functionality while supplying two attacker-controlled inputs: the destination URL and a credentials ID. The plugin then resolves that ID against the Jenkins credentials store and transmits the associated secret to the supplied URL, resulting in confidentiality loss. The CVSS 3.1 vector supplied with the CVE (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) confirms remote reachability and Low privileges (PR:L), i.e. authentication is required and the lowest authenticated tier - Overall/Read - is sufficient; anonymous exploitation is possible only where anonymous read access has been explicitly enabled. Our independent assessment retains AV:N and PR:L but rates AC:H and C:H instead of C:L, reflecting two real friction points: the attacker must already know the target credentials ID, and the outbound connection must be steered to an attacker-controlled listener. There is no integrity or availability impact in the assessed vector. The affected technology is a Jenkins plugin running inside the Jenkins controller JVM, so exfiltrated secrets are the build/deployment credentials managed by that controller - frequently high-value in CI/CD environments.
Know when Publish To Bitbucket gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Overall/Read is authenticated so PR:L; needing a credential ID obtained separately raises AC:H; theft of stored secrets is high confidentiality with no integrity or availability impact.
Primary rating from Vendor (googlegroups).
CVSS VectorVendor: googlegroups
DescriptionCVE.org
A missing permission check in Jenkins Publish to Bitbucket Plugin 0.4 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Publish To Bitbucket
View allCross-site request forgery in the Jenkins Publish to Bitbucket Plugin 0.4 and earlier allows an attacker to ride a victi
Credential ID enumeration in Jenkins Publish to Bitbucket Plugin 0.4 and earlier lets any authenticated user holding Ove
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB