Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsTools
ProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

3030+ Articles
170+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. News
  3. GitLab Email Addresses Can Be Weaponized for Supply Chain Attacks
GitLab Email Addresses Can Be Weaponized for Supply Chain Attacks
NEWS

GitLab Email Addresses Can Be Weaponized for Supply Chain Attacks

Aikido Security: GitLab's incoming-email address embeds an account-wide token letting attackers push code, run CI jobs, and bypass IP allowlists and 2FA.

Dylan H.

News Desk

September 24, 2026
6 min read

GitLab's Per-User Incoming Email Address Doubles as an Unexpiring Access Token

GitLab automatically issues every user on the platform a private "incoming email" address for creating issues by email — a convenience feature also found on tools like Trello and Todoist. Research published September 23, 2026 by Aikido Security researcher Joe Leon found that GitLab's implementation goes much further than issue creation: the address embeds a long-lived, account-wide access token that, according to Aikido, functions as "both authentication and authorization" for anyone who obtains it — no login, no two-factor prompt, and no IP allowlist check required.


Details

AttributeValue
PlatformGitLab.com and self-managed GitLab (with incoming email enabled); GitLab Dedicated reportedly not affected
Vulnerability TypeBroken authentication/authorization via leaked credential embedded in a per-user email address
Discovered ByJoe Leon, Aikido Security
Disclosure TimelineReported via HackerOne May 2026; confidential GitLab issue opened June 2026; public disclosure September 23, 2026
CVE IDNone assigned — GitLab treats the token's capabilities as intended design, not a traditional vulnerability
StatusDocumentation updated by GitLab; underlying behavior unchanged as of publication
RiskHigh — full push/CI access to private repositories, IP-allowlist and 2FA bypass

How It Works

An address that looks project-scoped but isn't

Every GitLab project issue-tracker page displays a unique-looking incoming email address in the form incoming+project-id-glimt-token-issue@incoming.gitlab.com. The interface presents this as tied to that specific project, but Aikido found that the glimt- token segment is actually generated once per user account — the same token appears embedded in the address for every project that user can access. Anyone who obtains a single leaked address effectively holds a master key to that user's entire footprint on the platform, not just one repository.

From "create an issue" to "push to main"

GitLab's mail handler does not verify that an incoming message actually originated from the token owner's mailbox — the token in the address is treated as sufficient proof of identity. Aikido demonstrated that swapping the -issue suffix for -merge-request, attaching a Git patch file, and naming a source branch in the email subject causes GitLab to apply that patch as a merge request authored by the token's owner. If the victim holds Maintainer rights, the patch can land directly on a protected branch, including main, with the commit attributed to the victim's identity.

CI/CD execution and secrets exposure

Because a submitted patch can modify .gitlab-ci.yml, an attacker-controlled pipeline definition executes inside the victim's project the moment the merge request is created. Aikido's researchers confirmed this path could be used to exfiltrate private source code, read CI/CD variables and secrets, and leverage the job-scoped CI_JOB_TOKEN to reach further into connected resources. The same route also allows retrieval of confidential issues via GitLab's /move quick action.

Bypassing IP allowlists and two-factor authentication

To test real-world impact, Aikido configured a private test project to accept connections only from an unrelated, unauthorized IP address. Standard browser access and git clone over HTTPS/SSH were correctly blocked. The emailed patch, however, was processed normally and landed a commit on main — because inbound mail processing sits outside the IP-restriction and 2FA enforcement paths entirely. Organizations relying on IP allowlisting as a compensating control for sensitive repositories have no equivalent protection against this route.

Impact Assessment

Impact AreaDescription
Source code integrityAttackers can push unauthorized commits, including to protected branches, attributed to the legitimate token owner
ConfidentialityPrivate repository source, confidential issues, and CI/CD variables/secrets can be exfiltrated
Access control bypassIP allowlists and two-factor authentication provide no protection against this attack path
Supply chain riskMalicious .gitlab-ci.yml changes can inject attacker-controlled build/deploy steps into downstream pipelines
Detection difficultyMalicious activity appears as normal issue/merge-request email intake, with commits attributed to the real account owner
Token exposure surfaceAddresses are routinely pasted into documentation, ticketing systems, forwarding rules, and scripts — all became de facto secrets retroactively

Recommendations

For GitLab administrators

  • Treat every incoming-email address as a live credential, not a UI convenience. Audit where these addresses have been shared, documented, or committed to code.
  • On self-managed instances, evaluate whether the incoming email feature is required; disable it where it is not in active use.
  • Monitor for unexpected merge requests or issues originating from mail-gateway intake, particularly changes touching .gitlab-ci.yml.

For DevOps and platform teams

  • Rotate incoming-email tokens immediately by resetting the address from the personal access tokens page in your GitLab profile — this replaces the token for all projects at once, so distribute the new address to legitimate automation before the old one stops working.
  • Run secret-scanning tooling (custom rules or updated GitLab-aware scanners) against repositories, wikis, and ticketing systems for the glimt- token pattern, the same way you would hunt for leaked API keys.
  • Do not treat IP allowlisting as a substitute for token hygiene on repositories with sensitive CI/CD pipelines or protected branches.

For security teams

  • Add GitLab incoming-email addresses to your organization's secrets inventory and rotation cadence rather than treating them as low-sensitivity metadata.
  • Review recent merge request and CI/CD pipeline history for activity attributed to high-privilege accounts (Maintainer/Owner) that does not match known user behavior.
  • Track GitLab's response for further hardening — Leon's team noted GitLab has opened an internal issue to explore verifying that incoming mail actually originates from the token owner, though no such control exists today.

Key Takeaways

  1. GitLab's per-project incoming email address embeds a single, account-wide token that grants the same access across every project the user can reach — not just the project shown in the UI.
  2. The token never expires by default and requires no additional authentication; possessing the address is enough to act as its owner.
  3. A leaked address can be escalated from simple issue creation to pushing commits on protected branches and triggering malicious CI/CD pipelines.
  4. This attack path bypasses IP allowlists and two-factor authentication entirely, since mail intake is processed outside those controls.
  5. GitLab has classified the reported behavior as intended design rather than a vulnerability and has so far only updated documentation, meaning the underlying risk persists for organizations that don't proactively rotate tokens.
  6. Immediate mitigation requires manual token rotation and secret-scanning for glimt- patterns — there is no patch to apply.

Sources

  • GitLab Email Addresses Can Be Weaponized for Supply Chain Attacks — Dark Reading
#Supply Chain#GitLab#Application Security

Related Articles

Maximum Severity GitLab Flaw Puts Supply Chains at Risk

CVE-2026-85706 (CVSS 10.0) lets unauthenticated attackers read arbitrary files via GitLab's commits API. Already actively exploited.

5 min read

Critical SSRF in GitLab MCP Server Leaks Private Tokens to Attackers

CVE-2026-61559 lets attackers redirect @zereight/mcp-gitlab's outbound API calls via a request header, leaking victim GitLab tokens to attacker hosts.

4 min read

GitLab MCP Server Open to DNS Rebinding, Full Account Takeover

CVE-2026-61568 (CVSS 9.6) lets a malicious webpage use DNS rebinding to reach a victim's local GitLab MCP server and hijack their GitLab account.

4 min read
Back to all News