{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-27581","published":"2023-03-13T21:15:14.037000Z","last_modified":"2026-06-17T05:45:30.863000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:github-slug-action_project:github-slug-action:*:*:*:*:*:*:*:*","part":"a","vendor":"github-slug-action_project","product":"github-slug-action","version_start_including":"4.0.0","version_end_excluding":"4.4.1"}],"cpes_truncated":false,"vendors":["github-slug-action_project"],"products":["github-slug-action_project/github-slug-action"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.0167,"percentile":0.77229,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6q4m-7476-932w","ecosystem":"GitHub Actions","name":"rlespinasse/github-slug-action","ranges":[{"introduced":"4.0.0","fixed":"4.4.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2023-27581/","html_en":"/en/cve/CVE-2023-27581/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-27581","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-27581"},"untrusted":{"vendor_name":"Github-slug-action Project","product_name":"Github-slug-action","desc_en":"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.","affected":[{"untrusted_vendor":"rlespinasse","untrusted_product":"github-slug-action","versions":[]}],"references":[{"url":"https://github.com/rlespinasse/github-slug-action/commit/102b1a064a9b145e56556e22b18b19c624538d94","tags":["Patch"]},{"url":"https://github.com/rlespinasse/github-slug-action/releases/tag/v4.4.1","tags":["Release Notes"]},{"url":"https://github.com/rlespinasse/github-slug-action/security/advisories/GHSA-6q4m-7476-932w","tags":["Vendor Advisory"]},{"url":"https://securitylab.github.com/research/github-actions-untrusted-input/","tags":["Exploit","Third Party Advisory"]}]}}