---
title: "CWE-527: Exposure of Version-Control Repository to an Unauthorized Control Sphere"
url: https://radicalnotion.ai/cwe/cwe-527
type: cwe
description: "The product stores a CVS, git, or other source-control repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-527: Exposure of Version-Control Repository to an Unauthorized Control Sphere

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 4
- **Of those, in CISA KEV:** 0
- **New in 2026:** 2
- **CWE catalog version:** 4.21

## Description

The product stores a CVS, git, or other source-control repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors.

Version control repositories such as CVS or git store version-specific metadata and other details within subdirectories. If these subdirectories are stored on a web server or added to an archive, then these could be used by an attacker. This information may include usernames, filenames, path root, IP addresses, and detailed "diff" data about how files have been changed - which could reveal source code snippets that were never intended to be made public.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Operation | OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase. |

## Applicable platforms

**Technologies:** Web Based (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data, Read Files or Directories | - |

## Potential mitigations

### Operation, Distribution, System Configuration

Recommendations include removing any CVS directories and repositories from the production server, disabling the use of remote CVS repositories, and ensuring that the latest CVS patches and version updates have been performed.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-84149 | Information Disclosure Vulnerability in Manacle Technologies ERP System | critical | 9.2 | - | No | 2026-09-01 |
| CVE-2026-109326 | Grav before 2.1.7 Information Disclosure via Nested .git Directories | high | 8.7 | - | No | 2026-10-12 |
| CVE-2021-21423 | Exposure of Version-Control Repository to an Unauthorized Control Sphere in projen | high | 7.6 | - | No | 2021-04-06 |
| CVE-2022-20931 | Cisco Touch 10 Device Downgrade Attack Vulnerability | medium | 6.5 | - | No | 2024-11-15 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-552](https://radicalnotion.ai/cwe/cwe-552) | Files or Directories Accessible to External Parties |

## Frequently asked questions

### What is CWE-527?

The product stores a CVS, git, or other source-control repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors.

### What CVEs are caused by CWE-527?

4 recorded CVEs are attributed to CWE-527, including CVE-2026-84149, CVE-2026-109326 and CVE-2021-21423.

### How do you prevent CWE-527?

Recommendations include removing any CVS directories and repositories from the production server, disabling the use of remote CVS repositories, and ensuring that the latest CVS patches and version updates have been performed.

### What are the consequences of CWE-527?

Exploiting CWE-527 can lead to: Read Application Data, Read Files or Directories.

### Is CWE-527 actively exploited?

4 recorded CVEs are caused by CWE-527; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/527.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-527). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
