Code injection in bitproto via unescaped string constants
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
The bitproto package before 1.3.3 contains a code injection flaw in which string constants in .bitproto schemas are not escaped, so embedded double quotes are not handled. An attacker can supply a crafted schema whose constant closes the string literal in the generated _bp.py module and injects Python code that runs when a developer or CI job imports it. Exploitation requires user interaction, and the CVSS 4.0 base score is 8.5 (HIGH). The flaw is classified as CWE-94.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade hit9 bitproto to version 1.3.3, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA bitproto (hit9) Fixed in 1.3.3
Timeline
- 2026-12-03 Threatist record created from CVE-2026-144446
- 2026-12-04 Alias added: GHSA-fjwf-xjgm-gr67
- 2026-12-04 CISA SSVC decision points changed
References
Patch 2
Sources
- CVE-2026-144446 · CVE Program
- CVE-2026-144446 · NVD
- FIRST EPSS
- GHSA-fjwf-xjgm-gr67 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences