8.8
HIGH
CVE-2023-27581
GitHub Slug Action Authentication Bypass
Description

github-slug-action is a GitHub Action to expose slug value of GitHub environment variables inside of one's GitHub workflow. Starting in version 4.0.0` and prior to version 4.4.1, this action uses the `github.head_ref` parameter in an insecure way. This vulnerability can be triggered by any user on GitHub on any workflow using the action on pull requests. They just need to create a pull request with a branch name, which can contain the attack payload. This can be used to execute code on the GitHub runners and to exfiltrate any secrets one uses in the CI pipeline. A patched action is available in version 4.4.1. No workaround is available.

INFO

Published Date :

March 13, 2023, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 7:53 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-27581 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Github-slug-action_project github-slug-action

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-27581 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-27581 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/rlespinasse/github-slug-action/commit/102b1a064a9b145e56556e22b18b19c624538d94
    Added Reference https://github.com/rlespinasse/github-slug-action/releases/tag/v4.4.1
    Added Reference https://github.com/rlespinasse/github-slug-action/security/advisories/GHSA-6q4m-7476-932w
    Added Reference https://securitylab.github.com/research/github-actions-untrusted-input/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Mar. 17, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/rlespinasse/github-slug-action/commit/102b1a064a9b145e56556e22b18b19c624538d94 No Types Assigned https://github.com/rlespinasse/github-slug-action/commit/102b1a064a9b145e56556e22b18b19c624538d94 Patch
    Changed Reference Type https://github.com/rlespinasse/github-slug-action/releases/tag/v4.4.1 No Types Assigned https://github.com/rlespinasse/github-slug-action/releases/tag/v4.4.1 Release Notes
    Changed Reference Type https://github.com/rlespinasse/github-slug-action/security/advisories/GHSA-6q4m-7476-932w No Types Assigned https://github.com/rlespinasse/github-slug-action/security/advisories/GHSA-6q4m-7476-932w Vendor Advisory
    Changed Reference Type https://securitylab.github.com/research/github-actions-untrusted-input/ No Types Assigned https://securitylab.github.com/research/github-actions-untrusted-input/ Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:github-slug-action_project:github-slug-action:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.4.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-27581 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

3.46 }} 0.96%

score

0.86819

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jul. 14, 2025 16:47