)]}'
{
  "commit": "8e7ba03754ee2a386ac17439725bcc44bcdb12a7",
  "tree": "dc88e196c6555ac06e6ee8725e5e8059626ac267",
  "parents": [
    "251c4ee2e80806692f68c54321dcdf37842ad8d1"
  ],
  "author": {
    "name": "Roland Shoemaker",
    "email": "bracewell@google.com",
    "time": "Sun Sep 27 20:18:59 2026 +0000"
  },
  "committer": {
    "name": "Michael Pratt",
    "email": "mpratt@google.com",
    "time": "Tue Nov 10 08:23:19 2026 -0800"
  },
  "message": "[release-branch.go1.27] cmd/go: disallow --sysroot and -target, validate -isysroot/-syslibroot, and restrict -x\n\nRemove --sysroot and -target from the compiler and linker flag\nallowlists, as GCC and Clang use --sysroot to relocate subprograms, spec\nfiles, and CRT startup objects, and Clang\u0027s -target flag falls back to\nexecuting target helper tools (such as orbis-ld, prospero-lld, xcc, or\nllvm-spirv) from the current working directory when not found in PATH.\n\nKeep -isysroot and -Wl,-syslibroot for SDK selection, but verify in\ncheckLinkerFlags that their target is not a regular file on disk (which\nGNU ld.bfd treats as a positional linker script).\n\nAlso restrict -x to the C/C++/Objective-C/assembler languages supported\nby cgo.\n\nFixes CVE-2026-97033\nFor golang/go#82577\nFixes golang/go#82600\n\nChange-Id: I6e85fe46f26bb6366e03e17f8761e7c884694874\nReviewed-on: https://go-internal-review.googlesource.com/c/go/+/6080\nReviewed-by: Cherry Mui \u003ccherryyz@google.com\u003e\nReviewed-by: Damien Neil \u003cdneil@google.com\u003e\nReviewed-on: https://go-internal-review.googlesource.com/c/go/+/6860\nReviewed-by: Nicholas Husin \u003chusin@google.com\u003e\nReviewed-on: https://go-review.googlesource.com/c/go/+/861484\nTryBot-Bypass: Gopher Robot \u003cgobot@golang.org\u003e\nReviewed-by: Neal Patel \u003cnealpatel@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fd54b5c2c021c3f0cbee08f5f5d050a779cb892d",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/work/security.go",
      "new_id": "4999ee92d9502df4377aed31e3fd390f37c7f6fc",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/work/security.go"
    },
    {
      "type": "modify",
      "old_id": "48f98100a51bd1d6d5b9a5de9d809a0d498dff9f",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/work/security_test.go",
      "new_id": "d8c8d8de18a1a8062998234feb3571df8818e667",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/work/security_test.go"
    }
  ]
}
