{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-61584 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-61584 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-61584 is a critical command injection vulnerability in serverless-dns, published on 30 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-61584 and fix it if it is affected.\n\nWhat it is: CVE-2025-61584 is a critical command injection vulnerability in serverless-dns, published on 30 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-61584 in the wild and no public exploit code.\n\nAffected product: serverless-dns. 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-2025-61584/ (Markdown: https://insights.sbomify.com/CVE-2025-61584/index.md)","id":"CVE-2025-61584","markdown":"https://insights.sbomify.com/CVE-2025-61584/index.md","name":"CVE-2025-61584","record":{"aliases":["GHSA-9g7x-737f-5xpc"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"DNS resolver","requires_auth":"none","summary":"Attackers can inject commands via GitHub Actions to push malicious code, leading to remote code execution for users of the DNS resolver.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"serverless-dns is a RethinkDNS resolver that deploys to Cloudflare Workers, Deno Deploy, Fastly, and Fly.io. Versions through abd including 0.1.30 have a vulnerability where the pr.yml GitHub Action interpolates in an unsafe manner untrusted input, specifically the github.event.pull_request.head.repo.clone_url and github.head_ref, to a command in the runner. Due to the action using the pull_request_target trigger it has permissive permissions by default. An unauthorized attacker can exploit this vulnerability to push arbitrary data to the repository. The subsequent impact on the end-user is executing the attackers' code when running serverless-dns. This is fixed in commit c5537dd, and expected to be released in 0.1.31.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-09-04","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-04T11:52:18Z","kind":"github_poc","ref":"https://github.com/pvharmo2/gha-lab-6904b2ccbe","stars":0,"title":"Security-research lab: reproduction of CVE-2025-61584 (GHSA-9g7x-737f-5xpc) — command injection via github.head_ref in pull_request_target workflow (.github/workflows/pr.yml)"}],"tier":"poc_unverified"},"has_fix":false,"headline":"serverless-dns is vulnerable to Command Injection through pr.yml GitHub Action Workflow","id":"CVE-2025-61584","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Further research determined the issue is not an independent vulnerability as it originates from Apache Felix.","id":"CVE-2025-61585"},"packages":[],"prev":{"headline":"TS3 Manager is vulnerable to unauthenticated reflected XSS attack due to insecure error handling","id":"CVE-2025-61583"},"products":["serverless-dns"],"published":"2025-09-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-30","vendors":["serverless-dns"]},"summary":"Attackers can inject commands via GitHub Actions to push malicious code, leading to remote code execution for users of the DNS resolver.","url":"https://insights.sbomify.com/CVE-2025-61584/"}