{
  "id": "ghsl-2026-191",
  "title": "GHSL AI-agent index lists mutable-ref TOCTOU in MongoDB JS Kerberos release workflow",
  "product": "mongodb-js/kerberos release_notes GitHub Actions workflow",
  "ai_system": "GitHub Security Lab AI agent (system not named in advisory)",
  "organization": "GitHub Security Lab",
  "summary": "After maintainer authorization, the release workflow checks out a mutable pull-request ref and runs pull-request-controlled scripts with a write-scoped GITHUB_TOKEN, allowing the author to race an update into the job.",
  "ai_role": "GHSL’s primary AI-agent index includes this advisory in its AI-discovered list. The item advisory credits only Jaroslav Lobačevski and does not describe an agent’s role; attribution is index-level only.",
  "disclosure_date": "2026-09-16",
  "ai_attribution_date": "2026-09-16",
  "classification": "disclosure",
  "classification_note": "The advisory documents the race and fixes; it does not claim exploitation in the wild.",
  "cves": [],
  "source_url": "https://securitylab.github.com/advisories/GHSL-2026-191_mongodb-js_kerberos_repository/",
  "ai_source_url": "https://securitylab.github.com/ai-agents/",
  "remediation": "fix documented",
  "remediation_note": "Fixed in PR #351 on 2026-09-03. A maintainer must trigger the workflow; branch protection may restrict writes.",
  "advisory_url": "https://securitylab.github.com/advisories/GHSL-2026-191_mongodb-js_kerberos_repository/",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "code execution",
        "data modification"
      ],
      "conditions": "An external pull request author can update the mutable head ref after maintainer authorization and cause attacker code to run in a workflow with contents:write and pull-requests:write token permissions.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://securitylab.github.com/advisories/GHSL-2026-191_mongodb-js_kerberos_repository/",
      "checked_date": "2026-11-16"
    }
  ]
}
