Skip to main content
Menu
CVEs

bitproto before 1.3.3 Code Injection via Unescaped String Constants

Only affects bitproto 1.3.2 and earlier when generating Python code from an attacker-supplied .bitproto schema with bitproto py. Fixed in 1.3.3.

CVE-2026-144446EUVD-2026-143751Published December 3, 2026, updated

8.5HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.3.3
Who is exposed
Specific setups only

Summary

Written by a model

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.

Who should check

Teams that compile .bitproto schemas from firmware vendors, device repositories or pull requests into Python host tools with bitproto py, on developer machines or CI runners.

“Affected versions: <= 1.3.2”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    bitproto version 1.3.2 or earlier (before 1.3.3) Generating Python code from a crafted .bitproto schema with bitproto py, then importing the generated module
  2. Upgrade to a fixed version: 1.3.3.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-144446 (bitproto before 1.3.3 Code Injection via Unescaped String Constants), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-144446 (entry last updated 2026-12-03):
Affected:
- PyPI package bitproto: fixed in 1.3.3
Fixed versions: 1.3.3.
Conditions (all must be true for the bug to be hit):
- bitproto version 1.3.2 or earlier (before 1.3.3) (source: https://github.com/hit9/bitproto/issues/88)
- Generating Python code from a crafted .bitproto schema with bitproto py, then importing the generated module (source: https://github.com/hit9/bitproto/issues/88)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-144446 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144446 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/hit9/bitproto/pull/89
- https://github.com/hit9/bitproto/commit/ec51a5bee47532e793777cdefa9236502cd0c4e5
- https://github.com/hit9/bitproto/issues/88
- https://github.com/hit9/bitproto/blob/v1.3.2/compiler/bitproto/renderer/impls/py/formatter.py#L63-L65
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-144446
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144446"}.

Affected versions

cve.now Index

24Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach10/20Affects PyPI packages
  • Severity8.5/10CVSS 8.5
  • No patch0/5No signal

What would change the score

  • Would score about 74 if added to CISA KEV
  • Would score about 69 if CISA's SSVC rates exploitation active
  • Would score about 34 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 8

Questions about CVE-2026-144446

Is CVE-2026-144446 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

bitproto does not escape string constants in generated code, so a crafted schema can inject Python code. Importing the generated module then runs that code with the importing user's privileges.

Source: github.com, vulncheck.com

Which versions are affected by CVE-2026-144446?

bitproto (PyPI): before 1.3.3.

Source: cve.now feed data

Am I affected, and how do I check?

Versions 1.3.2 and earlier, before 1.3.3, are affected. The setup is compiling a schema with bitproto py and importing the generated module; check the installed version with bitproto --version or your package manager.

Source: github.com, vulncheck.com

How do I fix CVE-2026-144446?

Upgrade bitproto to 1.3.3 or later, which contains the fix.

Source: github.com, vulncheck.com

No corrections so far. Something wrong on this page? Report an error.