{
  "id": "ghsl-2026-207",
  "title": "GHSL AI-agent index lists branch-name injection in kpt SonarCloud workflow",
  "product": "kptdev/kpt GitHub Actions SonarCloud workflow",
  "ai_system": "GitHub Security Lab AI agent (system not named in advisory)",
  "organization": "GitHub Security Lab",
  "summary": "A pull request-controlled branch name is interpolated into a privileged workflow’s Bash script, permitting command execution and possible interference with a later step that receives SONAR_TOKEN.",
  "ai_role": "GHSL’s primary AI-agent index lists this advisory as discovered with AI agents, but the item advisory credits the human researcher and does not name an AI system or describe its role. This is index-level AI attribution only; no specific model or independent agent contribution is claimed.",
  "disclosure_date": "2026-10-22",
  "ai_attribution_date": "2026-10-22",
  "classification": "disclosure",
  "classification_note": "The cited sources document the issue and fix but do not claim exploitation in the wild.",
  "cves": [],
  "source_url": "https://securitylab.github.com/advisories/GHSL-2026-207_kptdev_kpt_repository/",
  "ai_source_url": "https://securitylab.github.com/ai-agents/",
  "remediation": "fix documented",
  "remediation_note": "Fixed in PR #4780 on 2026-09-30. Exploitation also requires a successful pull request workflow, expected artifacts and a configured SONAR_TOKEN.",
  "advisory_url": "https://securitylab.github.com/advisories/GHSL-2026-207_kptdev_kpt_repository/",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "code execution"
      ],
      "conditions": "Attacker-controlled branch name reaches SonarCloud workflow shell context; GHSL identifies branch-name injection in CI.",
      "exploitation": "The cited source does not establish exploitation in the wild.",
      "source_url": "https://securitylab.github.com/advisories/GHSL-2026-207_kptdev_kpt_repository/",
      "checked_date": "2026-11-16"
    }
  ]
}
