CVE-2026-144446
DESCRIPTION
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject code into generated sources by embedding double quotes in .bitproto string constants. Attackers can supply a crafted schema whose constant closes the literal in the generated _bp.py module, executing Python code when developers or CI jobs import it.
CVSS
HIGH 8.5 · v4.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/hit9/bitproto/blob/v1.3.2/compiler/bitproto/renderer/impls/py/formatter.py#L63-L65
- https://github.com/hit9/bitproto/commit/ec51a5bee47532e793777cdefa9236502cd0c4e5
- https://github.com/hit9/bitproto/issues/88
- https://github.com/hit9/bitproto/pull/89
- https://github.com/hit9/bitproto/releases/tag/v1.3.3
- https://www.vulncheck.com/advisories/bitproto-before-1.3.3-code-injection-via-unescaped-string-constants
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.