{
  "id": "ghsl-2026-167",
  "title": "GHSL AI-agent index lists mutable-ref TOCTOU in MongoDB BSON release workflow",
  "product": "mongodb/js-bson release_notes GitHub Actions workflow",
  "ai_system": "GitHub Security Lab AI agent (system not named in advisory)",
  "organization": "GitHub Security Lab",
  "summary": "The release workflow does not pin maintainer authorization to a commit, then checks out and executes code from a mutable pull-request ref with repository write-token access.",
  "ai_role": "GHSL’s primary AI-agent index includes this advisory in its AI-discovered list. The item advisory credits only the human researcher and provides no agent-specific role; attribution is index-level only.",
  "disclosure_date": "2026-09-16",
  "ai_attribution_date": "2026-09-16",
  "classification": "disclosure",
  "classification_note": "The primary advisory documents the race and fix; no exploitation in the wild is claimed.",
  "cves": [],
  "source_url": "https://securitylab.github.com/advisories/GHSL-2026-167_mongodb_js-bson_repository/",
  "ai_source_url": "https://securitylab.github.com/ai-agents/",
  "remediation": "fix documented",
  "remediation_note": "Fixed in PR #929 on 2026-09-03. A maintainer authorization is required to trigger the workflow.",
  "advisory_url": "https://securitylab.github.com/advisories/GHSL-2026-167_mongodb_js-bson_repository/",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "code execution"
      ],
      "conditions": "External pull-request author can update the ref after maintainer review; code runs with the listed write permissions.",
      "exploitation": "The cited source does not state whether this issue was exploited in the wild.",
      "source_url": "https://securitylab.github.com/advisories/GHSL-2026-167_mongodb_js-bson_repository/",
      "checked_date": "2026-11-16"
    }
  ]
}
