{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61706","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-07-10T18:51:13.919Z","datePublished":"2026-12-03T22:54:45.799Z","dateUpdated":"2026-12-04T13:45:24.102Z"},"containers":{"cna":{"title":"Infracost GitHub Action: Script injection via pull request title in infracost/actions/diff","problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/infracost/actions/security/advisories/GHSA-whm3-8375-8m8j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/infracost/actions/security/advisories/GHSA-whm3-8375-8m8j"},{"name":"https://github.com/infracost/actions/pull/262","tags":["x_refsource_MISC"],"url":"https://github.com/infracost/actions/pull/262"},{"name":"https://github.com/infracost/actions/commit/fb736a8f219195d6efdca58682069b16fe1bc280","tags":["x_refsource_MISC"],"url":"https://github.com/infracost/actions/commit/fb736a8f219195d6efdca58682069b16fe1bc280"},{"name":"https://github.com/infracost/actions/releases/tag/v4.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/infracost/actions/releases/tag/v4.2.0"}],"affected":[{"vendor":"infracost","product":"actions","versions":[{"version":">= 4.0.0, < 4.2.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-12-03T22:54:45.799Z"},"descriptions":[{"lang":"en","value":"Infracost helps see cloud cost estimates for Terraform in pull requests. From version 4.0.0 to before version 4.2.0, there is a GitHub Actions script injection vulnerability in the infracost/actions/diff action. The \"Derive context\" step interpolated the pull request title straight into a bash run: block. Actions expands ${{ ... }} into the script before bash runs, so a PR title containing $(...), backticks, or ; executes as code on the runner. Anyone who can open a pull request can set the title. Successful exploitation runs arbitrary commands on the Actions runner with the privileges of the workflow. Impact depends on what the workflow exposes: under on: pull_request (the only configuration in Infracost's documentation) fork pull requests run without secrets and with a read-only token, so exposure is limited. If the action is used with pull_request_target, or triggered by a same-repository pull request, the injected code gains the repository's secrets and a writable GITHUB_TOKEN, enabling secret theft and repository modification. Exploiting an untrusted fork pull request also typically requires a maintainer to approve the workflow run. This issue has been patched in version 4.2.0."}],"source":{"advisory":"GHSA-whm3-8375-8m8j","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-04T13:45:00.789375Z","id":"CVE-2026-61706","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-04T13:45:24.102Z"}}]}}