NUL Byte Vulnerability in jq Command-line JSON Processor
CVE-2026-43895
4.4MEDIUM
What is CVE-2026-43895?
The jq command-line JSON processor, specifically in versions 1.8.1 and earlier, exhibits a vulnerability that allows embedded NUL bytes in import paths. This can lead to a discrepancy between the validated logical import strings and the actual on-disk paths the application opens. During module and data-file lookups, jq resolves these paths using C string operations, potentially allowing unauthorized access to files or resources being imported. Users of jq are urged to review their configurations and consider upgrading to mitigate any associated risks.
Affected Version(s)
jq <= 1.8.1
