CWE-527: Exposure of Version-Control Repository to an Unauthorized Control Sphere
The product stores a CVS, git, or other repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors.
Last updated
Overview
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.
Real-world CVEs
4 recorded CVEs are caused by CWE-527 (Exposure of Version-Control Repository to an Unauthorized Control Sphere). The highest-severity and most recent are shown first. 2 new CWE-527 CVEs have been recorded so far in 2026.
- CVE-2026-84149
Information Disclosure Vulnerability in Manacle Technologies ERP System
Critical · CVSS 9.2 · EPSS 44th2026-09-01 - CVE-2026-109326
Grav before 2.1.7 Information Disclosure via Nested .git Directories
High · CVSS 8.7 · EPSS 27th2026-10-12 - CVE-2021-21423
Rebuild-bot workflow may allow unauthorised repository modifications