Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/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
Network-reachable endpoint requires valid credentials (PR:L); only unauthorized space listing is exposed yielding low confidentiality impact with no integrity, availability, or scope-change effects.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was determined in Harness up to 2.28.2. This vulnerability affects the function getAuthorizedSpaces of the file app/api/controller/gitspace/list_all.go of the component gitspaces Endpoint. Executing a manipulation can lead to authorization bypass. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
AnalysisAI
Authorization bypass in Harness gitspaces endpoint (versions up to 2.28.2) permits any authenticated remote user to enumerate workspace listings beyond their authorized scope via a flaw in the getAuthorizedSpaces function of app/api/controller/gitspace/list_all.go. The confidentiality impact is limited to space listing disclosure - no integrity or availability impact is present - but publicly available exploit code (CVSS 4.0 E:P) lowers the exploitation barrier significantly. Vendor has not responded to the responsible disclosure, leaving no patch available at time of analysis.
Technical ContextAI
The vulnerability exists within Harness's internal gitspaces API controller at app/api/controller/gitspace/list_all.go, specifically the getAuthorizedSpaces function responsible for filtering the list of development environments (gitspaces) returned to a requesting user. CWE-285 (Improper Authorization) identifies the root cause: the function fails to correctly enforce access control boundaries, allowing the API to return space entries that should be restricted based on the caller's privilege level. Harness is an open-source CI/CD and developer platform; gitspaces are cloud-hosted development environments managed through the platform. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L) confirms the endpoint is reachable over the network without special attack requirements, though a valid authenticated session is required.
RemediationAI
No vendor-released patch has been identified at time of analysis - the Harness project was notified via responsible disclosure but has not responded, per the CVE description. Organizations should monitor the upstream issue at https://github.com/harness/harness/issues/3689 and the VulDB entry at https://vuldb.com/vuln/376787 for patch availability. As compensating controls, restrict access to the gitspaces list-all API endpoint at the reverse proxy or API gateway layer so only administrative roles or specifically authorized user groups can reach it - note this may disrupt legitimate gitspace browsing for lower-privileged users. Applying network segmentation or VPN-gating to the Harness API surface reduces the pool of potential attackers to already-trusted internal users. If the gitspaces feature is not actively used, disabling or firewalling the endpoint entirely eliminates the attack surface with no functional cost. Audit existing Harness user accounts to minimize the number of low-privileged accounts that have access to the gitspaces UI, reducing the available attacker pool while the vendor develops a fix.
Same weakness CWE-285 – Improper Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42281
GHSA-2gx4-76v6-f2pq