CVE-2022-39326Kartverket Github-workflows
High 8.8
Follow: this CVE · Kartverket · Kartverket Github-workflows We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Oct 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Github-workflows.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| GitHub Actions | kartverket/github-workflows |
< 2.7.5 |
2.7.5 |
— |
Per OSV / GitHub Advisories (GHSA-f9qj-7gh3-mhj4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kartverket | github-workflows | < 2.7.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Release Notes Third Party Advisory
- github.com Third Party Advisory