CVE-2026-61706
7.4HighPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- Active
- Impact
- High impact on confidentiality, integrity
- Weakness
- CWE-94
What an attacker gets
Attackers can execute arbitrary commands on your GitHub Actions runner by crafting a malicious pull request title. This can lead to secret theft and repository modification if the workflow has access to sensitive credentials.
Root cause
The action improperly interpolates the pull request title directly into a bash execution block, allowing for command injection via shell metacharacters.
Affected versions
infracost/actions/diff version 4.0.0 through 4.1.x
CVSS v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Update the infracost/actions/diff action to version 4.2.0 or later in your workflow YAML files.
$ sed -i 's/infracost\/actions\/diff@v[0-9]\.[0-9]\.[0-9]/infracost\/actions\/diff@v4.2.0/g' .github/workflows/*.ymlAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1445107.3HighRemote attackers can manipulate user object attributes during signup to gain unauthorized access or escalate privileges. This requires no authentication and can be triggered by submitting crafted user_fields data.
- CVE-2026-1369888.1HighUnauthenticated attackers can upload and execute arbitrary PHP files on the server. This requires WooCommerce Bookings or Easy Booking to be active and a bookable product with an EPO file-upload element configured.
- CVE-2026-1051049.8CriticalUnauthenticated attackers can gain full administrative control over the device. They only need network access to the dongle's web interface to use the hard-coded credentials.
- CVE-2026-1051039.8CriticalAttackers can remotely control these dongles, including factory resetting them or changing admin passwords. They only need the device IMEI and serial number to hijack the connection to the manufacturer's C2 server.
- CVE-2026-1051028.8HighUnauthenticated attackers on the local network can download the full device configuration file. This exposes plaintext administrator credentials, WiFi passwords, and TR-069 credentials, allowing full device takeover.
- CVE-2026-1051018.8HighUnauthenticated attackers on the local network can execute arbitrary commands as root. This is possible via the web interface ping diagnostic function.