Read the docs

Code injection in bitproto via unescaped string constants

Priority LOW 39CWE-94Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00376 33rd percentileScored 2026-12-04
Fix Fixed bitproto (hit9): 1.3.3

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

VendorProductAffected versionsFixed inStatusSource
hit9bitprotobefore 1.3.31.3.3Patch availableCNA
  • bitproto Vendorhit9 Affected before 1.3.3 Fixed in 1.3.3 Patch available CNA

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

  1. 2026-12-03 Threatist record created from CVE-2026-144446
  2. 2026-12-04 Alias added: GHSA-fjwf-xjgm-gr67
  3. 2026-12-04 CISA SSVC decision points changed

References

Sources