GHSA-8v8w-v8xg-79rf · Severity: critical · Ecosystem: actions — tj-actions/branch-names's Improper Sanitization of Branch Name Leads to Arbitrary Code Injection
tj-actions/branch-names is a Github action to retrieve branch or tag names with support for all events. The `tj-actions/branch-names` GitHub Actions improperly references the `github.event.pull_request.head.ref` and `github.head_ref` context variables within a GitHub Actions `run` step. The head ref variable is the branch name and can be used to execute arbitrary code using a specially crafted branch name. As a result an attacker can use this vulnerability to steal secrets from or abuse `GITHUB_TOKEN` permissions. This vulnerability has been addressed in version 7.0.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Conclusion & alert: CVE-2023-49291 is rated High Exploit Risk (79.5/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.13%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-01 | 1.21% | 1.13% | -0.09% |
| 2 | 2026-03-04 | 0.91% | 1.21% | +0.31% |
| 3 | 2026-03-01 | — | 0.91% | — |
Full EPSS history (39 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.3 | 3.1 | CRITICAL |
|
3.9 | 4.7 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-8v8w-v8xg-79rf · Severity: critical · Ecosystem: actions — tj-actions/branch-names's Improper Sanitization of Branch Name Leads to Arbitrary Code Injection
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| tj-actions | branch-names | < 7.0.0 | cpe:2.3:a:tj-actions:branch-names:*:*:*:*:*:*:*:* |
| tj-actions | branch-names | >= 7.0.1, < 7.0.7 | cpe:2.3:a:tj-actions:branch-names:*:*:*:*:*:*:*:* |