GitLab Email Feature Enabled Unauthorized Code Injection
A persistent, non-expiring security token in GitLab's project email system now leaves private repositories at risk.
Updated on Sept. 23, 2026 in Cybersecurity

Live Poll
Do you trust that automated email-to-code features are sufficiently secure for your private data?
A vulnerability in the 'Email work item to this project' feature on GitLab has been identified that allows for unauthorized code injection into private repositories. The issue stems from the use of a long-lived glimt-incoming-email token that fails to expire, potentially granting attackers access when project email addresses are exposed.
Why it matters
The persistent nature of the authentication token creates a long-term security risk for developers who rely on email-based project updates. Because the token does not rotate or expire, the integrity of a private repository remains compromised indefinitely once an email address is leaked.
The vulnerability involves a glimt-incoming-email token that lacks an expiration mechanism, a departure from standard cryptographic practices where tokens rotate to minimize risk. This static token is used to authenticate incoming email work items directly into private GitLab projects.
The players
GitLab
An integrated software development platform that provides CI/CD, version control, and project management tools for enterprise and open-source teams.
The details
The mechanism relies on the Email work item feature, which processes incoming messages into project-specific data. Attackers can exploit this by intercepting the static glimt-incoming-email token associated with a specific project email address. Once the token is acquired, it functions as a persistent key to inject code or data, as the platform does not trigger an expiration event for the credential.
Timeline
September 23, 2026: Researcher published findings on the vulnerability.
The Tech Race
This incident highlights the tension between user convenience and security within integrated development platforms that support email-based workflows. It underscores the ongoing industry push toward ephemeral, short-lived credentials as a replacement for static tokens in CI/CD and repository management.
Developers and repository owners should immediately audit the exposure of their private project email addresses to mitigate the risk of token interception. Users should investigate whether their current project configurations rely on long-lived email tokens and implement secondary access controls until a platform-level patch is issued.
The takeaway
Security teams should prioritize rotating any static tokens currently in use within project-linked email services to protect sensitive codebases. Monitor official security bulletins for specific patches or configuration guidance to disable the vulnerable email integration if it is not strictly required.
Further reading
For broader context on securing developer environments, visit the Cybersecurity section.
Live Poll
Do you trust that automated email-to-code features are sufficiently secure for your private data?






