PT-2025-39926 · Unknown+5 · Serverless-Dns+6

Yaniv-Git

·

Published

2025-09-30

·

Updated

2025-12-08

·

CVE-2025-61584

CVSS v4.0

10

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions serverless-dns versions through 0.1.30
Description serverless-dns is a RethinkDNS resolver that deploys to various platforms including Cloudflare Workers, Deno Deploy, Fastly, and Fly.io. A flaw exists where the pr.yml GitHub Action interpolates untrusted input, specifically the github.event.pull request.head.repo.clone url and github.head ref variables, into a command executed by the runner. Because the action uses the pull request target trigger, it has permissive permissions by default. An attacker can exploit this to push arbitrary data to the repository, leading to the execution of the attacker's code when running serverless-dns.
Recommendations Update to version 0.1.31 or later.

Exploit

Fix

RCE

Command Injection

Weakness Enumeration

Related Identifiers

CVE-2025-61584
GHSA-9G7X-737F-5XPC

Affected Products

Cloudflare Workers
Deno Deploy
Fastly
Fly.Io
Github
Rethinkdns
Serverless-Dns