CVE-2026-43895
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
4.4
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-05-11 18:16:37.387000
Last modified
2026-10-26 18:10:00.173000
View original CVE JSON
{
"id": "CVE-2026-43895",
"sourceIdentifier": "[email protected]",
"published": "2026-05-11T18:16:37.387",
"lastModified": "2026-10-26T18:10:00.173",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "jq es un procesador JSON de línea de comandos. En la versión 1.8.1 y anteriores, jq acepta bytes NUL incrustados en las rutas de importación a nivel del lenguaje jq, pero luego resuelve esas rutas a través de operaciones de cadena de C durante la búsqueda de módulos y archivos de datos. Esto crea una discrepancia entre la cadena de importación lógica que el código de política o auditoría puede validar y la ruta en disco que jq realmente abre."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "jqlang",
"product": "jq",
"versions": [
{
"version": "<= 1.8.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
"baseScore": 4.4,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.8,
"impactScore": 2.5
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-13T12:49:39.558583Z",
"id": "CVE-2026-43895",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-20"
},
{
"lang": "en",
"value": "CWE-158"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*",
"versionEndIncluding": "1.8.1",
"matchCriteriaId": "2026D0D9-8A88-43D4-9995-CF7928D9FFB8"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/jqlang/jq/security/advisories/GHSA-7q7g-mrq3-phxr",
"source": "[email protected]",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
},
{
"url": "https://github.com/jqlang/jq/security/advisories/GHSA-7q7g-mrq3-phxr",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
}
]
}