CVE-2022-39326 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kartverket/github-workflows/pull/19 | CVE | PatchThird Party Advisory |
| https://github.com/kartverket/github-workflows/releases/tag/v2.7.5 | CVE | PatchRelease NotesThird Party Advisory |
| https://github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4 | CVE | Third Party Advisory |
| https://github.com/kartverket/github-workflows/pull/19 | [email protected] | PatchThird Party Advisory |
| https://github.com/kartverket/github-workflows/releases/tag/v2.7.5 | [email protected] | PatchRelease NotesThird Party Advisory |
| https://github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kartverket github-workflows | < 2.7.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 28, 2022 | Initial Analysis | [email protected] |