Home › CVE › Vulnerabilities
CVE-2026-49839
Research article
jq Vulnerability Enables Code Execution in Pre-1.8.2 Versions
| CVE | CVE-2026-49839 |
|---|---|
| Published | December 01, 2026 15:10 UTC |
| Research cut-off | December 01, 2026 15:00 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-10-25); CISA KEV catalog; vendor advisory page (ubuntu.com) |
Executive summary
CVE-2026-49839 impacts versions of jq before 1.8.2, allowing attackers to run arbitrary code [1]. The CVSS 3.1 score is 7.1, HIGH, assigned by security-advisories@github.com [1]. Although the reviewed sources do not confirm any exploitation, the vulnerability could lead to denial of service or code execution [3]. The primary recommendation is to update to a secure version.
Key points
- CVE-2026-49839 affects versions of jq before 1.8.2 [1].
- The CVSS 3.1 score is 7.1, HIGH, assigned by security-advisories@github.com [1].
- The reviewed sources do not report any exploitation [2].
- The vulnerability could allow an attacker to run arbitrary code [3].
- Updating to jq version 1.8.2 resolves the issue according to NVD's CPE configuration [1], while the Ubuntu bulletin says updating to jq version 1.6.5 can resolve it [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-49839 | jqlang | jq | CWE-787 | 7.1 HIGH, scored by security-advisories@github.com | 2026-06-25 | 2026-10-25 | Analyzed |
Vulnerability description
A flaw in versions of jq before 1.6.5 allows attackers to exploit improperly handled program or data files, potentially enabling code execution [3]. The issue is categorized under CWE-787 (Out-of-bounds Write) [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires a local attacker without user interaction, resulting in significant impact on system integrity and availability [1].
Impact analysis
The CVSS vector suggests that the flaw could lead to high impact on system integrity and availability, but no impact on data confidentiality [1]. The vulnerability could allow an attacker to cause a system crash, resulting in denial of service, or run arbitrary code [3].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| < 1.8.2 | 1.8.2 |
| < 1.6.5 | 1.6.5 [3] |
Exploitation and threat intelligence status
CVE-2026-49839 is not included in the CISA KEV catalog as of 2026-12-01 [2]. The reviewed sources do not report any exploitation.
Detection and exposure assessment
Users should check whether their installed version of jq falls within the affected range to assess exposure.
Remediation
The vulnerability can be resolved by upgrading to jq version 1.8.2 [1]. The vendor recommends applying a standard system update to address the issue [3].
Remediation checklist
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not explain the root cause beyond the CWE name.
- The sources do not describe the technical details of the flaw.
- The sources do not mention any indicators of compromise.
- The sources do not provide a workaround or alternative control.
References
- CVE-2026-49839 record. NIST National Vulnerability Database (NVD), 2026-10-25. https://nvd.nist.gov/vuln/detail/CVE-2026-49839. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- Vendor bulletin page (ubuntu.com). ubuntu.com. https://ubuntu.com/security/notices/USN-9292-1. Accessed 2026-12-01.
Summary
It was discovered that jq did not properly handle specially crafted program or data files. An attacker could possibly use these issues to cause a crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-41256, CVE-2026-41257, CVE-2026-49839) It was discovered that jq did not properly handle module import paths containing NUL bytes. An attacker could possibly use this issue to…
Severity breakdown
High · 7.1
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on integrity and availability, none on confidentiality
Weakness
- CWE-787: Out-of-bounds Write
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| jqlang jq | < 1.8.2 | — |
Public exploits
Exploit available
Frequently asked questions
What is CVE-2026-49839?
CVE-2026-49839 impacts versions of jq before 1.8.2, allowing attackers to run arbitrary code. The CVSS 3.1 score is 7.1, HIGH, assigned by security-advisories@github.com. Although the reviewed sources do not confirm any exploitation, the vulnerability could lead to denial of service or code execution. The primary recommendation is to update to a secure version. Weakness type: Out-of-bounds Write (CWE-787).
How severe is CVE-2026-49839?
CVE-2026-49839 has a CVSS 3.1 base score of 7.1 (high), from the CNA (github.com). An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2026-49839 being exploited?
Not as far as is known: CVE-2026-49839 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-49839?
jqlang jq < 1.8.2.
How do I fix CVE-2026-49839?
Upgrade to jq version 1.8.2. Apply a standard system update to address the issue. Verify installed versions to determine exposure.