CVE-2026-144446: bitproto before 1.3.3 Code Injection via Unescaped String Constants

Published Dec 3, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/bitproto<1.3.3

Event History

Dec 3, 2026
CVE Published
via MITRE·10:15 PM
Data Sourced
via MITRE·10:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Developers and CI jobs that generate Python sources from attacker-supplied or otherwise untrusted .bitproto schemas are exposed if they import the generated _bp.py module. The affected package is bitproto before version 1.3.3.

2

What must an attacker do to trigger code execution?

An attacker must provide a crafted .bitproto schema containing a string constant with double quotes that closes a generated Python literal. The injected Python code executes when the generated _bp.py module is imported.

3

Are projects that only use trusted schemas affected?

The described attack requires a crafted schema, so exposure depends on whether an attacker can influence schemas processed by the project. The provided information does not identify a separate runtime-only trigger.

4

What can be done if upgrading is not immediately possible?

Do not generate or import Python output from untrusted .bitproto schemas. Restrict schema inputs to trusted sources and review string constants for embedded double quotes before generation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203