Executive Summary
In July 2026, researchers at Noma Security identified a critical vulnerability, dubbed 'GitLost,' in GitHub's Agentic Workflows. This flaw allows unauthenticated attackers to craft issues in public repositories that, when processed by AI-powered automation, can access and leak data from an organization's private repositories. The attack exploits prompt injection techniques, manipulating the AI agent into executing unintended actions, thereby exposing sensitive information without requiring stolen credentials or direct access to the organization.
This incident underscores the growing risks associated with integrating AI agents into development workflows. As organizations increasingly adopt AI-driven automation, the potential for such vulnerabilities rises, emphasizing the need for robust security measures and continuous monitoring to prevent unauthorized data access and leakage.
Why This Matters Now
The 'GitLost' vulnerability highlights the urgent need for organizations to reassess the security of AI-driven automation tools. As AI integration becomes more prevalent in development processes, ensuring these systems are safeguarded against prompt injection and similar attacks is critical to protect sensitive data and maintain trust in automated workflows.
Attack Path Analysis
An attacker exploited GitHub's Agentic Workflows by submitting a crafted issue to a public repository, leading the AI agent to access and expose private repository data. This attack progressed through the stages of initial compromise via prompt injection, privilege escalation by leveraging the agent's permissions, lateral movement within the organization's repositories, command and control through the agent's actions, exfiltration of sensitive data, and ultimately impacting the organization's confidentiality.
Kill Chain Progression
Initial Compromise
Description
The attacker submitted a malicious issue to a public repository, embedding instructions that the AI agent misinterpreted as legitimate commands.
MITRE ATT&CK® Techniques
Command and Scripting Interpreter: PowerShell
Valid Accounts
Unsecured Credentials: Credentials in Files
Impair Defenses: Disable or Modify Tools
Obfuscated Files or Information
File and Directory Discovery
Exfiltration Over C2 Channel
Application Layer Protocol: Web Protocols
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Secure Software Development
Control ID: 6.4.1
NYDFS 23 NYCRR 500 – Cybersecurity Policy
Control ID: 500.03
DORA – ICT Risk Management Framework
Control ID: Article 6
CISA ZTMM 2.0 – Identity and Access Management
Control ID: 2.1
NIS2 Directive – Cybersecurity Risk Management Measures
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
GitHub agentic workflows vulnerability exposes private repositories through supply-chain attacks, threatening intellectual property and source code security across development organizations.
Financial Services
Private repository data leakage risks exposing proprietary trading algorithms, compliance frameworks, and sensitive financial data through compromised GitHub automation workflows.
Health Care / Life Sciences
Healthcare organizations using GitHub face HIPAA compliance violations and patient data exposure through malicious manipulation of agentic workflow repository access.
Defense/Space
Critical national security implications as defense contractors' classified code repositories become vulnerable to state-sponsored actors exploiting GitHub workflow automation systems.
Sources
- Public GitHub Issue Could Trick GitHub Agentic Workflows Into Leaking Private Repo Datahttps://thehackernews.com/2026/07/public-github-issue-could-trick-github.htmlVerified
- 'GitLost' Flaw Leaks Private Data from GitHub's Agentic Workflowshttps://www.darkreading.com/cyber-risk/gitlost-leaks-private-data-github-agentic-workflowsVerified
- About GitHub Agentic Workflows - GitHub Enterprise Cloud Docshttps://docs.github.com/en/enterprise-cloud@latest/copilot/concepts/agents/about-github-agentic-workflowsVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it could likely reduce the attacker's ability to exploit implicit trust within cloud environments, thereby limiting unauthorized access and data exfiltration.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: The attacker's ability to exploit implicit trust within the cloud environment would likely be constrained, reducing the risk of unauthorized command execution.
Control: Zero Trust Segmentation
Mitigation: The attacker's ability to access unauthorized repositories would likely be constrained, reducing the risk of privilege escalation.
Control: East-West Traffic Security
Mitigation: The attacker's ability to move laterally across repositories would likely be constrained, reducing the risk of unauthorized access.
Control: Multicloud Visibility & Control
Mitigation: The attacker's ability to control the agent's actions would likely be constrained, reducing the risk of unauthorized tasks being performed.
Control: Egress Security & Policy Enforcement
Mitigation: The attacker's ability to exfiltrate sensitive data would likely be constrained, reducing the risk of data exposure.
The attacker's ability to compromise the organization's confidentiality and intellectual property would likely be constrained, reducing the overall impact of the incident.
Impact at a Glance
Affected Business Functions
- Software Development
- Continuous Integration/Continuous Deployment (CI/CD)
- Repository Management
Estimated downtime: N/A
Estimated loss: N/A
Potential exposure of proprietary source code, internal keys, design documents, or CI/CD secrets from private repositories.
Recommended Actions
Key Takeaways & Next Steps
- • Implement strict input validation and sanitization to prevent prompt injection attacks.
- • Restrict AI agent permissions to the minimum necessary, avoiding broad access to private repositories.
- • Establish monitoring and alerting mechanisms to detect unauthorized agent activities.
- • Regularly review and update security configurations for AI-driven workflows.
- • Educate development teams on the risks associated with AI agents and prompt injection vulnerabilities.



