AI & ML

Security Flaw in GitLab’s Email Feature Poses Risks to Project Integrity

GitLab's email feature, intended for issue creation, bears security weaknesses that could compromise project integrity if addresses are exposed.

Sep 25, 2026 ● 3 min read
Sign in to save

GitLab introduced an email feature designed to streamline issue creation, allowing developers to send messages directly to specific projects. However, security issues have emerged, with a persistent access token embedded in these email addresses that could expose repositories to unauthorized access. If project owners inadvertently disclose these addresses, they risk potential exploitation. This could have far-reaching consequences for project security, especially considering the collaborative nature of modern software development. By enabling easier issue tracking, GitLab may inadvertently be opening doors to significant vulnerabilities.

Understanding the Email Feature

The email address functionality, labeled “Email work item to this project,” grants broader access than anticipated, according to findings from Aikido Security. This feature is enabled by default on all GitLab.com accounts and is also applicable to self-hosted instances, and it circumvents common security measures. Users may be unaware that by simply sending an email, they can affect project development without proper authentication checks. The ease of use might seem attractive at first glance, but the lack of stringent security measures raises critical concerns. Developers expect security to be embedded in the systems they use, not an optional extra.

Joseph Leon, a security researcher at Aikido, emphasized that the capability granted by this feature is troubling: anyone with the email address can push changes and execute continuous integration/continuous deployment (CI/CD) tasks across all accessible projects. “Essentially, if GitLab enforced that the ‘from’ email must match the user's registered email, it would significantly reduce the associated risks,” he remarked in an interview. This suggestion appears obvious, yet it underscores a potential lapse in oversight on GitLab's part. By not implementing such a fundamental requirement, they've left a significant vulnerability in their system.

IP Restrictions Bypass

GitLab does permit users to restrict access based on IP addresses, but these protections don’t extend to the email functionality. Aikido's tests indicated that while their browser access was blocked, emails were still accepted, allowing potentially harmful commands to be executed. Such a discrepancy reveals a significant flaw: if users believe their systems are secure due to IP restrictions, they might be unaware of the backdoor that has been left open through email. GitLab upholds that this operation is by design and not a flaw, but Aikido challenges this perspective, arguing the email functionality should not act as a credential that bypasses security protocols. This raises questions about the design philosophy that prioritizes convenience over security.

The problematic email addresses take a format like incoming+project-id-glimt-XXXXXXXXXXXXXX-issue@incoming.gitlab.com. The fundamental issue lies within the personal access token (PAT)—denoted by “glimt-”—that’s meant to remain confidential. GitLab warns users to keep this token secure because possession grants the ability to create issues impersonating the user. The consequence of this is alarming, as a single compromised token could lead to unauthorized actions across multiple projects.

However, Aikido contends that despite safeguards, the token’s use is broader than GitLab suggests. Multiple projects tied to the same account share an identical token, which raises concerns about widespread compromise. This token doesn’t merely facilitate issue creation; it could potentially be manipulated to initiate merge requests, allowing malicious actors to execute unauthorized code within CI/CD pipelines. If you're working in this space, you might want to rethink how you manage access levels and permissions within your projects. Implementing best practices around token management is more pressing than ever.

Merge Requests and Their Risks

After Aikido presented their findings, GitLab updated the interface to clarify that the token could enable both issue creation and merge requests. That said, while the token does offer significant power, it does not grant unlimited access; the capabilities remain aligned with the permissions associated with the user's account. “If the user can deploy code or trigger CI/CD jobs, the risks posed by the email feature can be substantial,” Leon noted. This is more significant than it looks. The implications of such vulnerabilities are directly tied to the power users have within their repositories.

What's concerning is the high likelihood that these email addresses could be exposed. Leon admitted to discovering multiple such addresses online in a short span, including those belonging to notable open-source projects like wget2. This raises an alarming point—it's common for project maintainers to accidentally leak sensitive information. This situation doesn't just pose a risk to individual projects; it could have a domino effect on larger ecosystems. Aikido advises treating these email addresses with the seriousness of credentials, advocating for organizations to conduct checks for any public exposure and to reset tokens whenever there is suspicion of a leak. This is a wake-up call for many, especially for those who may be inclined to overlook risks in favor of convenience.

Implications and Future Outlook

The implications of these vulnerabilities extend beyond GitLab. They highlight a pressing need for all software development platforms to reassess their security models, especially those involving sensitive integrations. As organizations increasingly rely on SaaS solutions, the risk associated with misconfigurations and unguarded features becomes more pronounced. GitLab and similar platforms must prioritize not only user experience but also security integrity to prevent abuse of their services.

Looking ahead, this could spur a wave of revisions to security protocols and user education around the management of access tokens and email functionalities across platforms. Developers are unlikely to abandon convenient features, but with heightened scrutiny on security, there’s an opportunity for GitLab to improve and bolster its defenses. By responding to this critique and implementing the suggested changes, GitLab could not only enhance their service but also restore confidence among their user base that their systems can protect against such vulnerabilities.

This article first appeared on InfoWorld.

Source: Christopher Johnson · www.csoonline.com

Comments

Sign in to join the discussion.