CVE-2025-4089: Potential local code execution in "copy as cURL" command

Published Apr 29, 2025
·
Updated

Due to insufficient escaping of special characters in the "copy as cURL" feature, an attacker could trick a user into using this command, potentially leading to local code execution on the user's system. This vulnerability was fixed in Firefox 138 and Thunderbird 138.

Affected Software

17 affected componentsFixes available
Mozilla Firefox<138
Mozilla Thunderbird<138
Mozilla Thunderbird<138
138
Mozilla Firefox<138.0
Mozilla Thunderbird<138.0
ubuntu/mozjs52*
ubuntu/mozjs38*
ubuntu/mozjs68*
ubuntu/mozjs52*
ubuntu/mozjs102*
ubuntu/mozjs78*
ubuntu/mozjs91*
ubuntu/thunderbird<1:140.7.1+build1-0ubuntu0.22.04.1
1:140.7.1+build1-0ubuntu0.22.04.1
ubuntu/mozjs102*
ubuntu/mozjs115*
Mozilla Firefox<138
138
debian/firefox
159.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 138
  2. Upgrade

    Upgrade ubuntu/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:140.7.1+build1-0ubuntu0.22.04.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 138
  4. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 159.0-1
  5. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 138

Event History

Apr 29, 2025
CVE Published
via Mozilla·12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·01:13 PM
Data Sourced
via MITRE·01:13 PM
Description
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-4089?

The severity of CVE-2025-4089 is considered to be critical due to its potential for local code execution.

2

How do I fix CVE-2025-4089?

To fix CVE-2025-4089, update Firefox or Thunderbird to the latest version that is 138 or higher.

3

What versions of software are affected by CVE-2025-4089?

CVE-2025-4089 affects Firefox versions lower than 138 and Thunderbird versions lower than 138.

4

What is the impact of exploiting CVE-2025-4089?

Exploiting CVE-2025-4089 could allow an attacker to execute local commands on a user's system.

5

Who is at risk from CVE-2025-4089?

Users of outdated versions of Firefox and Thunderbird are at risk from CVE-2025-4089.

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