CVE-2026-43895

jq: Embedded NUL in jq import paths causes local redaction-policy bypass and preserves sensitive fields in published artifacts

State
Published
Severity
4.4 Medium
Published
May 11, 2026
Updated
May 13, 2026
Reserved
May 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-158 Improper Neutralization of Null Byte or NUL Character

Affected Products

ProductVersions
jqjqlang
  • <= 1.8.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.