{"id":"CVE-2026-129863","kind":"vulnerability","aliases":["CVE-2026-129863"],"related":[],"title":"GitBucket: authenticated users can edit and merge others' pull requests","description":"GitBucket through 4.48.0 contains an incorrect authorization vulnerability that allows authenticated users to edit and merge other users' pull requests because the PATCH pulls and PUT pulls merge REST API endpoints only check read access. Attackers can close, reopen, retitle, retarget, or merge pull requests into the base branch without write permission on public repositories or as private-repository guest collaborators.","summary":"GitBucket through 4.48.0 has an authorization flaw in its PATCH and PUT pull request REST API endpoints, which only check read access. A signed-in user without write permission can close, reopen, retitle, retarget or merge other users' pull requests.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["gitbucket","java","package","self-hosted"],"not_affected_if":["no-public-repos","no-untrusted-accounts"],"how_to_check":"- Check the installed GitBucket version against the `4.48.0` range in the sources\n- Review whether public repositories or private repositories with guest collaborators are hosted on the instance","fix":"- Upgrade GitBucket past `4.48.0`; the sources name a patch on github.com but do not state the fixed version","status":"open","published_at":"2026-11-16T15:17:24+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","triaged_at":"2026-11-16T15:40:23+00:00","updated_at":"2026-11-16T15:40:23+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T15:40:23Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade GitBucket past `4.48.0`; the sources name a patch on github.com but do not state the fixed version","reach":"network","title":"GitBucket: authenticated users can edit and merge others' pull requests","impact":"medium","summary":"GitBucket through 4.48.0 has an authorization flaw in its PATCH and PUT pull request REST API endpoints, which only check read access. A signed-in user without write permission can close, reopen, retitle, retarget or merge other users' pull requests.","audience":"businesses","category":"package","nicknames":[],"who_cares":["gitbucket","self-hosted","java"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"authenticated users alter or merge other users' pull requests","analyst_note":"Confirm the fixed version from the GitHub patch link; the sources do not name it.","how_to_check":"- Check the installed GitBucket version against the `4.48.0` range in the sources\n- Review whether public repositories or private repositories with guest collaborators are hosted on the instance","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-untrusted-accounts","no-public-repos"],"who_is_affected":"Any GitBucket instance up to and including 4.48.0 where users have accounts. Exposure is highest on public repositories and on private repositories with guest collaborators, because those users can reach the pull request API without write permission. Instances with only trusted users and no public repositories have lower exposure.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"unknown"},"cost_usd":0.000737,"input_tokens":4621,"output_tokens":550,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-129863':13A,16A '-2026':12A,15A '4.48.0':25B,66C 'access':44B,98C 'allow':73C 'api':38B,93C 'attack':99C 'authent':2A,74C 'author':28B,70C 'base':111C 'branch':112C 'check':42B,96C 'close':54B,101C 'collabor':125C 'contain':67C 'cve':11A,14A 'edit':5A,77C 'endpoint':39B,94C 'flaw':29B 'gitbucket':1A,17B,23B,64C 'guest':124C 'host':22B 'incorrect':69C 'java':18B 'merg':7A,59B,79C,91C,106C 'other':8A 'packag':19B 'patch':32B,86C 'permiss':52B,115C 'privat':122C 'private-repositori':121C 'public':117C 'pull':9A,35B,62B,82C,87C,90C,107C 'put':34B,89C 'read':43B,97C 'reopen':55B,102C 'repositori':118C,123C 'request':10A,36B,63B,83C,108C 'rest':37B,92C 'retarget':57B,104C 'retitl':56B,103C 'self':21B 'self-host':20B 'sign':47B 'signed-in':46B 'user':3A,49B,61B,75C,81C 'vulner':71C 'without':50B,113C 'write':51B,114C","nicknames":[],"mitigations":[],"who_affected":"Any GitBucket instance up to and including 4.48.0 where users have accounts. Exposure is highest on public repositories and on private repositories with guest collaborators, because those users can reach the pull request API without write permission. Instances with only trusted users and no public repositories have lower exposure.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["gitbucket","high","java","package","selfhosted"],"campaign_type":null,"search_a":"'-129863':13A,16A '-2026':12A,15A 'authent':2A 'cve':11A,14A 'edit':5A 'gitbucket':1A 'merg':7A 'other':8A 'pull':9A 'request':10A 'user':3A","search_b":"'4.48.0':25B 'access':44B 'api':38B 'author':28B 'check':42B 'close':54B 'endpoint':39B 'flaw':29B 'gitbucket':17B,23B 'host':22B 'java':18B 'merg':59B 'packag':19B 'patch':32B 'permiss':52B 'pull':35B,62B 'put':34B 'read':43B 'reopen':55B 'request':36B,63B 'rest':37B 'retarget':57B 'retitl':56B 'self':21B 'self-host':20B 'sign':47B 'signed-in':46B 'user':49B,61B 'without':50B 'write':51B","search_c":"'4.48.0':66C 'access':98C 'allow':73C 'api':93C 'attack':99C 'authent':74C 'author':70C 'base':111C 'branch':112C 'check':96C 'close':101C 'collabor':125C 'contain':67C 'edit':77C 'endpoint':94C 'gitbucket':64C 'guest':124C 'incorrect':69C 'merg':79C,91C,106C 'patch':86C 'permiss':115C 'privat':122C 'private-repositori':121C 'public':117C 'pull':82C,87C,90C,107C 'put':89C 'read':97C 'reopen':102C 'repositori':118C,123C 'request':83C,108C 'rest':92C 'retarget':104C 'retitl':103C 'user':75C,81C 'vulner':71C 'without':113C 'write':114C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:24+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129863","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129863","severity":null,"published_at":"2026-11-16T15:17:24+00:00","modified_at":"2026-11-16T15:17:24+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","fetched_at":"2026-11-16T15:37:52+00:00","note":null}],"documents":[{"id":170576,"url":"https://github.com/gitbucket/gitbucket/commit/876c8524967356dfea4a0508c4e1444ad8c80832","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170577,"url":"https://www.vulncheck.com/advisories/gitbucket-through-4.48.0-incorrect-authorization-via-pull-request-api-endpoints","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}