Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-43895: CWE-20: Improper Input Validation in jqlang jq

0
Medium
VulnerabilityCVE-2026-43895cvecve-2026-43895cwe-20cwe-158
Published: Mon May 11 2026 (05/11/2026, 17:24:02 UTC)
Source: CVE Database V5
Vendor/Project: jqlang
Product: jq

Description

jq is a command-line JSON processor. In 1.8.1 and earlier, jq accepts embedded NUL bytes in import paths at the jq-language level, but later resolves those paths through C string operations during module and data-file lookup. This creates a mismatch between the logical import string that policy or audit code may validate and the on-disk path that jq actually opens.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 18:23:32 UTC

Technical Analysis

The jq command-line JSON processor (version 1.8.1 and earlier) improperly validates input by accepting embedded NUL bytes in import paths at the jq-language level. However, when resolving these paths for module and data-file lookup, jq uses C string operations that treat NUL bytes as string terminators. This discrepancy creates a mismatch between the logical import string validated by policy or audit code and the actual on-disk path accessed by jq, potentially allowing unintended file access.

Potential Impact

This vulnerability could allow an attacker with local access and limited privileges to cause jq to open files different from those intended by the import path validation logic. This may lead to information disclosure or other unintended behavior due to the mismatch in path resolution. The impact is limited to confidentiality and integrity with no known impact on availability. No known exploits have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when processing untrusted input with jq versions 1.8.1 and earlier, especially in environments where import path validation is critical. Monitoring vendor channels for updates is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-04T15:17:09.330Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a021aa7cbff5d861043052e

Added to database: 5/11/2026, 6:06:31 PM

Last enriched: 5/11/2026, 6:23:32 PM

Last updated: 5/12/2026, 3:53:15 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses