In Jenkins Bitbucket Branch Source Plugin 866.vdea7dcd3008e and earlier, except 848.850.v6aa2a234a_c81, when discovering pull requests from forks, the trust policy "Forks in the same account" allows changes to Jenkinsfiles from users without write access to the project when using Bitbucket Server.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "848.850.v6a_a_2a_234a_c81"
},
{
"introduced": "0"
},
{
"last_affected": "856.v04c46c86f911"
},
{
"introduced": "0"
},
{
"last_affected": "866.vdea_7dcd3008e"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28152.json"
"2026-04-12T10:25:01Z"
[
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/6aa2a234ac81b6f4c6ca9ae6e465e4ff35dde071",
"digest": {
"function_hash": "66523165340550917703522118877406842793",
"length": 264.0
},
"id": "CVE-2024-28152-cc10ffda",
"deprecated": false,
"target": {
"file": "src/main/java/com/cloudbees/jenkins/plugins/bitbucket/ForkPullRequestDiscoveryTrait.java",
"function": "checkTrusted"
}
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/6aa2a234ac81b6f4c6ca9ae6e465e4ff35dde071",
"digest": {
"threshold": 0.9,
"line_hashes": [
"30890580078752889672481009885636430360",
"229402029620681632373804298718475472446",
"256905793418602869343659903632231533641",
"212546324705304523228493246612319086967"
]
},
"id": "CVE-2024-28152-f7826a9c",
"deprecated": false,
"target": {
"file": "src/main/java/com/cloudbees/jenkins/plugins/bitbucket/ForkPullRequestDiscoveryTrait.java"
}
}
]