{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-4281 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-4281 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-4281 is a medium-severity command injection vulnerability in Brave UX for-the-badge, published on 26 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-4281 and fix it if it is affected.\n\nWhat it is: CVE-2021-4281 is a medium-severity command injection vulnerability in Brave UX for-the-badge, published on 26 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-4281 in the wild and no public exploit code.\n\nAffected product: Brave UX for-the-badge. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-4281/ (Markdown: https://insights.sbomify.com/CVE-2021-4281/index.md)","id":"CVE-2021-4281","markdown":"https://insights.sbomify.com/CVE-2021-4281/index.md","name":"CVE-2021-4281","record":{"aliases":["GHSA-3796-3f93-cfvx"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GitHub Actions workflow","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary OS commands via the combine-prs.yml workflow in Brave UX for-the-badge, requiring a patch to mitigate.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"for_the_badge","vendor":"forthebadge"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A vulnerability was found in Brave UX for-the-badge and classified as critical. Affected by this issue is some unknown functionality of the file .github/workflows/combine-prs.yml. The manipulation leads to os command injection. The name of the patch is 55b5a234c0fab935df5fb08365bc8fe9c37cf46b. It is recommended to apply a patch to fix this issue. VDB-216842 is the identifier assigned to this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-08-31","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-31T09:41:35Z","kind":"github_poc","ref":"https://github.com/pvharmo2/gha-lab-232af4821f","stars":0,"title":"Security-research lab reproducing CVE-2021-4281 (GHSA-3796-3f93-cfvx): shell command injection via PR head-branch name in .github/workflows/combine-prs.yml (snapshot of BraveUX/for-the-badge @ 409c1fda). Do not use; authorized reproduction only."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Brave UX for-the-badge combine-prs.yml os command injection","id":"CVE-2021-4281","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"FreePBX voicemail page.voicemail.php cross site scripting","id":"CVE-2021-4282"},"packages":[],"prev":{"headline":"styler_praat_scripts Slash file_segmenter.praat denial of service","id":"CVE-2021-4280"},"products":["for-the-badge"],"published":"2022-12-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Brave UX"]},"summary":"An attacker can execute arbitrary OS commands via the combine-prs.yml workflow in Brave UX for-the-badge, requiring a patch to mitigate.","url":"https://insights.sbomify.com/CVE-2021-4281/"}