CVE-2026-15036: Harness Gitspaces Authorization Bypass (CVSS 4.3)
Harness versions up to 2.28.2 contain an authorization bypass vulnerability in the gitspaces endpoint that allows authenticated users to access workspace data they should not be able to see. An attacker with valid Harness credentials can manipulate requests to the getAuthorizedSpaces function to view information about spaces belonging to other users or teams. This is a remote attack requiring only network access and valid login credentials. Public exploit details are available, increasing the practical risk.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-285, CWE-639
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-08 / 2026-07-09
NVD description (verbatim)
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.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-15036 is an authorization bypass flaw in the gitspaces list_all.go controller affecting the getAuthorizedSpaces function in Harness up to version 2.28.2. The vulnerability stems from improper access control logic (CWE-285, CWE-639) that fails to validate user permissions correctly when retrieving workspace information. An authenticated attacker can craft requests that bypass authorization checks and retrieve confidential space metadata. The CVSS 3.1 score of 4.3 reflects limited impact—confidentiality is compromised but integrity and availability are unaffected—in an environment where the attacker must already possess valid credentials.
Business impact
This vulnerability allows insider threats and compromised account holders to conduct reconnaissance of your Harness infrastructure. An attacker gaining a single developer or CI/CD user account could enumerate all gitspaces across your organization, revealing project structure, team names, and deployment configurations. While the direct blast radius is information disclosure, this reconnaissance capability can facilitate lateral movement, supply chain targeting, or social engineering. Organizations relying on workspace isolation for multi-tenant or role-based security postures face degraded assurance.
Affected systems
All Harness deployments running version 2.28.2 or earlier are affected. The gitspaces feature must be enabled or in use for exposure. Self-hosted and SaaS Harness instances are both susceptible. No vendor or product list is available in the source data; verify your specific Harness deployment version against the vendor advisory.
Exploitability
Exploitability is moderate. The attack requires valid Harness credentials (authentication), meaning external attackers cannot exploit this directly—it requires insider access, compromised accounts, or supply chain infiltration. However, the flaw is straightforward to trigger once authenticated: a simple API manipulation during normal gitspace enumeration requests bypasses authorization. Public disclosure of the vulnerability further lowers the barrier; an attacker with credentials needs minimal technical sophistication. The lack of vendor response to early notification suggests a patch may be delayed.
Remediation
Upgrade Harness to a version beyond 2.28.2 once a patched release is confirmed by the vendor. If you cannot upgrade immediately, implement network-level access controls restricting gitspaces endpoints to trusted networks or VPNs. Review and enforce strict credential hygiene: rotate API tokens, enforce multi-factor authentication on user accounts, and monitor access logs for suspicious gitspace enumeration patterns. Consider disabling gitspaces entirely if not in active use.
Patch guidance
Monitor Harness release notes and security advisories for version 2.28.3 or later. Verify the advisory explicitly addresses CVE-2026-15036 and CWE-285 authorization bypass fixes before deploying. Test patches in a non-production environment first, as gitspaces changes may affect CI/CD workflows. Apply patches promptly given the public exploit availability.
Detection guidance
Monitor Harness API access logs for repeated calls to getAuthorizedSpaces or list_all endpoints from single users, especially outside business hours or from unusual network locations. Track enumeration of gitspace names or metadata by low-privileged accounts. Alert on any authorization exceptions or permission-denied errors that fail to block subsequent successful API calls. If you have SIEM integration, correlate Harness API access with failed authentication attempts immediately preceding successful gitspace queries.
Why prioritize this
This vulnerability ranks MEDIUM priority but warrants faster remediation than the score alone suggests. The public exploit availability and vendor non-response create urgency. While the CVSS score is modest due to authentication requirement, the attack surface includes all users with Harness access. In zero-trust or high-security environments, any authorization bypass—even read-only—represents a control failure requiring rapid patching.
Risk score, explained
CVSS 3.1 score of 4.3 (MEDIUM) reflects: (1) network accessibility (AV:N), (2) low attack complexity requiring only standard API calls (AC:L), (3) authentication required (PR:L), (4) no user interaction (UI:N), (5) limited scope (S:U), and (6) confidentiality impact only (C:L, I:N, A:N). The score does not escalate despite public disclosure because exploitability assumes a valid attacker account, which is outside CVSS's threat model. In your organization's context, elevation may be warranted if your user base is large or insider-threat risk is elevated.
Frequently asked questions
Do I need to patch immediately if I'm not using gitspaces?
No, immediate patching is lower priority if gitspaces are not enabled or in use. However, verify with your Harness administrator and review your deployment configuration. If there's any chance gitspaces are accessible to users, treat this as a standard-priority patch to prevent misconfiguration exposure.
What does 'publicly disclosed' mean for this vulnerability?
Exploit details, proof-of-concept code, or step-by-step attack instructions have been published on the internet. This lowers the barrier for attackers and increases the likelihood of active exploitation attempts. It is not on CISA's Known Exploited Vulnerabilities (KEV) list yet, but public disclosure alone justifies treating this as more urgent than the CVSS score suggests.
Can this vulnerability be exploited without a valid Harness account?
No. An attacker must already have valid credentials and authentication access to Harness. If you restrict API token distribution, enforce strong access policies, and monitor credential usage, the practical risk is substantially lower. However, insider threats and compromised accounts remain realistic threats.
How do I check if my organization is affected?
Log into your Harness instance and verify the version number in the Settings or About section. If you see version 2.28.2 or earlier, you are affected. Contact your Harness admin if you're unsure. Self-hosted instances should check their deployment manifest; SaaS users can request the current platform version from Harness support.
This analysis is provided for informational purposes and reflects publicly available data as of 2026-07-09. SEC.co does not provide legal or compliance advice. Verify all patch versions and timeline information against official Harness vendor advisories before making remediation decisions. CVSS scores are provided by the National Vulnerability Database; organizational risk varies based on deployment architecture, user base, and threat model. Test all patches in non-production environments before production deployment. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10154MEDIUMDolibarr ERP CRM Authorization Bypass in Messaging Module
- CVE-2026-10212MEDIUMAstrBot 4.24.2 Authorization Bypass via Session ID Manipulation
- CVE-2026-11461MEDIUMhermes-agent Authorization Bypass in Resume Endpoint
- CVE-2026-11500MEDIUMWeaviate Authorization Bypass in Static API Key Handler
- CVE-2026-13512MEDIUMDatabend Authorization Bypass in Session Manager
- CVE-2026-13534MEDIUMAuthorization Bypass in CherryHQ cherry-studio Memory Service
- CVE-2026-13549MEDIUMAuthorization Bypass in CodeAstro Complaint Management System 1.0
- CVE-2026-14608MEDIUMSourceCodester CET Grading System Authorization Bypass