CVE-2025-61584: serverless-dns is vulnerable to Command Injection through pr.yml GitHub Action Workflow

Published Sep 30, 2025
·
Updated

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.pullrequest.head.repo.cloneurl and github.headref, to a command in the runner. Due to the action using the pullrequesttarget 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.

Affected Software

1 affected component
RethinkDNS serverless-dns<=0.1.30

Event History

Sep 30, 2025
CVE Published
via MITRE·12:12 AM
Data Sourced
via MITRE·12:12 AM
DescriptionWeakness
Data Sourced
via NVD·11:37 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-61584?

CVE-2025-61584 is classified as a high severity vulnerability due to its potential for exploitation via untrusted input processing.

2

How do I fix CVE-2025-61584?

To fix CVE-2025-61584, upgrade serverless-dns to version 0.1.31 or later where the unsafe interpolation issue has been resolved.

3

What software is affected by CVE-2025-61584?

CVE-2025-61584 affects RethinkDNS serverless-dns versions up to and including 0.1.30.

4

What type of vulnerability is CVE-2025-61584?

CVE-2025-61584 is an input validation vulnerability in the GitHub Action pr.yml that leads to unsafe interpolation of untrusted input.

5

Can CVE-2025-61584 be exploited remotely?

Yes, CVE-2025-61584 can be potentially exploited remotely, given its nature as a serverless function processing untrusted input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203