{
  "id": "CVE-2026-45793",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45793",
  "published_at": "2026-07-15T16:22:19.418Z",
  "title": "Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs",
  "vendor": "composer",
  "product": "composer",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Composer is a dependency Manager for the PHP language. Prior to 1.10.28, 2.2.28, and 2.9.8, Composer\\IO\\BaseIO::loadConfiguration() validates GitHub OAuth tokens with the regex ^[.A-Za-z0-9_]+$ and interpolates rejected tokens into an UnexpectedValueException; GitHub Actions GITHUB_TOKEN values using the ghs_\u003cid\u003e_\u003cbase64url-JWT\u003e format can contain -, fail validation, and be disclosed to stderr or CI logs. This issue is fixed in versions 1.10.28, 2.2.28, and 2.9.8.",
  "cwe": "CWE-200",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "composer",
        "product": "composer",
        "ranges": [
          "\u003e= 1.0, \u003c 1.10.28",
          "\u003e= 2.0.0, \u003c 2.2.28",
          "\u003e= 2.3.0, \u003c 2.9.8"
        ],
        "fixed_in": [
          "1.10.28",
          "2.2.28",
          "2.9.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade composer to 1.10.28 or 2.2.28 or 2.9.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/pull/12853"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/pull/12855"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/composer/composer/releases/tag/1.10.28"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/composer/composer/releases/tag/2.2.28"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
