cvelo
P2 · HighCVSS 7.8EPSS 0.4%

bitproto before 1.3.3 Code Injection via Unescaped String Constants

  • CVE-2026-144446
  • GHSA-fjwf-xjgm-gr67
  • EUVD-2026-143751

Summary

CVE-2026-144446 affects bitproto versions before 1.3.3. Double quotes embedded in string constants of a .bitproto schema are not escaped when the code generator writes the _bp.py module. An attacker who can supply a crafted schema can close the string literal early and insert arbitrary Python code, which runs whenever a developer or CI job imports the generated module. The record gives a CVSS score of 7.8. It is not listed in the CISA known exploited vulnerabilities catalog. Engineers who generate bitproto code from schemas they do not fully trust should plan to upgrade to 1.3.3 or later.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • hit9 bitproto

    • If you run a version before 1.3.3update to 1.3.3 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • hit9 bitproto

    Affected versionsFixed in
    before 1.3.31.3.3

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.