ZeroDay Brief
CVE-2026-61706

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.

CVSS
7.4High
Chance of exploitation (EPSS)
0.76%
Published
Dec 3, 2026
In the news
Not yet
More from this vendor

What to do

A serious code injection flaw in Infracost Actions that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Infracost Actions
>= 4.0.0, < 4.2.0

Description

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.

CWE-94

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-61706 published (CVSS 7.4) (Dec 3, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Dec 3, 2026

  1. CVECVE-2026-61706 published (CVSS 7.4)CVE Program · 22:54 UTC

References 4

  • github.com /infracost/actions/security/advisories/GHSA-whm3-8375-8m8j
  • github.com /infracost/actions/pull/262
  • github.com /infracost/actions/commit/fb736a8f219195d6efdca58682069b16fe1bc280
  • github.com /infracost/actions/releases/tag/v4.2.0

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”