Read the docs
TI-2022-18702 Aliases CVE-2022-39326GHSA-f9qj-7gh3-mhj4

kartverket/github-workflows's run-terraform allows for RCE via terraform plan

Priority MEDIUM 43CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

kartverket/github-workflows are shared reusable workflows for GitHub Actions. Prior to version 2.7.5, all users of the `run-terraform` reusable workflow from the kartverket/github-workflows repo are affected by a code injection vulnerability. A malicious actor could potentially send a PR with a malicious payload leading to execution of arbitrary JavaScript code in the context of the workflow. Users should upgrade to at least version 2.7.5 to resolve the issue. As a workaround, review any pull requests from external users for malicious payloads before allowing them to trigger a build.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01648 76th percentileScored 2026-11-07
Fix Fixed github-workflows (kartverket): 2.7.5kartverket/github-workflows (GitHub Actions): 2.7.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
kartverketgithub-workflowsbefore 2.7.52.7.5Patch availableCNA
—kartverket/github-workflows (GitHub Actions)before 2.7.52.7.5Patch availableGHSA-f9qj-7gh3-mhj4
  • github-workflows Vendorkartverket Affected before 2.7.5 Fixed in 2.7.5 Patch available CNA
  • kartverket/github-workflows (GitHub Actions) Vendor— Affected before 2.7.5 Fixed in 2.7.5 Patch available GHSA-f9qj-7gh3-mhj4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:kartverket:github-workflows:*:*:*:*:*:*:*:*before 2.7.5Vulnerablekartverket
  • cpe:2.3:a:kartverket:github-workflows:*:*:*:*:*:*:*:* Versions before 2.7.5 Vulnerable ·kartverket

Remediation

  • Fix · CNA github-workflows (kartverket) Fixed in 2.7.5
  • Fix · GHSA-f9qj-7gh3-mhj4 kartverket/github-workflows (GitHub Actions) Fixed in 2.7.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39326
  2. 2026-10-03 Alias added: GHSA-f9qj-7gh3-mhj4

References

Sources